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

Unified Diff: webkit/browser/fileapi/file_system_file_stream_reader.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: webkit/browser/fileapi/file_system_file_stream_reader.cc
diff --git a/webkit/browser/fileapi/file_system_file_stream_reader.cc b/webkit/browser/fileapi/file_system_file_stream_reader.cc
index 330d011e9102b912feb5650f1232004b1dd9bf7c..aa99ab90070d56c611b02d6e6bfce3bd6c87dc5c 100644
--- a/webkit/browser/fileapi/file_system_file_stream_reader.cc
+++ b/webkit/browser/fileapi/file_system_file_stream_reader.cc
@@ -13,27 +13,24 @@
#include "webkit/browser/fileapi/file_system_context.h"
#include "webkit/browser/fileapi/file_system_operation_runner.h"
-using webkit_blob::FileStreamReader;
+using storage::FileStreamReader;
// TODO(kinuko): Remove this temporary namespace hack after we move both
// blob and fileapi into content namespace.
-namespace webkit_blob {
+namespace storage {
FileStreamReader* FileStreamReader::CreateForFileSystemFile(
- fileapi::FileSystemContext* file_system_context,
- const fileapi::FileSystemURL& url,
+ storage::FileSystemContext* file_system_context,
+ const storage::FileSystemURL& url,
int64 initial_offset,
const base::Time& expected_modification_time) {
- return new fileapi::FileSystemFileStreamReader(
- file_system_context,
- url,
- initial_offset,
- expected_modification_time);
+ return new storage::FileSystemFileStreamReader(
+ file_system_context, url, initial_offset, expected_modification_time);
}
-} // namespace webkit_blob
+} // namespace storage
-namespace fileapi {
+namespace storage {
namespace {
@@ -119,7 +116,7 @@ void FileSystemFileStreamReader::DidCreateSnapshot(
base::File::Error file_error,
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) {
DCHECK(has_pending_create_snapshot_);
DCHECK(!local_file_reader_.get());
has_pending_create_snapshot_ = false;
@@ -140,4 +137,4 @@ void FileSystemFileStreamReader::DidCreateSnapshot(
callback.Run();
}
-} // namespace fileapi
+} // namespace storage
« no previous file with comments | « webkit/browser/fileapi/file_system_file_stream_reader.h ('k') | webkit/browser/fileapi/file_system_file_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698