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_PERSONAL_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_DOM_UI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ |
6 #define CHROME_BROWSER_DOM_UI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_DOM_UI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/browser_signin.h" | 9 #include "chrome/browser/browser_signin.h" |
10 #include "chrome/browser/dom_ui/options/options_ui.h" | 10 #include "chrome/browser/dom_ui/options/options_ui.h" |
11 #include "chrome/browser/sync/profile_sync_service.h" | 11 #include "chrome/browser/sync/profile_sync_service.h" |
(...skipping 28 matching lines...) Expand all Loading... |
40 virtual void OnLoginFailure(const GoogleServiceAuthError& error); | 40 virtual void OnLoginFailure(const GoogleServiceAuthError& error); |
41 | 41 |
42 private: | 42 private: |
43 void ObserveThemeChanged(); | 43 void ObserveThemeChanged(); |
44 void ShowSyncLoginDialog(const ListValue* args); | 44 void ShowSyncLoginDialog(const ListValue* args); |
45 void ThemesReset(const ListValue* args); | 45 void ThemesReset(const ListValue* args); |
46 #if defined(TOOLKIT_GTK) | 46 #if defined(TOOLKIT_GTK) |
47 void ThemesSetGTK(const ListValue* args); | 47 void ThemesSetGTK(const ListValue* args); |
48 #endif | 48 #endif |
49 | 49 |
| 50 // Called when the user updates the set of enabled data types to sync. |args| |
| 51 // is ignored. |
| 52 void OnPreferredDataTypesUpdated(const ListValue* args); |
| 53 |
50 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; | 54 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; |
51 | 55 |
52 DISALLOW_COPY_AND_ASSIGN(PersonalOptionsHandler); | 56 DISALLOW_COPY_AND_ASSIGN(PersonalOptionsHandler); |
53 }; | 57 }; |
54 | 58 |
55 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ | 59 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ |
OLD | NEW |