diff options
author | jar@google.com <jar@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-27 18:55:52 +0000 |
---|---|---|
committer | jar@google.com <jar@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-27 18:55:52 +0000 |
commit | e8013b3d4636c1921e5f1a5977c3e6fa86eed8d8 (patch) | |
tree | 2598de7a62337cf4b64dfa2303be9c4d0d6b21ac /chrome/browser/net/dns_global.cc | |
parent | b099217a85bd514c1e96764e5d75269cd3c2799c (diff) | |
download | chromium_src-e8013b3d4636c1921e5f1a5977c3e6fa86eed8d8.zip chromium_src-e8013b3d4636c1921e5f1a5977c3e6fa86eed8d8.tar.gz chromium_src-e8013b3d4636c1921e5f1a5977c3e6fa86eed8d8.tar.bz2 |
Cleanup of DNS prefetch related files
I have a separate change list coming to support predictive DNS resolutions,
so I pulled out a pile of mechanical changes (with no semantic changes
intendend).
r=mbelshe
Review URL: http://codereview.chromium.org/8624
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4015 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/net/dns_global.cc')
-rw-r--r-- | chrome/browser/net/dns_global.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/net/dns_global.cc b/chrome/browser/net/dns_global.cc index e19e0b6..a38819e 100644 --- a/chrome/browser/net/dns_global.cc +++ b/chrome/browser/net/dns_global.cc @@ -299,7 +299,7 @@ class OffTheRecordObserver : public NotificationObserver { Lock lock_; int count_off_the_record_windows_; - DISALLOW_EVIL_CONSTRUCTORS(OffTheRecordObserver); + DISALLOW_COPY_AND_ASSIGN(OffTheRecordObserver); }; // TODO(jar): Use static class object so that I don't have to get the @@ -391,9 +391,8 @@ void SaveHostNamesForNextStartup(PrefService* local_state) { PrefetchObserver::SaveStartupListAsPref(local_state); } -// TODO(jar): correct typo in name change ...Pretch... to ...Prefetch... -void DnsPretchHostNamesAtStartup(PrefService* user_prefs, - PrefService* local_state) { +void DnsPrefetchHostNamesAtStartup(PrefService* user_prefs, + PrefService* local_state) { NameList hostnames; // Prefetch DNS for hostnames we learned about during last session. // This may catch secondary hostnames, pulled in by the homepages. It will |