diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-29 16:41:28 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-29 16:41:28 +0000 |
commit | 18590f24c69ded8500cf6970b4071654cdb22db4 (patch) | |
tree | 586d5840d97998ec4fe98d9192ef7c8504e3057b /chrome/browser/io_thread.h | |
parent | cfea39e639180ae6b96403c0a80546a6109ba62b (diff) | |
download | chromium_src-18590f24c69ded8500cf6970b4071654cdb22db4.zip chromium_src-18590f24c69ded8500cf6970b4071654cdb22db4.tar.gz chromium_src-18590f24c69ded8500cf6970b4071654cdb22db4.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/io_thread.h')
-rw-r--r-- | chrome/browser/io_thread.h | 21 |
1 files changed, 0 insertions, 21 deletions
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 <list> #include <string> #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<net::URLRequestContextGetter> system_url_request_context_getter_; - // Keeps track of all live ChromeURLRequestContextGetters, so the - // ChromeURLRequestContexts can be released during - // IOThread::CleanUp(). - std::list<ChromeURLRequestContextGetter*> url_request_context_getters_; - ScopedRunnableMethodFactory<IOThread> method_factory_; DISALLOW_COPY_AND_ASSIGN(IOThread); |