blob: 5cf28c4379f0e9abb3d5fa0fe503bb27576da2c2 [file] [log] [blame]
Avi Drissman4a8573c2022-09-09 19:35:541// Copyright 2019 The Chromium Authors
Sorin Jianub3059b82019-12-05 20:31:352// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CHROME_UPDATER_ACTION_HANDLER_H_
6#define CHROME_UPDATER_ACTION_HANDLER_H_
7
Sorin Jianu0c01aed2020-03-10 14:42:338#include "base/memory/scoped_refptr.h"
Sorin Jianub3059b82019-12-05 20:31:359#include "build/build_config.h"
10
11namespace update_client {
12class ActionHandler;
13}
14
15namespace updater {
16
17scoped_refptr<update_client::ActionHandler> MakeActionHandler();
18
Xiaohan Wang822cc382022-01-15 19:33:5119#if !BUILDFLAG(IS_WIN)
Sorin Jianub3059b82019-12-05 20:31:3520// TODO(sorin): implement the action handler for other platforms.
21// http://crbug.com/1030863
22inline scoped_refptr<update_client::ActionHandler> MakeActionHandler() {
23 return nullptr;
24}
25#endif
26
27} // namespace updater
28
29#endif // CHROME_UPDATER_ACTION_HANDLER_H_