diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-28 14:29:14 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-28 14:29:14 +0000 |
commit | 37744d7a19be163b0b8bde1fbe8873306b1106f1 (patch) | |
tree | 8da57bf982597eef3f3a29bca58018c2f471f5f6 /net/base/host_resolver.h | |
parent | 8dcb077ffe50417e3b446d58b96e79a93eb358ea (diff) | |
download | chromium_src-37744d7a19be163b0b8bde1fbe8873306b1106f1.zip chromium_src-37744d7a19be163b0b8bde1fbe8873306b1106f1.tar.gz chromium_src-37744d7a19be163b0b8bde1fbe8873306b1106f1.tar.bz2 |
Fix access control.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/173507
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24733 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/host_resolver.h')
-rw-r--r-- | net/base/host_resolver.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/base/host_resolver.h b/net/base/host_resolver.h index bc32c55..eecf394 100644 --- a/net/base/host_resolver.h +++ b/net/base/host_resolver.h @@ -93,8 +93,6 @@ class HostResolver : public base::RefCounted<HostResolver> { // Opaque type used to cancel a request. typedef void* RequestHandle; - HostResolver() {} - // If any completion callbacks are pending when the resolver is destroyed, // the host resolutions are cancelled, and the completion callbacks will not // be called. @@ -135,6 +133,10 @@ class HostResolver : public base::RefCounted<HostResolver> { // TODO(eroman): temp hack for http://crbug.com/18373 virtual void Shutdown() = 0; + protected: + HostResolver() { } + + private: DISALLOW_COPY_AND_ASSIGN(HostResolver); }; |