diff options
author | szym@chromium.org <szym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-26 23:02:39 +0000 |
---|---|---|
committer | szym@chromium.org <szym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-26 23:02:39 +0000 |
commit | fa4b6c35cfd7e06656d44dd8881aebf5b9d0912f (patch) | |
tree | 144d175f3a2957b4954c906ed61e3ce15811d857 /chrome/browser/io_thread.h | |
parent | 519160b0875596d3e950f52acf0fa17d87d96106 (diff) | |
download | chromium_src-fa4b6c35cfd7e06656d44dd8881aebf5b9d0912f.zip chromium_src-fa4b6c35cfd7e06656d44dd8881aebf5b9d0912f.tar.gz chromium_src-fa4b6c35cfd7e06656d44dd8881aebf5b9d0912f.tar.bz2 |
Add policy for disabling the built-in asynchronous DNS client.
Ensure the callback passed to PrefMember::Init is called on the target thread after PrefMember::MoveToThread.
BUG=161381
Review URL: https://chromiumcodereview.appspot.com/11358206
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169521 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/io_thread.h')
-rw-r--r-- | chrome/browser/io_thread.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h index 8ad2453..6dc9dc8 100644 --- a/chrome/browser/io_thread.h +++ b/chrome/browser/io_thread.h @@ -182,6 +182,8 @@ class IOThread : public content::BrowserThreadDelegate { void ChangedToOnTheRecordOnIOThread(); + void UpdateDnsClientEnabled(); + // The NetLog is owned by the browser process, to allow logging from other // threads during shutdown, but is used most frequently on the IOThread. ChromeNetLog* net_log_; @@ -206,6 +208,8 @@ class IOThread : public content::BrowserThreadDelegate { BooleanPrefMember system_enable_referrers_; + BooleanPrefMember dns_client_enabled_; + // Store HTTP Auth-related policies in this thread. std::string auth_schemes_; bool negotiate_disable_cname_lookup_; |