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

Unified Diff: webkit/browser/fileapi/file_system_operation_runner.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
« no previous file with comments | « webkit/browser/fileapi/file_system_operation_runner.h ('k') | webkit/browser/fileapi/file_system_options.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/fileapi/file_system_operation_runner.cc
diff --git a/webkit/browser/fileapi/file_system_operation_runner.cc b/webkit/browser/fileapi/file_system_operation_runner.cc
index 1d588a77dbd48ee31c4b7090d00433c0e9c22bfa..0644b2fdfd7e11958a39f5e4856ad1d8b806a133 100644
--- a/webkit/browser/fileapi/file_system_operation_runner.cc
+++ b/webkit/browser/fileapi/file_system_operation_runner.cc
@@ -16,7 +16,7 @@
#include "webkit/browser/fileapi/file_writer_delegate.h"
#include "webkit/common/blob/shareable_file_reference.h"
-namespace fileapi {
+namespace storage {
typedef FileSystemOperationRunner::OperationID OperationID;
@@ -238,7 +238,7 @@ OperationID FileSystemOperationRunner::Remove(
OperationID FileSystemOperationRunner::Write(
const net::URLRequestContext* url_request_context,
const FileSystemURL& url,
- scoped_ptr<webkit_blob::BlobDataHandle> blob,
+ scoped_ptr<storage::BlobDataHandle> blob,
int64 offset,
const WriteCallback& callback) {
base::File::Error error = base::File::FILE_OK;
@@ -268,10 +268,8 @@ OperationID FileSystemOperationRunner::Write(
new FileWriterDelegate(writer.Pass(), flush_policy));
scoped_ptr<net::URLRequest> blob_request(
- webkit_blob::BlobProtocolHandler::CreateBlobRequest(
- blob.Pass(),
- url_request_context,
- writer_delegate.get()));
+ storage::BlobProtocolHandler::CreateBlobRequest(
+ blob.Pass(), url_request_context, writer_delegate.get()));
PrepareForWrite(handle.id, url);
operation->Write(
@@ -598,7 +596,7 @@ void FileSystemOperationRunner::DidCreateSnapshot(
base::File::Error rv,
const base::File::Info& file_info,
const base::FilePath& platform_path,
- const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref) {
+ const scoped_refptr<storage::ShareableFileReference>& file_ref) {
if (handle.scope) {
finished_operations_.insert(handle.id);
base::MessageLoopProxy::current()->PostTask(
@@ -686,4 +684,4 @@ void FileSystemOperationRunner::FinishOperation(OperationID id) {
}
}
-} // namespace fileapi
+} // namespace storage
« no previous file with comments | « webkit/browser/fileapi/file_system_operation_runner.h ('k') | webkit/browser/fileapi/file_system_options.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698