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

Unified Diff: webkit/fileapi/file_system_operation_unittest.cc

Issue 6905095: Integrated test with the actual QuotaManager and PathManager. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 8 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: webkit/fileapi/file_system_operation_unittest.cc
diff --git a/webkit/fileapi/file_system_operation_unittest.cc b/webkit/fileapi/file_system_operation_unittest.cc
index d1d31afa27df04a3935b5d5640d66b9beff0ec06..546ea704b222d978f97167676d98b08e403eb439 100644
--- a/webkit/fileapi/file_system_operation_unittest.cc
+++ b/webkit/fileapi/file_system_operation_unittest.cc
@@ -26,8 +26,6 @@ namespace fileapi {
const int kFileOperationStatusNotSet = 1;
const int kFileOperationSucceeded = 0;
-class MockDispatcher;
-
namespace {
class MockQuotaManager : public quota::QuotaManager {
@@ -162,6 +160,8 @@ class FileSystemOperationTest : public testing::Test {
DISALLOW_COPY_AND_ASSIGN(FileSystemOperationTest);
};
+namespace {
+
class MockDispatcher : public FileSystemCallbackDispatcher {
public:
MockDispatcher(FileSystemOperationTest* test) : test_(test) { }
@@ -205,8 +205,6 @@ class MockDispatcher : public FileSystemCallbackDispatcher {
FileSystemOperationTest* test_;
};
-namespace {
-
class MockFileSystemPathManager : public FileSystemPathManager {
public:
MockFileSystemPathManager(const FilePath& filesystem_path)

Powered by Google App Engine
This is Rietveld 408576698