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

Unified Diff: chrome/browser/profiles/profile_io_data.h

Issue 2841163002: Make ProfileIOData's ProxyService fetch PACs with the main URLRequestContext (Closed)
Patch Set: Minor test cleanup Created 3 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/profiles/profile_io_data.h
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index 34220799e7415da79a2a9d5f4f394c6cf8b4d0da..bcf2db9038713ddbece94419aee047a120de7c5e 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -449,10 +449,16 @@ class ProfileIOData {
// Virtual interface for subtypes to implement:
// --------------------------------------------
+ // Does any necessary addition configuration of the network delegate,
eroman 2017/05/02 21:29:34 additional
mmenke 2017/05/02 21:33:59 Done.
+ // including composing it with other NetworkDelegates, if needed. By default,
+ // just returns the input NetworkDelegate.
+ virtual std::unique_ptr<net::NetworkDelegate> ConfigureNetworkDelegate(
+ IOThread* io_thread,
+ std::unique_ptr<ChromeNetworkDelegate> chrome_network_delegate) const;
+
// Does the actual initialization of the ProfileIOData subtype. Subtypes
// should use the static helper functions above to implement this.
virtual void InitializeInternal(
- std::unique_ptr<ChromeNetworkDelegate> chrome_network_delegate,
ProfileParams* profile_params,
content::ProtocolHandlerMap* protocol_handlers,
content::URLRequestInterceptorScopedVector request_interceptors)

Powered by Google App Engine
This is Rietveld 408576698