From 631bb742a2798549af691af7357236ce0899b4cb Mon Sep 17 00:00:00 2001 From: "joi@chromium.org" Date: Wed, 2 Nov 2011 11:29:39 +0000 Subject: Move BrowserThread to content namespace. TBR=owners BUG=98716 Review URL: http://codereview.chromium.org/8437002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108270 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/custom_handlers/protocol_handler_registry.cc | 2 ++ chrome/browser/custom_handlers/protocol_handler_registry.h | 4 ++-- chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) (limited to 'chrome/browser/custom_handlers') diff --git a/chrome/browser/custom_handlers/protocol_handler_registry.cc b/chrome/browser/custom_handlers/protocol_handler_registry.cc index dde6e71..c9a727e 100644 --- a/chrome/browser/custom_handlers/protocol_handler_registry.cc +++ b/chrome/browser/custom_handlers/protocol_handler_registry.cc @@ -23,6 +23,8 @@ #include "net/base/network_delegate.h" #include "net/url_request/url_request_redirect_job.h" +using content::BrowserThread; + // ProtocolHandlerRegistry ----------------------------------------------------- ProtocolHandlerRegistry::ProtocolHandlerRegistry(Profile* profile, diff --git a/chrome/browser/custom_handlers/protocol_handler_registry.h b/chrome/browser/custom_handlers/protocol_handler_registry.h index 029801e..98d3e02d 100644 --- a/chrome/browser/custom_handlers/protocol_handler_registry.h +++ b/chrome/browser/custom_handlers/protocol_handler_registry.h @@ -28,8 +28,8 @@ // instances of this class. class ProtocolHandlerRegistry - : public base::RefCountedThreadSafe { + : public base::RefCountedThreadSafe< + ProtocolHandlerRegistry, content::BrowserThread::DeleteOnIOThread> { public: class DefaultClientObserver : public ShellIntegration::DefaultWebClientObserver { diff --git a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc index 168c463..72eac2a 100644 --- a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc +++ b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc @@ -23,6 +23,8 @@ #include "content/test/test_browser_thread.h" #include "net/url_request/url_request.h" +using content::BrowserThread; + namespace { class FakeDelegate : public ProtocolHandlerRegistry::Delegate { -- cgit v1.1