summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_process.h
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-18 20:58:01 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-18 20:58:01 +0000
commit875ee82945cfb42b16891c2aa5cca7101fc121e4 (patch)
tree87695916e983accc2f7ed06b1339728ffe6d6bb3 /chrome/browser/browser_process.h
parent03de43e619d7b65ec012e21fbcedd8041be5d776 (diff)
downloadchromium_src-875ee82945cfb42b16891c2aa5cca7101fc121e4.zip
chromium_src-875ee82945cfb42b16891c2aa5cca7101fc121e4.tar.gz
chromium_src-875ee82945cfb42b16891c2aa5cca7101fc121e4.tar.bz2
Create a dedicated cache thread and use it to create the
Http cache. BUG=26730 TEST=none Review URL: http://codereview.chromium.org/1989014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47564 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_process.h')
-rw-r--r--chrome/browser/browser_process.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/browser_process.h b/chrome/browser/browser_process.h
index 91614b6..8e05348 100644
--- a/chrome/browser/browser_process.h
+++ b/chrome/browser/browser_process.h
@@ -94,6 +94,9 @@ class BrowserProcess {
// database. History has its own thread since it has much higher traffic.
virtual base::Thread* db_thread() = 0;
+ // Returns the thread that is used for background cache operations.
+ virtual base::Thread* cache_thread() = 0;
+
#if defined(USE_X11)
// Returns the thread that is used to process UI requests in cases where
// we can't route the request to the UI thread. Note that this thread