| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ | 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ |
| 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ | 6 #define EXTENSIONS_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 24 matching lines...) Expand all Loading... |
| 35 content::BrowserContext* context) OVERRIDE; | 35 content::BrowserContext* context) OVERRIDE; |
| 36 virtual content::BrowserContext* GetOriginalContext( | 36 virtual content::BrowserContext* GetOriginalContext( |
| 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 Extension* extension, | 43 const Extension* extension, |
| 44 content::BrowserContext* context) const OVERRIDE; | 44 content::BrowserContext* context) const OVERRIDE; |
| 45 virtual bool IsWebViewRequest(net::URLRequest* request) const OVERRIDE; | |
| 46 virtual net::URLRequestJob* MaybeCreateResourceBundleRequestJob( | 45 virtual net::URLRequestJob* MaybeCreateResourceBundleRequestJob( |
| 47 net::URLRequest* request, | 46 net::URLRequest* request, |
| 48 net::NetworkDelegate* network_delegate, | 47 net::NetworkDelegate* network_delegate, |
| 49 const base::FilePath& directory_path, | 48 const base::FilePath& directory_path, |
| 50 const std::string& content_security_policy, | 49 const std::string& content_security_policy, |
| 51 bool send_cors_header) OVERRIDE; | 50 bool send_cors_header) OVERRIDE; |
| 52 virtual bool AllowCrossRendererResourceLoad( | 51 virtual bool AllowCrossRendererResourceLoad( |
| 53 net::URLRequest* request, | 52 net::URLRequest* request, |
| 54 bool is_incognito, | 53 bool is_incognito, |
| 55 const Extension* extension, | 54 const Extension* extension, |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 | 88 |
| 90 // The PrefService for |browser_context_|. | 89 // The PrefService for |browser_context_|. |
| 91 scoped_ptr<PrefService> prefs_; | 90 scoped_ptr<PrefService> prefs_; |
| 92 | 91 |
| 93 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); | 92 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); |
| 94 }; | 93 }; |
| 95 | 94 |
| 96 } // namespace extensions | 95 } // namespace extensions |
| 97 | 96 |
| 98 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ | 97 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ |
| OLD | NEW |