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

Unified Diff: net/disk_cache/disk_cache_test_util.h

Issue 17507006: Disk cache v3 ref2 Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Incl IndexTable cl Created 7 years, 1 month 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/disk_cache/disk_cache_test_base.cc ('k') | net/disk_cache/disk_cache_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/disk_cache_test_util.h
===================================================================
--- net/disk_cache/disk_cache_test_util.h (revision 232523)
+++ net/disk_cache/disk_cache_test_util.h (working copy)
@@ -11,6 +11,7 @@
#include "base/message_loop/message_loop.h"
#include "base/timer/timer.h"
#include "base/tuple.h"
+#include "net/base/completion_callback.h"
#include "build/build_config.h"
// Re-creates a given test file inside the cache test folder.
@@ -93,9 +94,12 @@
void Run(int result);
+ const net::CompletionCallback& callback() const { return callback_; }
+
int last_result() const { return last_result_; }
private:
+ net::CompletionCallback callback_;
MessageLoopHelper* helper_;
int reuse_;
int last_result_;
« no previous file with comments | « net/disk_cache/disk_cache_test_base.cc ('k') | net/disk_cache/disk_cache_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698