| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_OPTIONS_OPTIONS_SYNC_SETUP_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_SYNC_SETUP_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_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 // The handler for Javascript messages related to sync setup UI in the options | 10 // The handler for Javascript messages related to sync setup UI in the options |
| 11 // page. | 11 // page. |
| 12 class OptionsSyncSetupHandler : public SyncSetupHandler { | 12 class OptionsSyncSetupHandler : public SyncSetupHandler { |
| 13 public: | 13 public: |
| 14 explicit OptionsSyncSetupHandler(ProfileManager* profile_manager); | 14 explicit OptionsSyncSetupHandler(ProfileManager* profile_manager); |
| 15 virtual ~OptionsSyncSetupHandler(); | 15 virtual ~OptionsSyncSetupHandler(); |
| 16 | 16 |
| 17 protected: | 17 protected: |
| 18 virtual void ShowSetupUI(); | 18 virtual void ShowSetupUI() OVERRIDE; |
| 19 }; | 19 }; |
| 20 | 20 |
| 21 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_SYNC_SETUP_HANDLER_H_ | 21 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_SYNC_SETUP_HANDLER_H_ |
| OLD | NEW |