| Index: content/test/test_content_browser_client.cc
|
| diff --git a/content/test/test_content_browser_client.cc b/content/test/test_content_browser_client.cc
|
| index 7b9d3683aa87a683952c509f5fd7399786a2a7dc..9780f275f69f0549cd2d725b4735fd59e1ea536e 100644
|
| --- a/content/test/test_content_browser_client.cc
|
| +++ b/content/test/test_content_browser_client.cc
|
| @@ -8,7 +8,9 @@
|
|
|
| #include "base/files/file_path.h"
|
| #include "base/logging.h"
|
| +#include "content/public/browser/browser_thread.h"
|
| #include "content/test/test_web_contents_view.h"
|
| +#include "net/url_request/url_request_test_util.h"
|
|
|
| namespace content {
|
|
|
| @@ -30,6 +32,13 @@ WebContentsViewPort* TestContentBrowserClient::OverrideCreateWebContentsView(
|
| #endif
|
| }
|
|
|
| +net::URLRequestContextGetter* TestContentBrowserClient::CreateRequestContext(
|
| + BrowserContext* browser_context,
|
| + ProtocolHandlerMap* protocol_handlers) {
|
| + return new net::TestURLRequestContextGetter(
|
| + BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO));
|
| +}
|
| +
|
| base::FilePath TestContentBrowserClient::GetDefaultDownloadDirectory() {
|
| if (!download_dir_.IsValid()) {
|
| bool result = download_dir_.CreateUniqueTempDir();
|
|
|