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