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

Unified Diff: webkit/fileapi/local_file_system_test_helper.cc

Issue 12223006: Cleanup: Introduce AsyncFileTestHelper for testing with async file/quota operations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed comments Created 7 years, 10 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/local_file_system_test_helper.cc
diff --git a/webkit/fileapi/local_file_system_test_helper.cc b/webkit/fileapi/local_file_system_test_helper.cc
index fe206f1641fe6f5984a5e824a116c32961e3fea6..120f1fe0335479e148900eff0d312ee96942a21b 100644
--- a/webkit/fileapi/local_file_system_test_helper.cc
+++ b/webkit/fileapi/local_file_system_test_helper.cc
@@ -15,7 +15,6 @@
#include "webkit/fileapi/file_system_url.h"
#include "webkit/fileapi/file_system_usage_cache.h"
#include "webkit/fileapi/file_system_util.h"
-#include "webkit/fileapi/file_util_helper.h"
#include "webkit/fileapi/local_file_system_operation.h"
#include "webkit/fileapi/mock_file_system_options.h"
#include "webkit/fileapi/sandbox_mount_point_provider.h"
@@ -124,20 +123,6 @@ FileSystemURL LocalFileSystemTestOriginHelper::CreateURL(const base::FilePath& p
return file_system_context_->CreateCrackedFileSystemURL(origin_, type_, path);
}
-base::PlatformFileError LocalFileSystemTestOriginHelper::SameFileUtilCopy(
- FileSystemOperationContext* context,
- const FileSystemURL& src,
- const FileSystemURL& dest) const {
- return FileUtilHelper::Copy(context, file_util(), file_util(), src, dest);
-}
-
-base::PlatformFileError LocalFileSystemTestOriginHelper::SameFileUtilMove(
- FileSystemOperationContext* context,
- const FileSystemURL& src,
- const FileSystemURL& dest) const {
- return FileUtilHelper::Move(context, file_util(), file_util(), src, dest);
-}
-
int64 LocalFileSystemTestOriginHelper::GetCachedOriginUsage() const {
return file_system_context_->GetQuotaUtil(type_)->GetOriginUsageOnFileThread(
file_system_context_, origin_, type_);

Powered by Google App Engine
This is Rietveld 408576698