OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_PERSONAL_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_DOM_UI_PERSONAL_OPTIONS_HANDLER_H_ |
6 #define CHROME_BROWSER_DOM_UI_PERSONAL_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_DOM_UI_PERSONAL_OPTIONS_HANDLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/dom_ui/options_ui.h" | 9 #include "chrome/browser/dom_ui/options_ui.h" |
| 10 #include "chrome/browser/sync/profile_sync_service.h" |
10 | 11 |
11 // Chrome personal options page UI handler. | 12 // Chrome personal options page UI handler. |
12 class PersonalOptionsHandler : public OptionsPageUIHandler { | 13 class PersonalOptionsHandler : public OptionsPageUIHandler { |
13 public: | 14 public: |
14 PersonalOptionsHandler(); | 15 PersonalOptionsHandler(); |
15 virtual ~PersonalOptionsHandler(); | 16 virtual ~PersonalOptionsHandler(); |
16 | 17 |
17 // OptionsUIHandler implementation. | 18 // OptionsUIHandler implementation. |
18 virtual void GetLocalizedValues(DictionaryValue* localized_strings); | 19 virtual void GetLocalizedValues(DictionaryValue* localized_strings); |
19 | 20 |
| 21 // DOMMessageHandler implementation. |
| 22 virtual void RegisterMessages(); |
| 23 |
20 private: | 24 private: |
| 25 virtual void SetSyncStatusUIString(const Value* value); |
| 26 |
21 DISALLOW_COPY_AND_ASSIGN(PersonalOptionsHandler); | 27 DISALLOW_COPY_AND_ASSIGN(PersonalOptionsHandler); |
22 }; | 28 }; |
23 | 29 |
24 #endif // CHROME_BROWSER_DOM_UI_PERSONAL_OPTIONS_HANDLER_H_ | 30 #endif // CHROME_BROWSER_DOM_UI_PERSONAL_OPTIONS_HANDLER_H_ |
OLD | NEW |