diff options
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/net/connect_interceptor.cc | 3 | ||||
-rw-r--r-- | chrome/browser/net/connect_interceptor.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/net/connect_interceptor.cc b/chrome/browser/net/connect_interceptor.cc index d6e3e33..f695454 100644 --- a/chrome/browser/net/connect_interceptor.cc +++ b/chrome/browser/net/connect_interceptor.cc @@ -100,6 +100,9 @@ ConnectInterceptor::TimedCache::TimedCache(const base::TimeDelta& max_duration) max_duration_(max_duration) { } +// Make Clang compilation happy with explicit destructor. +ConnectInterceptor::TimedCache::~TimedCache() {} + bool ConnectInterceptor::TimedCache::WasRecentlySeen(const GURL& url) { DCHECK_EQ(url.GetWithEmptyPath(), url); // Evict any overly old entries. diff --git a/chrome/browser/net/connect_interceptor.h b/chrome/browser/net/connect_interceptor.h index c1f6177..eca1c17 100644 --- a/chrome/browser/net/connect_interceptor.h +++ b/chrome/browser/net/connect_interceptor.h @@ -44,6 +44,7 @@ class ConnectInterceptor : public net::URLRequest::Interceptor { class TimedCache { public: explicit TimedCache(const base::TimeDelta& max_duration); + ~TimedCache(); // Evicts any entries that have been in the FIFO "too long," and then checks // to see if the given url is (still) in the FIFO cache. |