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