| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 content::BrowserContext* context) const OVERRIDE; | 50 content::BrowserContext* context) const OVERRIDE; |
| 51 virtual bool IsBackgroundPageAllowed( | 51 virtual bool IsBackgroundPageAllowed( |
| 52 content::BrowserContext* context) const OVERRIDE; | 52 content::BrowserContext* context) const OVERRIDE; |
| 53 virtual void OnExtensionHostCreated(content::WebContents* web_contents) | 53 virtual void OnExtensionHostCreated(content::WebContents* web_contents) |
| 54 OVERRIDE; | 54 OVERRIDE; |
| 55 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE; | 55 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE; |
| 56 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE; | 56 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE; |
| 57 virtual bool IsRunningInForcedAppMode() OVERRIDE; | 57 virtual bool IsRunningInForcedAppMode() OVERRIDE; |
| 58 virtual content::JavaScriptDialogManager* GetJavaScriptDialogManager() | 58 virtual content::JavaScriptDialogManager* GetJavaScriptDialogManager() |
| 59 OVERRIDE; | 59 OVERRIDE; |
| 60 virtual ApiActivityMonitor* GetApiActivityMonitor( |
| 61 content::BrowserContext* context) OVERRIDE; |
| 60 virtual std::vector<BrowserContextKeyedServiceFactory*> | 62 virtual std::vector<BrowserContextKeyedServiceFactory*> |
| 61 GetExtensionSystemDependencies() OVERRIDE; | 63 GetExtensionSystemDependencies() OVERRIDE; |
| 62 virtual ExtensionSystem* CreateExtensionSystem( | 64 virtual ExtensionSystem* CreateExtensionSystem( |
| 63 content::BrowserContext* context) OVERRIDE; | 65 content::BrowserContext* context) OVERRIDE; |
| 64 | 66 |
| 65 private: | 67 private: |
| 66 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsBrowserClient>; | 68 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsBrowserClient>; |
| 67 | 69 |
| 68 // Observer for Chrome-specific notifications. | 70 // Observer for Chrome-specific notifications. |
| 69 ChromeNotificationObserver notification_observer_; | 71 ChromeNotificationObserver notification_observer_; |
| 70 | 72 |
| 71 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); | 73 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); |
| 72 }; | 74 }; |
| 73 | 75 |
| 74 } // namespace extensions | 76 } // namespace extensions |
| 75 | 77 |
| 76 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ | 78 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ |
| OLD | NEW |