| 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 <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 // SigninManagerBase::Observer implementation. | 87 // SigninManagerBase::Observer implementation. |
| 88 void GoogleSigninSucceeded(const std::string& account_id, | 88 void GoogleSigninSucceeded(const std::string& account_id, |
| 89 const std::string& username, | 89 const std::string& username, |
| 90 const std::string& password) override; | 90 const std::string& password) override; |
| 91 void GoogleSignedOut(const std::string& account_id, | 91 void GoogleSignedOut(const std::string& account_id, |
| 92 const std::string& username) override; | 92 const std::string& username) override; |
| 93 | 93 |
| 94 // ShellIntegration::DefaultWebClientObserver implementation. | 94 // ShellIntegration::DefaultWebClientObserver implementation. |
| 95 void SetDefaultWebClientUIState( | 95 void SetDefaultWebClientUIState( |
| 96 ShellIntegration::DefaultWebClientUIState state) override; | 96 ShellIntegration::DefaultWebClientUIState state) override; |
| 97 bool IsInteractiveSetDefaultPermitted() override; | |
| 98 | 97 |
| 99 // TemplateURLServiceObserver implementation. | 98 // TemplateURLServiceObserver implementation. |
| 100 void OnTemplateURLServiceChanged() override; | 99 void OnTemplateURLServiceChanged() override; |
| 101 | 100 |
| 102 // extensions::ExtensionRegistryObserver: | 101 // extensions::ExtensionRegistryObserver: |
| 103 void OnExtensionLoaded(content::BrowserContext* browser_context, | 102 void OnExtensionLoaded(content::BrowserContext* browser_context, |
| 104 const extensions::Extension* extension) override; | 103 const extensions::Extension* extension) override; |
| 105 void OnExtensionUnloaded( | 104 void OnExtensionUnloaded( |
| 106 content::BrowserContext* browser_context, | 105 content::BrowserContext* browser_context, |
| 107 const extensions::Extension* extension, | 106 const extensions::Extension* extension, |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 | 410 |
| 412 // Used to get WeakPtr to self for use on the UI thread. | 411 // Used to get WeakPtr to self for use on the UI thread. |
| 413 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; | 412 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; |
| 414 | 413 |
| 415 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 414 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
| 416 }; | 415 }; |
| 417 | 416 |
| 418 } // namespace options | 417 } // namespace options |
| 419 | 418 |
| 420 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 419 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| OLD | NEW |