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

Unified Diff: content/child/fileapi/file_system_dispatcher.h

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 | « content/browser/storage_partition_impl_unittest.cc ('k') | content/child/fileapi/file_system_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/fileapi/file_system_dispatcher.h
diff --git a/content/child/fileapi/file_system_dispatcher.h b/content/child/fileapi/file_system_dispatcher.h
index 6134607880f84ed4412be58399663725c6396464..e02b2427f5e1350498ff654aa760afbe995766dc 100644
--- a/content/child/fileapi/file_system_dispatcher.h
+++ b/content/child/fileapi/file_system_dispatcher.h
@@ -21,7 +21,7 @@ namespace base {
class FilePath;
}
-namespace fileapi {
+namespace storage {
struct DirectoryEntry;
struct FileSystemInfo;
}
@@ -42,23 +42,22 @@ class FileSystemDispatcher : public IPC::Listener {
const base::File::Info& file_info,
const base::FilePath& platform_path,
int request_id)> CreateSnapshotFileCallback;
- typedef base::Callback<void(
- const std::vector<fileapi::DirectoryEntry>& entries,
- bool has_more)> ReadDirectoryCallback;
+ typedef base::Callback<
+ void(const std::vector<storage::DirectoryEntry>& entries, bool has_more)>
+ ReadDirectoryCallback;
typedef base::Callback<void(
const std::string& name,
const GURL& root)> OpenFileSystemCallback;
- typedef base::Callback<void(
- const fileapi::FileSystemInfo& info,
- const base::FilePath& file_path,
- bool is_directory)> ResolveURLCallback;
+ typedef base::Callback<void(const storage::FileSystemInfo& info,
+ const base::FilePath& file_path,
+ bool is_directory)> ResolveURLCallback;
typedef base::Callback<void(
int64 bytes,
bool complete)> WriteCallback;
- typedef base::Callback<void(
- base::PlatformFile file,
- int file_open_id,
- quota::QuotaLimitType quota_policy)> OpenFileCallback;
+ typedef base::Callback<void(base::PlatformFile file,
+ int file_open_id,
+ storage::QuotaLimitType quota_policy)>
+ OpenFileCallback;
FileSystemDispatcher();
virtual ~FileSystemDispatcher();
@@ -67,14 +66,14 @@ class FileSystemDispatcher : public IPC::Listener {
virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
void OpenFileSystem(const GURL& origin_url,
- fileapi::FileSystemType type,
+ storage::FileSystemType type,
const OpenFileSystemCallback& success_callback,
const StatusCallback& error_callback);
void ResolveURL(const GURL& filesystem_url,
const ResolveURLCallback& success_callback,
const StatusCallback& error_callback);
void DeleteFileSystem(const GURL& origin_url,
- fileapi::FileSystemType type,
+ storage::FileSystemType type,
const StatusCallback& callback);
void Move(const GURL& src_path,
const GURL& dest_path,
@@ -133,7 +132,7 @@ class FileSystemDispatcher : public IPC::Listener {
const std::string& name,
const GURL& root);
void OnDidResolveURL(int request_id,
- const fileapi::FileSystemInfo& info,
+ const storage::FileSystemInfo& info,
const base::FilePath& file_path,
bool is_directory);
void OnDidSucceed(int request_id);
@@ -143,7 +142,7 @@ class FileSystemDispatcher : public IPC::Listener {
const base::File::Info& file_info,
const base::FilePath& platform_path);
void OnDidReadDirectory(int request_id,
- const std::vector<fileapi::DirectoryEntry>& entries,
+ const std::vector<storage::DirectoryEntry>& entries,
bool has_more);
void OnDidFail(int request_id, base::File::Error error_code);
void OnDidWrite(int request_id, int64 bytes, bool complete);
« no previous file with comments | « content/browser/storage_partition_impl_unittest.cc ('k') | content/child/fileapi/file_system_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698