| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 | 81 |
| 82 // content::NotificationObserver overrides: | 82 // content::NotificationObserver overrides: |
| 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( |
| 92 content::BrowserContext* browser_context, |
| 93 const extensions::Extension* extension) OVERRIDE; |
| 91 | 94 |
| 92 // ExtensionInstallPrompt::Delegate overrides: | 95 // ExtensionInstallPrompt::Delegate overrides: |
| 93 virtual void InstallUIProceed() OVERRIDE; | 96 virtual void InstallUIProceed() OVERRIDE; |
| 94 virtual void InstallUIAbort(bool user_initiated) OVERRIDE; | 97 virtual void InstallUIAbort(bool user_initiated) OVERRIDE; |
| 95 | 98 |
| 96 // content::PageNavigator overrides: | 99 // content::PageNavigator overrides: |
| 97 virtual content::WebContents* OpenURL( | 100 virtual content::WebContents* OpenURL( |
| 98 const content::OpenURLParams& params) OVERRIDE; | 101 const content::OpenURLParams& params) OVERRIDE; |
| 99 | 102 |
| 100 Profile* const profile_; | 103 Profile* const profile_; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 118 | 121 |
| 119 // Listen to extension load notification. | 122 // Listen to extension load notification. |
| 120 ScopedObserver<extensions::ExtensionRegistry, | 123 ScopedObserver<extensions::ExtensionRegistry, |
| 121 extensions::ExtensionRegistryObserver> | 124 extensions::ExtensionRegistryObserver> |
| 122 extension_registry_observer_; | 125 extension_registry_observer_; |
| 123 | 126 |
| 124 DISALLOW_COPY_AND_ASSIGN(ExtensionEnableFlow); | 127 DISALLOW_COPY_AND_ASSIGN(ExtensionEnableFlow); |
| 125 }; | 128 }; |
| 126 | 129 |
| 127 #endif // CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_ENABLE_FLOW_H_ | 130 #endif // CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_ENABLE_FLOW_H_ |
| OLD | NEW |