Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(434)

Unified Diff: net/tools/crash_cache/crash_cache.cc

Issue 1841863002: Update monet. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/tools/balsa/string_piece_utils.h ('k') | net/tools/disk_cache_memory_test/disk_cache_memory_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/crash_cache/crash_cache.cc
diff --git a/net/tools/crash_cache/crash_cache.cc b/net/tools/crash_cache/crash_cache.cc
index 34eaafabf4b7b1bb8b61204defae3c93d531754b..f92becc55a657870236a9fa03854356be42326f5 100644
--- a/net/tools/crash_cache/crash_cache.cc
+++ b/net/tools/crash_cache/crash_cache.cc
@@ -139,8 +139,8 @@ bool CreateCache(const base::FilePath& path,
disk_cache::Backend** cache,
net::TestCompletionCallback* cb) {
int size = 1024 * 1024;
- disk_cache::BackendImpl* backend = new disk_cache::BackendImpl(
- path, thread->message_loop_proxy().get(), NULL);
+ disk_cache::BackendImpl* backend =
+ new disk_cache::BackendImpl(path, thread->task_runner(), NULL);
backend->SetMaxSize(size);
backend->SetType(net::DISK_CACHE);
backend->SetFlags(disk_cache::kNoRandom);
@@ -265,8 +265,8 @@ int LoadOperations(const base::FilePath& path, RankCrashes action,
DCHECK(action >= disk_cache::INSERT_LOAD_1);
// Work with a tiny index table (16 entries).
- disk_cache::BackendImpl* cache = new disk_cache::BackendImpl(
- path, 0xf, cache_thread->message_loop_proxy().get(), NULL);
+ disk_cache::BackendImpl* cache =
+ new disk_cache::BackendImpl(path, 0xf, cache_thread->task_runner(), NULL);
if (!cache->SetMaxSize(0x100000))
return GENERIC;
« no previous file with comments | « net/tools/balsa/string_piece_utils.h ('k') | net/tools/disk_cache_memory_test/disk_cache_memory_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698