| 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 #include "extensions/browser/test_runtime_api_delegate.h" | 10 #include "extensions/browser/test_runtime_api_delegate.h" |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 content::BrowserContext* context) const { | 80 content::BrowserContext* context) const { |
| 81 return false; | 81 return false; |
| 82 } | 82 } |
| 83 | 83 |
| 84 bool TestExtensionsBrowserClient::CanExtensionCrossIncognito( | 84 bool TestExtensionsBrowserClient::CanExtensionCrossIncognito( |
| 85 const extensions::Extension* extension, | 85 const extensions::Extension* extension, |
| 86 content::BrowserContext* context) const { | 86 content::BrowserContext* context) const { |
| 87 return false; | 87 return false; |
| 88 } | 88 } |
| 89 | 89 |
| 90 bool TestExtensionsBrowserClient::IsWebViewRequest( | |
| 91 net::URLRequest* request) const { | |
| 92 return false; | |
| 93 } | |
| 94 | |
| 95 net::URLRequestJob* | 90 net::URLRequestJob* |
| 96 TestExtensionsBrowserClient::MaybeCreateResourceBundleRequestJob( | 91 TestExtensionsBrowserClient::MaybeCreateResourceBundleRequestJob( |
| 97 net::URLRequest* request, | 92 net::URLRequest* request, |
| 98 net::NetworkDelegate* network_delegate, | 93 net::NetworkDelegate* network_delegate, |
| 99 const base::FilePath& directory_path, | 94 const base::FilePath& directory_path, |
| 100 const std::string& content_security_policy, | 95 const std::string& content_security_policy, |
| 101 bool send_cors_header) { | 96 bool send_cors_header) { |
| 102 return NULL; | 97 return NULL; |
| 103 } | 98 } |
| 104 | 99 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 void TestExtensionsBrowserClient::BroadcastEventToRenderers( | 165 void TestExtensionsBrowserClient::BroadcastEventToRenderers( |
| 171 const std::string& event_name, | 166 const std::string& event_name, |
| 172 scoped_ptr<base::ListValue> args) { | 167 scoped_ptr<base::ListValue> args) { |
| 173 } | 168 } |
| 174 | 169 |
| 175 net::NetLog* TestExtensionsBrowserClient::GetNetLog() { | 170 net::NetLog* TestExtensionsBrowserClient::GetNetLog() { |
| 176 return NULL; | 171 return NULL; |
| 177 } | 172 } |
| 178 | 173 |
| 179 } // namespace extensions | 174 } // namespace extensions |
| OLD | NEW |