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 APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ | 5 #ifndef APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ |
6 #define APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ | 6 #define APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "extensions/browser/extensions_browser_client.h" | 9 #include "extensions/browser/extensions_browser_client.h" |
10 | 10 |
(...skipping 26 matching lines...) Expand all Loading... |
37 content::BrowserContext* context) OVERRIDE; | 37 content::BrowserContext* context) OVERRIDE; |
38 virtual bool IsGuestSession(content::BrowserContext* context) const OVERRIDE; | 38 virtual bool IsGuestSession(content::BrowserContext* context) const OVERRIDE; |
39 virtual bool IsExtensionIncognitoEnabled( | 39 virtual bool IsExtensionIncognitoEnabled( |
40 const std::string& extension_id, | 40 const std::string& extension_id, |
41 content::BrowserContext* context) const OVERRIDE; | 41 content::BrowserContext* context) const OVERRIDE; |
42 virtual bool CanExtensionCrossIncognito( | 42 virtual bool CanExtensionCrossIncognito( |
43 const extensions::Extension* extension, | 43 const extensions::Extension* extension, |
44 content::BrowserContext* context) const OVERRIDE; | 44 content::BrowserContext* context) const OVERRIDE; |
45 virtual PrefService* GetPrefServiceForContext( | 45 virtual PrefService* GetPrefServiceForContext( |
46 content::BrowserContext* context) OVERRIDE; | 46 content::BrowserContext* context) OVERRIDE; |
| 47 virtual void GetEarlyExtensionPrefsObservers( |
| 48 content::BrowserContext* context, |
| 49 std::vector<ExtensionPrefsObserver*>* observers) const OVERRIDE; |
47 virtual bool DeferLoadingBackgroundHosts(content::BrowserContext* context) | 50 virtual bool DeferLoadingBackgroundHosts(content::BrowserContext* context) |
48 const OVERRIDE; | 51 const OVERRIDE; |
49 virtual bool IsBackgroundPageAllowed(content::BrowserContext* context) | 52 virtual bool IsBackgroundPageAllowed(content::BrowserContext* context) |
50 const OVERRIDE; | 53 const OVERRIDE; |
51 virtual scoped_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate() | 54 virtual scoped_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate() |
52 OVERRIDE; | 55 OVERRIDE; |
53 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE; | 56 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE; |
54 virtual void PermitExternalProtocolHandler() OVERRIDE; | 57 virtual void PermitExternalProtocolHandler() OVERRIDE; |
55 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE; | 58 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE; |
56 virtual bool IsRunningInForcedAppMode() OVERRIDE; | 59 virtual bool IsRunningInForcedAppMode() OVERRIDE; |
(...skipping 12 matching lines...) Expand all Loading... |
69 | 72 |
70 // The PrefService for |browser_context_|. | 73 // The PrefService for |browser_context_|. |
71 scoped_ptr<PrefService> prefs_; | 74 scoped_ptr<PrefService> prefs_; |
72 | 75 |
73 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); | 76 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); |
74 }; | 77 }; |
75 | 78 |
76 } // namespace extensions | 79 } // namespace extensions |
77 | 80 |
78 #endif // APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ | 81 #endif // APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ |
OLD | NEW |