Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4730)

Unified Diff: chrome/browser/ui/app_list/test/fake_profile.cc

Issue 1862203005: Remove ContentBrowserClient::CreateRequestContext & CreateRequestContextForStoragePartition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/app_list/test/fake_profile.cc
diff --git a/chrome/browser/ui/app_list/test/fake_profile.cc b/chrome/browser/ui/app_list/test/fake_profile.cc
index 7c278c0fac3d3f3a312edaa83ea64ea75615a93c..22c7c6c20ea06171327b7181381ce214ca4fe14f 100644
--- a/chrome/browser/ui/app_list/test/fake_profile.cc
+++ b/chrome/browser/ui/app_list/test/fake_profile.cc
@@ -86,6 +86,21 @@ content::BackgroundSyncController* FakeProfile::GetBackgroundSyncController() {
return nullptr;
}
+net::URLRequestContextGetter* FakeProfile::CreateRequestContext(
+ content::ProtocolHandlerMap* protocol_handlers,
+ content::URLRequestInterceptorScopedVector request_interceptors) {
+ return nullptr;
+}
+
+net::URLRequestContextGetter*
+FakeProfile::CreateRequestContextForStoragePartition(
+ const base::FilePath& partition_path,
+ bool in_memory,
+ content::ProtocolHandlerMap* protocol_handlers,
+ content::URLRequestInterceptorScopedVector request_interceptors) {
+ return nullptr;
+}
+
scoped_refptr<base::SequencedTaskRunner>
FakeProfile::GetIOTaskRunner() {
return scoped_refptr<base::SequencedTaskRunner>();
@@ -153,21 +168,6 @@ base::Time FakeProfile::GetStartTime() const {
return base::Time();
}
-net::URLRequestContextGetter* FakeProfile::CreateRequestContext(
- content::ProtocolHandlerMap* protocol_handlers,
- content::URLRequestInterceptorScopedVector request_interceptors) {
- return nullptr;
-}
-
-net::URLRequestContextGetter*
-FakeProfile::CreateRequestContextForStoragePartition(
- const base::FilePath& partition_path,
- bool in_memory,
- content::ProtocolHandlerMap* protocol_handlers,
- content::URLRequestInterceptorScopedVector request_interceptors) {
- return nullptr;
-}
-
base::FilePath FakeProfile::last_selected_directory() {
return base::FilePath();
}

Powered by Google App Engine
This is Rietveld 408576698