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

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 Client Hint names to match spec 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 37b24d5d7fb7c45a89144e8bcbf15eecd34c05d8..ca932d646a682ace2cfff66b94e84b89c928d3ee 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -636,7 +636,8 @@ void ProfileIOData::LazyInitialize() const {
ChromeNetworkDelegate* network_delegate =
new ChromeNetworkDelegate(
io_thread_globals->extension_event_router_forwarder.get(),
- &enable_referrers_);
+ &enable_referrers_,
+ command_line.HasSwitch(switches::kEnableClientHints));
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