From 18590f24c69ded8500cf6970b4071654cdb22db4 Mon Sep 17 00:00:00 2001 From: "willchan@chromium.org" Date: Fri, 29 Jul 2011 16:41:28 +0000 Subject: Reland r94047 - Make Profile own ProfileIOData. Unfortunately some URLFetchers were still alive. We have to kill them all before we kill the Profiles. BUG=64339 TEST=none Review URL: http://codereview.chromium.org/7533014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94687 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/io_thread.h | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'chrome/browser/io_thread.h') diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h index 6bdd01b..779f4d4 100644 --- a/chrome/browser/io_thread.h +++ b/chrome/browser/io_thread.h @@ -6,7 +6,6 @@ #define CHROME_BROWSER_IO_THREAD_H_ #pragma once -#include #include #include "base/basictypes.h" #include "base/memory/ref_counted.h" @@ -117,21 +116,6 @@ class IOThread : public BrowserProcessSubThread { base::ListValue* referral_list, bool preconnect_enabled); - // Registers |url_request_context_getter| into the IO thread. During - // IOThread::CleanUp(), IOThread will iterate through known getters and - // release their URLRequestContexts. Only called on the IO thread. It does - // not acquire a refcount for |url_request_context_getter|. If - // |url_request_context_getter| is being deleted before IOThread::CleanUp() is - // invoked, then this needs to be balanced with a call to - // UnregisterURLRequestContextGetter(). - void RegisterURLRequestContextGetter( - ChromeURLRequestContextGetter* url_request_context_getter); - - // Unregisters |url_request_context_getter| from the IO thread. Only called - // on the IO thread. - void UnregisterURLRequestContextGetter( - ChromeURLRequestContextGetter* url_request_context_getter); - // Handles changing to On The Record mode, discarding confidential data. void ChangedToOnTheRecord(); @@ -234,11 +218,6 @@ class IOThread : public BrowserProcessSubThread { scoped_refptr system_url_request_context_getter_; - // Keeps track of all live ChromeURLRequestContextGetters, so the - // ChromeURLRequestContexts can be released during - // IOThread::CleanUp(). - std::list url_request_context_getters_; - ScopedRunnableMethodFactory method_factory_; DISALLOW_COPY_AND_ASSIGN(IOThread); -- cgit v1.1