| 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 #include "extensions/browser/test_extensions_browser_client.h" | 5 #include "extensions/browser/test_extensions_browser_client.h" |
| 6 | 6 |
| 7 #include "content/public/browser/browser_context.h" | 7 #include "content/public/browser/browser_context.h" |
| 8 #include "extensions/browser/app_sorting.h" | 8 #include "extensions/browser/app_sorting.h" |
| 9 #include "extensions/browser/extension_host_delegate.h" | 9 #include "extensions/browser/extension_host_delegate.h" |
| 10 | 10 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 content::BrowserContext* context) const { | 76 content::BrowserContext* context) const { |
| 77 return false; | 77 return false; |
| 78 } | 78 } |
| 79 | 79 |
| 80 bool TestExtensionsBrowserClient::CanExtensionCrossIncognito( | 80 bool TestExtensionsBrowserClient::CanExtensionCrossIncognito( |
| 81 const extensions::Extension* extension, | 81 const extensions::Extension* extension, |
| 82 content::BrowserContext* context) const { | 82 content::BrowserContext* context) const { |
| 83 return false; | 83 return false; |
| 84 } | 84 } |
| 85 | 85 |
| 86 bool TestExtensionsBrowserClient::IsWebViewRequest( |
| 87 net::URLRequest* request) const { |
| 88 return false; |
| 89 } |
| 90 |
| 86 net::URLRequestJob* | 91 net::URLRequestJob* |
| 87 TestExtensionsBrowserClient::MaybeCreateResourceBundleRequestJob( | 92 TestExtensionsBrowserClient::MaybeCreateResourceBundleRequestJob( |
| 88 net::URLRequest* request, | 93 net::URLRequest* request, |
| 89 net::NetworkDelegate* network_delegate, | 94 net::NetworkDelegate* network_delegate, |
| 90 const base::FilePath& directory_path, | 95 const base::FilePath& directory_path, |
| 91 const std::string& content_security_policy, | 96 const std::string& content_security_policy, |
| 92 bool send_cors_header) { | 97 bool send_cors_header) { |
| 93 return NULL; | 98 return NULL; |
| 94 } | 99 } |
| 95 | 100 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 TestExtensionsBrowserClient::GetExtensionSystemFactory() { | 149 TestExtensionsBrowserClient::GetExtensionSystemFactory() { |
| 145 // Tests requiring an extension system should override this function. | 150 // Tests requiring an extension system should override this function. |
| 146 NOTREACHED(); | 151 NOTREACHED(); |
| 147 return NULL; | 152 return NULL; |
| 148 } | 153 } |
| 149 | 154 |
| 150 void TestExtensionsBrowserClient::RegisterExtensionFunctions( | 155 void TestExtensionsBrowserClient::RegisterExtensionFunctions( |
| 151 ExtensionFunctionRegistry* registry) const {} | 156 ExtensionFunctionRegistry* registry) const {} |
| 152 | 157 |
| 153 } // namespace extensions | 158 } // namespace extensions |
| OLD | NEW |