summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/backend_impl.cc
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 /net/disk_cache/backend_impl.cc
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 'net/disk_cache/backend_impl.cc')
-rw-r--r--net/disk_cache/backend_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/disk_cache/backend_impl.cc b/net/disk_cache/backend_impl.cc
index d45fb29..84e956f 100644
--- a/net/disk_cache/backend_impl.cc
+++ b/net/disk_cache/backend_impl.cc
@@ -174,8 +174,8 @@ Backend* CreateCacheBackend(const FilePath& full_path, bool force,
}
int CreateCacheBackend(net::CacheType type, const FilePath& path, int max_bytes,
- bool force, MessageLoop* thread, Backend** backend,
- CompletionCallback* callback) {
+ bool force, base::MessageLoopProxy* thread,
+ Backend** backend, CompletionCallback* callback) {
if (type == net::MEMORY_CACHE)
*backend = CreateInMemoryCacheBackend(max_bytes);
else