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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 const std::string& password) override; | 92 const std::string& password) override; |
93 void GoogleSignedOut(const std::string& account_id, | 93 void GoogleSignedOut(const std::string& account_id, |
94 const std::string& username) override; | 94 const std::string& username) override; |
95 | 95 |
96 // TemplateURLServiceObserver implementation. | 96 // TemplateURLServiceObserver implementation. |
97 void OnTemplateURLServiceChanged() override; | 97 void OnTemplateURLServiceChanged() override; |
98 | 98 |
99 // extensions::ExtensionRegistryObserver: | 99 // extensions::ExtensionRegistryObserver: |
100 void OnExtensionLoaded(content::BrowserContext* browser_context, | 100 void OnExtensionLoaded(content::BrowserContext* browser_context, |
101 const extensions::Extension* extension) override; | 101 const extensions::Extension* extension) override; |
102 void OnExtensionUnloaded( | 102 void OnExtensionUnloaded(content::BrowserContext* browser_context, |
103 content::BrowserContext* browser_context, | 103 const extensions::Extension* extension, |
104 const extensions::Extension* extension, | 104 extensions::UnloadedExtensionReason reason) override; |
105 extensions::UnloadedExtensionInfo::Reason reason) override; | |
106 | 105 |
107 // policy::PolicyService::Observer: | 106 // policy::PolicyService::Observer: |
108 void OnPolicyUpdated(const policy::PolicyNamespace& ns, | 107 void OnPolicyUpdated(const policy::PolicyNamespace& ns, |
109 const policy::PolicyMap& previous, | 108 const policy::PolicyMap& previous, |
110 const policy::PolicyMap& current) override; | 109 const policy::PolicyMap& current) override; |
111 #if defined(OS_CHROMEOS) | 110 #if defined(OS_CHROMEOS) |
112 static void DisablePolymerPreloadForTesting(); | 111 static void DisablePolymerPreloadForTesting(); |
113 #endif // defined(OS_CHROMEOS) | 112 #endif // defined(OS_CHROMEOS) |
114 | 113 |
115 private: | 114 private: |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
457 | 456 |
458 // Used to get WeakPtr to self for use on the UI thread. | 457 // Used to get WeakPtr to self for use on the UI thread. |
459 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; | 458 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; |
460 | 459 |
461 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 460 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
462 }; | 461 }; |
463 | 462 |
464 } // namespace options | 463 } // namespace options |
465 | 464 |
466 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 465 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
OLD | NEW |