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

Unified Diff: chrome/browser/io_thread.cc

Issue 10911283: Implement 'Do Not Track' header (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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/io_thread.cc
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
index 037868a5eb87d97d30aa7bd0fd0c1de5ce05532d..1dc9a65debc5bd30809ca1baff86d59477c8aab9 100644
--- a/chrome/browser/io_thread.cc
+++ b/chrome/browser/io_thread.cc
@@ -356,8 +356,10 @@ IOThread::IOThread(
gssapi_library_name_ = local_state->GetString(prefs::kGSSAPILibraryName);
pref_proxy_config_tracker_.reset(
ProxyServiceFactory::CreatePrefProxyConfigTracker(local_state));
- ChromeNetworkDelegate::InitializeReferrersEnabled(&system_enable_referrers_,
- local_state);
+ ChromeNetworkDelegate::InitializePrefsOnUIThread(
+ &system_enable_referrers_,
+ NULL,
+ local_state);
ssl_config_service_manager_.reset(
SSLConfigServiceManager::CreateDefaultManager(local_state));
@@ -431,6 +433,7 @@ void IOThread::Init() {
NULL,
NULL,
&system_enable_referrers_,
+ NULL,
NULL);
if (command_line.HasSwitch(switches::kDisableExtensionsHttpThrottling))
network_delegate->NeverThrottleRequests();

Powered by Google App Engine
This is Rietveld 408576698