Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: net/base/host_resolver.h

Issue 556094: Add fine grain tracing to HostResolverImpl.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Add explicit to ctors Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/base/host_resolver.h
===================================================================
--- net/base/host_resolver.h (revision 37608)
+++ net/base/host_resolver.h (working copy)
@@ -147,10 +147,6 @@
// Unregisters an observer previously added by AddObserver().
virtual void RemoveObserver(Observer* observer) = 0;
- // Returns the host cache, or NULL if this implementation does not use
- // a HostCache.
- virtual HostCache* GetHostCache() = 0;
-
// TODO(eroman): temp hack for http://crbug.com/18373
virtual void Shutdown() = 0;
@@ -160,6 +156,8 @@
// AF_INET6 by passing in ADDRESS_FAMILY_IPV6.
virtual void SetDefaultAddressFamily(AddressFamily address_family) {}
+ virtual bool IsHostResolverImpl() { return false; }
willchan no longer on Chromium 2010/02/01 19:31:01 My first gut reaction was "ew". This looks ugly.
eroman 2010/02/01 20:31:25 I agree that this is ugly. Here is my justificatio
willchan no longer on Chromium 2010/02/01 21:27:33 Yes, I'd imagine the incognito consumer would have
+
protected:
friend class base::RefCountedThreadSafe<HostResolver>;

Powered by Google App Engine
This is Rietveld 408576698