OLD | NEW |
1 // Copyright (c) 2012 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_BROWSER_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 76 |
77 // OptionsPageUIHandler implementation. | 77 // OptionsPageUIHandler implementation. |
78 void GetLocalizedValues(base::DictionaryValue* values) override; | 78 void GetLocalizedValues(base::DictionaryValue* values) override; |
79 void PageLoadStarted() override; | 79 void PageLoadStarted() override; |
80 void InitializeHandler() override; | 80 void InitializeHandler() override; |
81 void InitializePage() override; | 81 void InitializePage() override; |
82 void RegisterMessages() override; | 82 void RegisterMessages() override; |
83 void Uninitialize() override; | 83 void Uninitialize() override; |
84 | 84 |
85 // syncer::SyncServiceObserver implementation. | 85 // syncer::SyncServiceObserver implementation. |
86 void OnStateChanged() override; | 86 void OnStateChanged(syncer::SyncService* sync) override; |
87 | 87 |
88 // SigninManagerBase::Observer implementation. | 88 // SigninManagerBase::Observer implementation. |
89 void GoogleSigninSucceeded(const std::string& account_id, | 89 void GoogleSigninSucceeded(const std::string& account_id, |
90 const std::string& username, | 90 const std::string& username, |
91 const std::string& password) override; | 91 const std::string& password) override; |
92 void GoogleSignedOut(const std::string& account_id, | 92 void GoogleSignedOut(const std::string& account_id, |
93 const std::string& username) override; | 93 const std::string& username) override; |
94 | 94 |
95 // TemplateURLServiceObserver implementation. | 95 // TemplateURLServiceObserver implementation. |
96 void OnTemplateURLServiceChanged() override; | 96 void OnTemplateURLServiceChanged() override; |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 | 446 |
447 // Used to get WeakPtr to self for use on the UI thread. | 447 // Used to get WeakPtr to self for use on the UI thread. |
448 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; | 448 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; |
449 | 449 |
450 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 450 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
451 }; | 451 }; |
452 | 452 |
453 } // namespace options | 453 } // namespace options |
454 | 454 |
455 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 455 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
OLD | NEW |