Avi Drissman | 4a8573c | 2022-09-09 19:35:54 | [diff] [blame] | 1 | // Copyright 2019 The Chromium Authors |
Sorin Jianu | b3059b8 | 2019-12-05 20:31:35 | [diff] [blame] | 2 | // 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 Jianu | 0c01aed | 2020-03-10 14:42:33 | [diff] [blame] | 8 | #include "base/memory/scoped_refptr.h" |
Sorin Jianu | b3059b8 | 2019-12-05 20:31:35 | [diff] [blame] | 9 | #include "build/build_config.h" |
| 10 | |
| 11 | namespace update_client { |
| 12 | class ActionHandler; |
| 13 | } |
| 14 | |
| 15 | namespace updater { |
| 16 | |
| 17 | scoped_refptr<update_client::ActionHandler> MakeActionHandler(); |
| 18 | |
Xiaohan Wang | 822cc38 | 2022-01-15 19:33:51 | [diff] [blame] | 19 | #if !BUILDFLAG(IS_WIN) |
Sorin Jianu | b3059b8 | 2019-12-05 20:31:35 | [diff] [blame] | 20 | // TODO(sorin): implement the action handler for other platforms. |
| 21 | // http://crbug.com/1030863 |
| 22 | inline scoped_refptr<update_client::ActionHandler> MakeActionHandler() { |
| 23 | return nullptr; |
| 24 | } |
| 25 | #endif |
| 26 | |
| 27 | } // namespace updater |
| 28 | |
| 29 | #endif // CHROME_UPDATER_ACTION_HANDLER_H_ |