Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Side by Side Diff: chrome/browser/ui/webui/options2/stop_syncing_handler.h

Issue 9814030: get rid of old options pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_OPTIONS2_STOP_SYNCING_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_STOP_SYNCING_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_STOP_SYNCING_HANDLER_H_
7 7
8 #include "chrome/browser/ui/webui/options/options_ui.h" 8 #include "chrome/browser/ui/webui/options2/options_ui2.h"
9
10 namespace options2 {
9 11
10 // Chrome personal stuff stop syncing overlay UI handler. 12 // Chrome personal stuff stop syncing overlay UI handler.
11 class StopSyncingHandler : public OptionsPageUIHandler { 13 class StopSyncingHandler : public OptionsPageUIHandler {
12 public: 14 public:
13 StopSyncingHandler(); 15 StopSyncingHandler();
14 virtual ~StopSyncingHandler(); 16 virtual ~StopSyncingHandler();
15 17
16 // OptionsPageUIHandler implementation. 18 // OptionsPageUIHandler implementation.
17 virtual void GetLocalizedValues( 19 virtual void GetLocalizedValues(
18 base::DictionaryValue* localized_strings) OVERRIDE; 20 base::DictionaryValue* localized_strings) OVERRIDE;
19 21
20 // WebUIMessageHandler implementation. 22 // WebUIMessageHandler implementation.
21 virtual void RegisterMessages() OVERRIDE; 23 virtual void RegisterMessages() OVERRIDE;
22 24
23 private: 25 private:
24 void StopSyncing(const base::ListValue* args); 26 void StopSyncing(const base::ListValue* args);
25 27
26 DISALLOW_COPY_AND_ASSIGN(StopSyncingHandler); 28 DISALLOW_COPY_AND_ASSIGN(StopSyncingHandler);
27 }; 29 };
28 30
29 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_STOP_SYNCING_HANDLER_H_ 31 } // namespace options2
32
33 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_STOP_SYNCING_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698