diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-22 22:24:46 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-22 22:24:46 +0000 |
commit | 562d71ef0d9bb578482240982a1f61a94f9f2e29 (patch) | |
tree | e89dc9552fbea182627ab4c6654962be6037df13 /chrome/browser/browser_process_sub_thread.h | |
parent | f7e7babb6098aea4f6fb2b458a79d8f31c68b526 (diff) | |
download | chromium_src-562d71ef0d9bb578482240982a1f61a94f9f2e29.zip chromium_src-562d71ef0d9bb578482240982a1f61a94f9f2e29.tar.gz chromium_src-562d71ef0d9bb578482240982a1f61a94f9f2e29.tar.bz2 |
Release ChromeURLRequestContextGetters' references on IO thread shutdown.
We register all ChromeURLRequestContextGetters that have a reference to a ChromeURLRequestContext with the IOThread. We unregister them when they go away. In IOThread::CleanUp(), we tell the known ChromeURLRequestContextGetters to release their references to ChromeURLRequestContexts.
BUG=58859
TEST=none
Review URL: http://codereview.chromium.org/3686003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63578 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_process_sub_thread.h')
-rw-r--r-- | chrome/browser/browser_process_sub_thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browser_process_sub_thread.h b/chrome/browser/browser_process_sub_thread.h index c2012cd..011cdf0 100644 --- a/chrome/browser/browser_process_sub_thread.h +++ b/chrome/browser/browser_process_sub_thread.h @@ -27,7 +27,7 @@ class BrowserProcessSubThread : public BrowserThread { protected: virtual void Init(); - virtual void CleanUp(); + virtual void CleanUpAfterMessageLoopDestruction(); private: // Each specialized thread has its own notification service. |