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

Unified Diff: net/tools/dump_cache/simple_cache_dumper.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
Index: net/tools/dump_cache/simple_cache_dumper.cc
diff --git a/net/tools/dump_cache/simple_cache_dumper.cc b/net/tools/dump_cache/simple_cache_dumper.cc
index dd5ecbf15f65c010896502d80379468257fa7f06..d38d875fb5acf9cf70e916132066355b0559b713 100644
--- a/net/tools/dump_cache/simple_cache_dumper.cc
+++ b/net/tools/dump_cache/simple_cache_dumper.cc
@@ -9,7 +9,6 @@
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
-#include "base/message_loop/message_loop_proxy.h"
#include "base/threading/thread.h"
#include "net/base/cache_type.h"
#include "net/base/io_buffer.h"
@@ -122,15 +121,8 @@ int SimpleCacheDumper::DoCreateCache() {
DCHECK(!cache_);
state_ = STATE_CREATE_CACHE_COMPLETE;
return disk_cache::CreateCacheBackend(
- DISK_CACHE,
- CACHE_BACKEND_DEFAULT,
- input_path_,
- 0,
- false,
- cache_thread_->message_loop_proxy().get(),
- NULL,
- &cache_,
- io_callback_);
+ DISK_CACHE, CACHE_BACKEND_DEFAULT, input_path_, 0, false,
+ cache_thread_->task_runner(), NULL, &cache_, io_callback_);
}
int SimpleCacheDumper::DoCreateCacheComplete(int rv) {
« no previous file with comments | « net/tools/disk_cache_memory_test/disk_cache_memory_test.cc ('k') | net/tools/dump_cache/url_to_filename_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698