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 55c16461de96cf1651f45fdef825e953d5676bad..36d5263aa46f1ef76b8ef7ae94ba495081da8eba 100644 |
--- a/content/public/test/test_browser_context.cc |
+++ b/content/public/test/test_browser_context.cc |
@@ -66,6 +66,13 @@ void TestBrowserContext::SetPermissionManager( |
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(); |
} |
@@ -83,13 +90,6 @@ 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() { |
return NULL; |
} |