OLD | NEW |
1 // Copyright (c) 2010 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_DOM_UI_OPTIONS_STOP_SYNCING_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_DOM_UI_OPTIONS_STOP_SYNCING_HANDLER_H_ |
6 #define CHROME_BROWSER_DOM_UI_OPTIONS_STOP_SYNCING_HANDLER_H_ | 6 #define CHROME_BROWSER_DOM_UI_OPTIONS_STOP_SYNCING_HANDLER_H_ |
| 7 #pragma once |
7 | 8 |
8 #include "chrome/browser/dom_ui/options/options_ui.h" | 9 #include "chrome/browser/webui/options/stop_syncing_handler.h" |
9 | 10 // TODO(tfarina): remove this file once all includes have been updated. |
10 // Chrome personal stuff stop syncing overlay UI handler. | |
11 class StopSyncingHandler : public OptionsPageUIHandler { | |
12 public: | |
13 StopSyncingHandler(); | |
14 virtual ~StopSyncingHandler(); | |
15 | |
16 // OptionsUIHandler 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 | 11 |
28 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_STOP_SYNCING_HANDLER_H_ | 12 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_STOP_SYNCING_HANDLER_H_ |
OLD | NEW |