summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browsing_data_remover.h
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-06 08:58:16 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-06 08:58:16 +0000
commit3d04ea5e909d831ddc40c1e8d89b21f80cbd353c (patch)
tree23ffc3eb4eac8ff73eab2dde50caea7dc947a329 /chrome/browser/browsing_data_remover.h
parent8de85a60ef3c615360d0c644f7f16f9a13103865 (diff)
downloadchromium_src-3d04ea5e909d831ddc40c1e8d89b21f80cbd353c.zip
chromium_src-3d04ea5e909d831ddc40c1e8d89b21f80cbd353c.tar.gz
chromium_src-3d04ea5e909d831ddc40c1e8d89b21f80cbd353c.tar.bz2
Remove an access to Profile from the IO thread.
Also explicitly hold a reference to the URLRequestContextGetter as long as the task is outstanding on the IO thread. BUG=26893 Review URL: http://codereview.chromium.org/371016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31215 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browsing_data_remover.h')
-rw-r--r--chrome/browser/browsing_data_remover.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/browsing_data_remover.h b/chrome/browser/browsing_data_remover.h
index 73d5e74..320c7d3 100644
--- a/chrome/browser/browsing_data_remover.h
+++ b/chrome/browser/browsing_data_remover.h
@@ -86,7 +86,8 @@ class BrowsingDataRemover : public NotificationObserver {
void ClearedCache();
// Invoked on the IO thread to delete from the cache.
- void ClearCacheOnIOThread(URLRequestContextGetter* context_getter,
+ void ClearCacheOnIOThread(URLRequestContextGetter* main_context_getter,
+ URLRequestContextGetter* media_context_getter,
base::Time delete_begin,
base::Time delete_end);