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_STOP_SYNCING_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_STOP_SYNCING_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_STOP_SYNCING_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_STOP_SYNCING_HANDLER_H_ |
7 | 7 |
8 #include "chrome/browser/ui/webui/options/options_ui.h" | 8 #include "chrome/browser/ui/webui/options/options_ui.h" |
9 | 9 |
10 // Chrome personal stuff stop syncing overlay UI handler. | 10 // Chrome personal stuff stop syncing overlay UI handler. |
11 class StopSyncingHandler : public OptionsPageUIHandler { | 11 class StopSyncingHandler : public OptionsPageUIHandler { |
12 public: | 12 public: |
13 StopSyncingHandler(); | 13 StopSyncingHandler(); |
14 virtual ~StopSyncingHandler(); | 14 virtual ~StopSyncingHandler(); |
15 | 15 |
16 // OptionsPageUIHandler implementation. | 16 // OptionsPageUIHandler implementation. |
17 virtual void GetLocalizedValues(DictionaryValue* localized_strings); | 17 virtual void GetLocalizedValues(base::DictionaryValue* localized_strings); |
18 | 18 |
19 // WebUIMessageHandler implementation. | 19 // WebUIMessageHandler implementation. |
20 virtual void RegisterMessages(); | 20 virtual void RegisterMessages(); |
21 | 21 |
22 private: | 22 private: |
23 void StopSyncing(const ListValue* args); | 23 void StopSyncing(const base::ListValue* args); |
24 | 24 |
25 DISALLOW_COPY_AND_ASSIGN(StopSyncingHandler); | 25 DISALLOW_COPY_AND_ASSIGN(StopSyncingHandler); |
26 }; | 26 }; |
27 | 27 |
28 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_STOP_SYNCING_HANDLER_H_ | 28 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_STOP_SYNCING_HANDLER_H_ |
OLD | NEW |