diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-06 19:03:29 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-06 19:03:29 +0000 |
commit | b2b8b8313cf35d02e038f48f03cb0dd2a56ace0b (patch) | |
tree | 4641fae4757e349cb50097423e85a589ae95a234 /chrome/browser/net/dns_host_info.h | |
parent | ff4db3653c00cd23104ab773db6d97533e786105 (diff) | |
download | chromium_src-b2b8b8313cf35d02e038f48f03cb0dd2a56ace0b.zip chromium_src-b2b8b8313cf35d02e038f48f03cb0dd2a56ace0b.tar.gz chromium_src-b2b8b8313cf35d02e038f48f03cb0dd2a56ace0b.tar.bz2 |
Revert "Clean up dns prefetch code, and also port it."
This reverts commit r9312.
Revert "Fix HostResolver crash when MessageLoop is destroyed during"
This reverts commit r9317.
BUG=5687,6683
TBR=ph
Review URL: http://codereview.chromium.org/21133
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9325 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/net/dns_host_info.h')
-rw-r--r-- | chrome/browser/net/dns_host_info.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/chrome/browser/net/dns_host_info.h b/chrome/browser/net/dns_host_info.h index b9ea157..50c44f3 100644 --- a/chrome/browser/net/dns_host_info.h +++ b/chrome/browser/net/dns_host_info.h @@ -4,8 +4,9 @@ // A DnsHostInfo object is used to store status of a Dns lookup of a specific // hostname. -// It includes progress, from placement in the DnsMaster's queue, to resolution -// by the DNS service as either FOUND or NO_SUCH_NAME. +// It includes progress, from placement in the DnsMaster's queue, to assignment +// to a slave, to resolution by the (blocking) DNS service as either FOUND or +// NO_SUCH_NAME. #ifndef CHROME_BROWSER_NET_DNS_HOST_INFO_H_ #define CHROME_BROWSER_NET_DNS_HOST_INFO_H_ @@ -53,9 +54,9 @@ class DnsHostInfo { enum DnsProcessingState { // When processed by our prefetching system, the states are: PENDING, // Constructor has completed. - QUEUED, // In prefetch queue but not yet being resolved. - ASSIGNED, // Currently being processed. - ASSIGNED_BUT_MARKED, // Needs to be deleted as soon as it's resolved. + QUEUED, // In prefetch queue but not yet assigned to a slave. + ASSIGNED, // Currently being processed by a slave. + ASSIGNED_BUT_MARKED, // Needs to be deleted as soon as slave is done. FOUND, // DNS prefetch search completed. NO_SUCH_NAME, // DNS prefetch search completed. // When processed by the network stack during navigation, the states are: |