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

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

Issue 11970002: Added Client-Hints. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Changed ClientHints to use WeakPtr and addressed comments Created 7 years, 10 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.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index ad50def0b5cf1d9756805df9ef71b53ed862c35d..61f7cd8f7f89f049dde33d56cb5b977e770b7378 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -644,6 +644,8 @@ void ProfileIOData::Init(
new ChromeNetworkDelegate(
io_thread_globals->extension_event_router_forwarder.get(),
&enable_referrers_);
+ if (command_line.HasSwitch(switches::kEnableClientHints))
+ network_delegate->set_enable_client_hints();
network_delegate->set_extension_info_map(profile_params_->extension_info_map);
network_delegate->set_url_blacklist_manager(url_blacklist_manager_.get());
network_delegate->set_profile(profile_params_->profile);

Powered by Google App Engine
This is Rietveld 408576698