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

Unified Diff: webkit/browser/fileapi/local_file_system_operation.cc

Issue 15754005: Fix dependency: make file_system_util not depend on FileSystemURL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
« no previous file with comments | « webkit/browser/fileapi/cross_operation_delegate.cc ('k') | webkit/fileapi/file_system_url.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/fileapi/local_file_system_operation.cc
diff --git a/webkit/browser/fileapi/local_file_system_operation.cc b/webkit/browser/fileapi/local_file_system_operation.cc
index 8203e9990fb0c1c954ac2104ddfdd95ba7c155da..4a10db9df19b7d886cb9dfe2a6599d34d7ccf96c 100644
--- a/webkit/browser/fileapi/local_file_system_operation.cc
+++ b/webkit/browser/fileapi/local_file_system_operation.cc
@@ -517,7 +517,7 @@ void LocalFileSystemOperation::CopyFileLocal(
const FileSystemURL& dest_url,
const StatusCallback& callback) {
DCHECK(SetPendingOperationType(kOperationCopy));
- DCHECK(AreSameFileSystem(src_url, dest_url));
+ DCHECK(src_url.IsInSameFileSystem(dest_url));
base::PlatformFileError result = SetUp(src_url, OPERATION_MODE_READ);
if (result == base::PLATFORM_FILE_OK)
@@ -540,7 +540,7 @@ void LocalFileSystemOperation::MoveFileLocal(
const FileSystemURL& dest_url,
const StatusCallback& callback) {
DCHECK(SetPendingOperationType(kOperationMove));
- DCHECK(AreSameFileSystem(src_url, dest_url));
+ DCHECK(src_url.IsInSameFileSystem(dest_url));
base::PlatformFileError result = SetUp(src_url, OPERATION_MODE_WRITE);
if (result == base::PLATFORM_FILE_OK)
« no previous file with comments | « webkit/browser/fileapi/cross_operation_delegate.cc ('k') | webkit/fileapi/file_system_url.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698