| Index: chrome/browser/net/url_info.h
|
| diff --git a/chrome/browser/net/url_info.h b/chrome/browser/net/url_info.h
|
| index ddabcae8b507fc0a26dcaed1f2cf74f2ec846e0d..ca5ee1f7af6a3f8d13a4c2d436d2523ab172aa44 100644
|
| --- a/chrome/browser/net/url_info.h
|
| +++ b/chrome/browser/net/url_info.h
|
| @@ -64,14 +64,12 @@ class UrlInfo {
|
| FOUND, // DNS resolution completed.
|
| NO_SUCH_NAME, // DNS resolution completed.
|
| };
|
| - static const base::TimeDelta kMaxNonNetworkDnsLookupDuration;
|
| - // The number of OS cache entries we can guarantee(?) before cache eviction
|
| - // might likely take place.
|
| - static const int kMaxGuaranteedDnsCacheSize = 50;
|
|
|
| typedef std::vector<UrlInfo> UrlInfoTable;
|
|
|
| - static const base::TimeDelta kNullDuration;
|
| + static base::TimeDelta NullDuration() {
|
| + return base::TimeDelta::FromMilliseconds(-1);
|
| + }
|
|
|
| // UrlInfo are usually made by the default constructor during
|
| // initializing of the Predictor's map (of info for Hostnames).
|
| @@ -151,9 +149,6 @@ class UrlInfo {
|
| // Helper function for about:dns printing.
|
| std::string GetAsciiMotivation() const;
|
|
|
| - // The next declaration is non-const to facilitate testing.
|
| - static base::TimeDelta cache_expiration_duration_;
|
| -
|
| // The current state of this instance.
|
| DnsProcessingState state_;
|
|
|
|
|