OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_STOP_SYNCING_HANDLER2_H_ | |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_STOP_SYNCING_HANDLER2_H_ | |
7 | |
8 #include "chrome/browser/ui/webui/options2/options_ui2.h" | |
9 | |
10 namespace options2 { | |
11 | |
12 // Chrome personal stuff stop syncing overlay UI handler. | |
13 class StopSyncingHandler : public OptionsPageUIHandler { | |
14 public: | |
15 StopSyncingHandler(); | |
16 virtual ~StopSyncingHandler(); | |
17 | |
18 // OptionsPageUIHandler implementation. | |
19 virtual void GetLocalizedValues( | |
20 base::DictionaryValue* localized_strings) OVERRIDE; | |
21 | |
22 // WebUIMessageHandler implementation. | |
23 virtual void RegisterMessages() OVERRIDE; | |
24 | |
25 private: | |
26 void StopSyncing(const base::ListValue* args); | |
27 | |
28 DISALLOW_COPY_AND_ASSIGN(StopSyncingHandler); | |
29 }; | |
30 | |
31 } // namespace options2 | |
32 | |
33 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_STOP_SYNCING_HANDLER2_H_ | |
OLD | NEW |