| OLD | NEW |
| 1 // Copyright (c) 2011 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_UI_WEBUI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "chrome/browser/browser_signin.h" | 10 #include "chrome/browser/browser_signin.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 virtual ~PersonalOptionsHandler(); | 25 virtual ~PersonalOptionsHandler(); |
| 26 | 26 |
| 27 // OptionsPageUIHandler implementation. | 27 // OptionsPageUIHandler implementation. |
| 28 virtual void GetLocalizedValues(DictionaryValue* localized_strings); | 28 virtual void GetLocalizedValues(DictionaryValue* localized_strings); |
| 29 virtual void Initialize(); | 29 virtual void Initialize(); |
| 30 | 30 |
| 31 // WebUIMessageHandler implementation. | 31 // WebUIMessageHandler implementation. |
| 32 virtual void RegisterMessages(); | 32 virtual void RegisterMessages(); |
| 33 | 33 |
| 34 // NotificationObserver implementation. | 34 // NotificationObserver implementation. |
| 35 virtual void Observe(NotificationType type, | 35 virtual void Observe(int type, |
| 36 const NotificationSource& source, | 36 const NotificationSource& source, |
| 37 const NotificationDetails& details); | 37 const NotificationDetails& details); |
| 38 | 38 |
| 39 // ProfileSyncServiceObserver implementation. | 39 // ProfileSyncServiceObserver implementation. |
| 40 virtual void OnStateChanged(); | 40 virtual void OnStateChanged(); |
| 41 | 41 |
| 42 // BrowserSignin::SigninDelegate implementation. | 42 // BrowserSignin::SigninDelegate implementation. |
| 43 virtual void OnLoginSuccess(); | 43 virtual void OnLoginSuccess(); |
| 44 virtual void OnLoginFailure(const GoogleServiceAuthError& error); | 44 virtual void OnLoginFailure(const GoogleServiceAuthError& error); |
| 45 | 45 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 57 | 57 |
| 58 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; | 58 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; |
| 59 | 59 |
| 60 // True if the multiprofiles switch is enabled. | 60 // True if the multiprofiles switch is enabled. |
| 61 bool multiprofile_; | 61 bool multiprofile_; |
| 62 | 62 |
| 63 DISALLOW_COPY_AND_ASSIGN(PersonalOptionsHandler); | 63 DISALLOW_COPY_AND_ASSIGN(PersonalOptionsHandler); |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ | 66 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ |
| OLD | NEW |