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

Unified Diff: net/disk_cache/disk_cache_test_util.h

Issue 501099: Http cache: Add a test to make sure that the cache... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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/backend_unittest.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 34517)
+++ net/disk_cache/disk_cache_test_util.h (working copy)
@@ -12,7 +12,6 @@
#include "base/task.h"
#include "base/timer.h"
#include "build/build_config.h"
-#include "net/base/test_completion_callback.h"
class FilePath;
@@ -70,24 +69,6 @@
// -----------------------------------------------------------------------
-// Simple callback to process IO completions from the cache. This object is not
-// intended to be used when multiple IO operations are in-flight at the same
-// time.
-class SimpleCallbackTest : public TestCompletionCallback {
- public:
- SimpleCallbackTest() {}
- ~SimpleCallbackTest() {}
-
- // Returns the final result of the IO operation. If |result| is
- // net::ERR_IO_PENDING, it waits for the callback be invoked.
- int GetResult(int result);
-
- private:
- DISALLOW_COPY_AND_ASSIGN(SimpleCallbackTest);
-};
-
-// -----------------------------------------------------------------------
-
// Simple helper to deal with the message loop on a test.
class MessageLoopHelper {
public:
« no previous file with comments | « net/disk_cache/backend_unittest.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