| 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 30 matching lines...) Expand all Loading... |
| 41 virtual bool HasOffTheRecordContext( | 41 virtual bool HasOffTheRecordContext( |
| 42 content::BrowserContext* context) OVERRIDE; | 42 content::BrowserContext* context) OVERRIDE; |
| 43 virtual content::BrowserContext* GetOffTheRecordContext( | 43 virtual content::BrowserContext* GetOffTheRecordContext( |
| 44 content::BrowserContext* context) OVERRIDE; | 44 content::BrowserContext* context) OVERRIDE; |
| 45 virtual content::BrowserContext* GetOriginalContext( | 45 virtual content::BrowserContext* GetOriginalContext( |
| 46 content::BrowserContext* context) OVERRIDE; | 46 content::BrowserContext* context) OVERRIDE; |
| 47 virtual PrefService* GetPrefServiceForContext( | 47 virtual PrefService* GetPrefServiceForContext( |
| 48 content::BrowserContext* context) OVERRIDE; | 48 content::BrowserContext* context) OVERRIDE; |
| 49 virtual bool DeferLoadingBackgroundHosts( | 49 virtual bool DeferLoadingBackgroundHosts( |
| 50 content::BrowserContext* context) const OVERRIDE; | 50 content::BrowserContext* context) const OVERRIDE; |
| 51 virtual bool IsBackgroundPageAllowed( |
| 52 content::BrowserContext* context) const OVERRIDE; |
| 51 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE; | 53 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE; |
| 52 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE; | 54 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE; |
| 53 virtual bool IsRunningInForcedAppMode() OVERRIDE; | 55 virtual bool IsRunningInForcedAppMode() OVERRIDE; |
| 54 virtual content::JavaScriptDialogManager* GetJavaScriptDialogManager() | 56 virtual content::JavaScriptDialogManager* GetJavaScriptDialogManager() |
| 55 OVERRIDE; | 57 OVERRIDE; |
| 56 | 58 |
| 57 private: | 59 private: |
| 58 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsBrowserClient>; | 60 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsBrowserClient>; |
| 59 | 61 |
| 60 // Observer for Chrome-specific notifications. | 62 // Observer for Chrome-specific notifications. |
| 61 ChromeNotificationObserver notification_observer_; | 63 ChromeNotificationObserver notification_observer_; |
| 62 | 64 |
| 63 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); | 65 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); |
| 64 }; | 66 }; |
| 65 | 67 |
| 66 } // namespace extensions | 68 } // namespace extensions |
| 67 | 69 |
| 68 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ | 70 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ |
| OLD | NEW |