OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_OPTIONS_SYNC_SETUP_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_SYNC_SETUP_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_OPTIONS_SYNC_SETUP_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_SYNC_SETUP_HANDLER_H_ |
7 | 7 |
8 #include "chrome/browser/ui/webui/sync_setup_handler.h" | 8 #include "chrome/browser/ui/webui/sync_setup_handler.h" |
9 | 9 |
10 namespace options { | 10 namespace options { |
11 | 11 |
12 // The handler for Javascript messages related to sync setup UI in the options | 12 // The handler for Javascript messages related to sync setup UI in the options |
13 // page. | 13 // page. |
14 class OptionsSyncSetupHandler : public SyncSetupHandler { | 14 class OptionsSyncSetupHandler : public SyncSetupHandler { |
15 public: | 15 public: |
16 explicit OptionsSyncSetupHandler(ProfileManager* profile_manager); | 16 explicit OptionsSyncSetupHandler(ProfileManager* profile_manager); |
17 virtual ~OptionsSyncSetupHandler(); | 17 virtual ~OptionsSyncSetupHandler(); |
18 | 18 |
19 protected: | 19 protected: |
20 virtual void ShowSetupUI() OVERRIDE; | 20 virtual void ShowSetupUI() OVERRIDE; |
21 }; | 21 }; |
22 | 22 |
23 } // namespace options | 23 } // namespace options |
24 | 24 |
25 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_OPTIONS_SYNC_SETUP_HANDLER_H_ | 25 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_SYNC_SETUP_HANDLER_H_ |
OLD | NEW |