OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "content/browser/mock_content_browser_client.h" | 5 #include "content/browser/mock_content_browser_client.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/file_path.h" | 9 #include "base/file_path.h" |
10 #include "content/browser/webui/empty_web_ui_factory.h" | 10 #include "content/browser/webui/empty_web_ui_factory.h" |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 | 244 |
245 FilePath MockContentBrowserClient::GetDefaultDownloadDirectory() { | 245 FilePath MockContentBrowserClient::GetDefaultDownloadDirectory() { |
246 return FilePath(); | 246 return FilePath(); |
247 } | 247 } |
248 | 248 |
249 net::URLRequestContextGetter* | 249 net::URLRequestContextGetter* |
250 MockContentBrowserClient::GetDefaultRequestContextDeprecatedCrBug64339() { | 250 MockContentBrowserClient::GetDefaultRequestContextDeprecatedCrBug64339() { |
251 return NULL; | 251 return NULL; |
252 } | 252 } |
253 | 253 |
| 254 net::URLRequestContextGetter* |
| 255 MockContentBrowserClient::GetSystemRequestContext() { |
| 256 return NULL; |
| 257 } |
| 258 |
254 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 259 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
255 int MockContentBrowserClient::GetCrashSignalFD( | 260 int MockContentBrowserClient::GetCrashSignalFD( |
256 const std::string& process_type) { | 261 const std::string& process_type) { |
257 return -1; | 262 return -1; |
258 } | 263 } |
259 #endif | 264 #endif |
260 | 265 |
261 #if defined(OS_WIN) | 266 #if defined(OS_WIN) |
262 const wchar_t* MockContentBrowserClient::GetResourceDllName() { | 267 const wchar_t* MockContentBrowserClient::GetResourceDllName() { |
263 return NULL; | 268 return NULL; |
264 } | 269 } |
265 #endif | 270 #endif |
266 | 271 |
267 #if defined(USE_NSS) | 272 #if defined(USE_NSS) |
268 crypto::CryptoModuleBlockingPasswordDelegate* | 273 crypto::CryptoModuleBlockingPasswordDelegate* |
269 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 274 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
270 return NULL; | 275 return NULL; |
271 } | 276 } |
272 #endif | 277 #endif |
273 | 278 |
274 } // namespace content | 279 } // namespace content |
OLD | NEW |