| Index: content/public/test/test_browser_context.cc
|
| diff --git a/content/public/test/test_browser_context.cc b/content/public/test/test_browser_context.cc
|
| index 36d5263aa46f1ef76b8ef7ae94ba495081da8eba..55c16461de96cf1651f45fdef825e953d5676bad 100644
|
| --- a/content/public/test/test_browser_context.cc
|
| +++ b/content/public/test/test_browser_context.cc
|
| @@ -66,13 +66,6 @@
|
| permission_manager_ = std::move(permission_manager);
|
| }
|
|
|
| -net::URLRequestContextGetter* TestBrowserContext::GetRequestContext() {
|
| - if (!request_context_.get()) {
|
| - request_context_ = new TestContextURLRequestContextGetter();
|
| - }
|
| - return request_context_.get();
|
| -}
|
| -
|
| base::FilePath TestBrowserContext::GetPath() const {
|
| return browser_context_dir_.path();
|
| }
|
| @@ -88,6 +81,13 @@
|
|
|
| DownloadManagerDelegate* TestBrowserContext::GetDownloadManagerDelegate() {
|
| return NULL;
|
| +}
|
| +
|
| +net::URLRequestContextGetter* TestBrowserContext::GetRequestContext() {
|
| + if (!request_context_.get()) {
|
| + request_context_ = new TestContextURLRequestContextGetter();
|
| + }
|
| + return request_context_.get();
|
| }
|
|
|
| net::URLRequestContextGetter* TestBrowserContext::GetMediaRequestContext() {
|
|
|