From 37744d7a19be163b0b8bde1fbe8873306b1106f1 Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Fri, 28 Aug 2009 14:29:14 +0000 Subject: 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 --- net/base/host_resolver.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'net/base/host_resolver.h') 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 { // 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 { // TODO(eroman): temp hack for http://crbug.com/18373 virtual void Shutdown() = 0; + protected: + HostResolver() { } + + private: DISALLOW_COPY_AND_ASSIGN(HostResolver); }; -- cgit v1.1