| 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_EXTENSIONS_EXTENSION_ENABLE_FLOW_H_ | 5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_ENABLE_FLOW_H_ |
| 6 #define CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_ENABLE_FLOW_H_ | 6 #define CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_ENABLE_FLOW_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 virtual void Observe(int type, | 83 virtual void Observe(int type, |
| 84 const content::NotificationSource& source, | 84 const content::NotificationSource& source, |
| 85 const content::NotificationDetails& details) OVERRIDE; | 85 const content::NotificationDetails& details) OVERRIDE; |
| 86 | 86 |
| 87 // extensions::ExtensionRegistryObserver overrides: | 87 // extensions::ExtensionRegistryObserver overrides: |
| 88 virtual void OnExtensionLoaded( | 88 virtual void OnExtensionLoaded( |
| 89 content::BrowserContext* browser_context, | 89 content::BrowserContext* browser_context, |
| 90 const extensions::Extension* extension) OVERRIDE; | 90 const extensions::Extension* extension) OVERRIDE; |
| 91 virtual void OnExtensionUninstalled( | 91 virtual void OnExtensionUninstalled( |
| 92 content::BrowserContext* browser_context, | 92 content::BrowserContext* browser_context, |
| 93 const extensions::Extension* extension) OVERRIDE; | 93 const extensions::Extension* extension, |
| 94 extensions::UninstallReason reason) OVERRIDE; |
| 94 | 95 |
| 95 // ExtensionInstallPrompt::Delegate overrides: | 96 // ExtensionInstallPrompt::Delegate overrides: |
| 96 virtual void InstallUIProceed() OVERRIDE; | 97 virtual void InstallUIProceed() OVERRIDE; |
| 97 virtual void InstallUIAbort(bool user_initiated) OVERRIDE; | 98 virtual void InstallUIAbort(bool user_initiated) OVERRIDE; |
| 98 | 99 |
| 99 // content::PageNavigator overrides: | 100 // content::PageNavigator overrides: |
| 100 virtual content::WebContents* OpenURL( | 101 virtual content::WebContents* OpenURL( |
| 101 const content::OpenURLParams& params) OVERRIDE; | 102 const content::OpenURLParams& params) OVERRIDE; |
| 102 | 103 |
| 103 Profile* const profile_; | 104 Profile* const profile_; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 121 | 122 |
| 122 // Listen to extension load notification. | 123 // Listen to extension load notification. |
| 123 ScopedObserver<extensions::ExtensionRegistry, | 124 ScopedObserver<extensions::ExtensionRegistry, |
| 124 extensions::ExtensionRegistryObserver> | 125 extensions::ExtensionRegistryObserver> |
| 125 extension_registry_observer_; | 126 extension_registry_observer_; |
| 126 | 127 |
| 127 DISALLOW_COPY_AND_ASSIGN(ExtensionEnableFlow); | 128 DISALLOW_COPY_AND_ASSIGN(ExtensionEnableFlow); |
| 128 }; | 129 }; |
| 129 | 130 |
| 130 #endif // CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_ENABLE_FLOW_H_ | 131 #endif // CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_ENABLE_FLOW_H_ |
| OLD | NEW |