| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 OVERRIDE; | 60 OVERRIDE; |
| 61 virtual void OnRenderViewCreatedForBackgroundPage(ExtensionHost* host) | 61 virtual void OnRenderViewCreatedForBackgroundPage(ExtensionHost* host) |
| 62 OVERRIDE; | 62 OVERRIDE; |
| 63 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE; | 63 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE; |
| 64 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE; | 64 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE; |
| 65 virtual bool IsRunningInForcedAppMode() OVERRIDE; | 65 virtual bool IsRunningInForcedAppMode() OVERRIDE; |
| 66 virtual content::JavaScriptDialogManager* GetJavaScriptDialogManager() | 66 virtual content::JavaScriptDialogManager* GetJavaScriptDialogManager() |
| 67 OVERRIDE; | 67 OVERRIDE; |
| 68 virtual ApiActivityMonitor* GetApiActivityMonitor( | 68 virtual ApiActivityMonitor* GetApiActivityMonitor( |
| 69 content::BrowserContext* context) OVERRIDE; | 69 content::BrowserContext* context) OVERRIDE; |
| 70 virtual std::vector<BrowserContextKeyedServiceFactory*> | 70 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE; |
| 71 GetExtensionSystemDependencies() OVERRIDE; | |
| 72 virtual ExtensionSystem* CreateExtensionSystem( | |
| 73 content::BrowserContext* context) OVERRIDE; | |
| 74 | 71 |
| 75 private: | 72 private: |
| 76 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsBrowserClient>; | 73 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsBrowserClient>; |
| 77 | 74 |
| 78 // Observer for Chrome-specific notifications. | 75 // Observer for Chrome-specific notifications. |
| 79 ChromeNotificationObserver notification_observer_; | 76 ChromeNotificationObserver notification_observer_; |
| 80 | 77 |
| 81 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); | 78 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); |
| 82 }; | 79 }; |
| 83 | 80 |
| 84 } // namespace extensions | 81 } // namespace extensions |
| 85 | 82 |
| 86 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ | 83 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ |
| OLD | NEW |