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

Unified Diff: chrome/browser/sync_file_system/local/syncable_file_system_operation.cc

Issue 492873002: Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single sto… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build Created 6 years, 4 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: chrome/browser/sync_file_system/local/syncable_file_system_operation.cc
diff --git a/chrome/browser/sync_file_system/local/syncable_file_system_operation.cc b/chrome/browser/sync_file_system/local/syncable_file_system_operation.cc
index 459c47b6f60bee942f0f9305cd14124d16fc753c..7e3fecef59edc0632a2b6694468e30f62fc06b5f 100644
--- a/chrome/browser/sync_file_system/local/syncable_file_system_operation.cc
+++ b/chrome/browser/sync_file_system/local/syncable_file_system_operation.cc
@@ -17,7 +17,7 @@
#include "webkit/browser/fileapi/file_writer_delegate.h"
#include "webkit/common/blob/shareable_file_reference.h"
-using fileapi::FileSystemURL;
+using storage::FileSystemURL;
namespace sync_file_system {
@@ -215,7 +215,7 @@ void SyncableFileSystemOperation::Remove(
void SyncableFileSystemOperation::Write(
const FileSystemURL& url,
- scoped_ptr<fileapi::FileWriterDelegate> writer_delegate,
+ scoped_ptr<storage::FileWriterDelegate> writer_delegate,
scoped_ptr<net::URLRequest> blob_request,
const WriteCallback& callback) {
DCHECK(CalledOnValidThread());
@@ -349,10 +349,9 @@ base::File::Error SyncableFileSystemOperation::SyncGetPlatformPath(
SyncableFileSystemOperation::SyncableFileSystemOperation(
const FileSystemURL& url,
- fileapi::FileSystemContext* file_system_context,
- scoped_ptr<fileapi::FileSystemOperationContext> operation_context)
- : url_(url),
- weak_factory_(this) {
+ storage::FileSystemContext* file_system_context,
+ scoped_ptr<storage::FileSystemOperationContext> operation_context)
+ : url_(url), weak_factory_(this) {
DCHECK(file_system_context);
SyncFileSystemBackend* backend =
SyncFileSystemBackend::GetBackend(file_system_context);
@@ -363,7 +362,7 @@ SyncableFileSystemOperation::SyncableFileSystemOperation(
// Returning here to leave operation_runner_ as NULL.
return;
}
- impl_.reset(fileapi::FileSystemOperation::Create(
+ impl_.reset(storage::FileSystemOperation::Create(
url_, file_system_context, operation_context.Pass()));
operation_runner_ = backend->sync_context()->operation_runner();
}

Powered by Google App Engine
This is Rietveld 408576698