| 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 <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 content::BrowserContext* context) OVERRIDE; | 53 content::BrowserContext* context) OVERRIDE; |
| 54 virtual content::BrowserContext* GetOriginalContext( | 54 virtual content::BrowserContext* GetOriginalContext( |
| 55 content::BrowserContext* context) OVERRIDE; | 55 content::BrowserContext* context) OVERRIDE; |
| 56 virtual bool IsGuestSession(content::BrowserContext* context) const OVERRIDE; | 56 virtual bool IsGuestSession(content::BrowserContext* context) const OVERRIDE; |
| 57 virtual bool IsExtensionIncognitoEnabled( | 57 virtual bool IsExtensionIncognitoEnabled( |
| 58 const std::string& extension_id, | 58 const std::string& extension_id, |
| 59 content::BrowserContext* context) const OVERRIDE; | 59 content::BrowserContext* context) const OVERRIDE; |
| 60 virtual bool CanExtensionCrossIncognito( | 60 virtual bool CanExtensionCrossIncognito( |
| 61 const extensions::Extension* extension, | 61 const extensions::Extension* extension, |
| 62 content::BrowserContext* context) const OVERRIDE; | 62 content::BrowserContext* context) const OVERRIDE; |
| 63 virtual bool IsWebViewRequest(net::URLRequest* request) const OVERRIDE; | |
| 64 virtual net::URLRequestJob* MaybeCreateResourceBundleRequestJob( | 63 virtual net::URLRequestJob* MaybeCreateResourceBundleRequestJob( |
| 65 net::URLRequest* request, | 64 net::URLRequest* request, |
| 66 net::NetworkDelegate* network_delegate, | 65 net::NetworkDelegate* network_delegate, |
| 67 const base::FilePath& directory_path, | 66 const base::FilePath& directory_path, |
| 68 const std::string& content_security_policy, | 67 const std::string& content_security_policy, |
| 69 bool send_cors_header) OVERRIDE; | 68 bool send_cors_header) OVERRIDE; |
| 70 virtual bool AllowCrossRendererResourceLoad(net::URLRequest* request, | 69 virtual bool AllowCrossRendererResourceLoad(net::URLRequest* request, |
| 71 bool is_incognito, | 70 bool is_incognito, |
| 72 const Extension* extension, | 71 const Extension* extension, |
| 73 InfoMap* extension_info_map) | 72 InfoMap* extension_info_map) |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 scoped_ptr<ChromeExtensionsAPIClient> api_client_; | 110 scoped_ptr<ChromeExtensionsAPIClient> api_client_; |
| 112 | 111 |
| 113 scoped_ptr<ChromeComponentExtensionResourceManager> resource_manager_; | 112 scoped_ptr<ChromeComponentExtensionResourceManager> resource_manager_; |
| 114 | 113 |
| 115 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); | 114 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); |
| 116 }; | 115 }; |
| 117 | 116 |
| 118 } // namespace extensions | 117 } // namespace extensions |
| 119 | 118 |
| 120 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ | 119 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ |
| OLD | NEW |