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

Unified Diff: chrome/browser/chromeos/drive/fileapi/fileapi_worker.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
Index: chrome/browser/chromeos/drive/fileapi/fileapi_worker.h
diff --git a/chrome/browser/chromeos/drive/fileapi/fileapi_worker.h b/chrome/browser/chromeos/drive/fileapi/fileapi_worker.h
index 6894279a28ef861f970bd5f97dc726693168240c..3949d36513ae6cdc59696343461a09a1ac8009c5 100644
--- a/chrome/browser/chromeos/drive/fileapi/fileapi_worker.h
+++ b/chrome/browser/chromeos/drive/fileapi/fileapi_worker.h
@@ -31,10 +31,10 @@ namespace base {
class FilePath;
} // namespace base
-namespace fileapi {
+namespace storage {
struct DirectoryEntry;
class FileSystemURL;
-} // namespace fileapi
+} // namespace storage
namespace drive {
@@ -51,14 +51,13 @@ typedef base::Callback<
const base::File::Info& file_info)> GetFileInfoCallback;
typedef base::Callback<
void(base::File::Error result,
- const std::vector<fileapi::DirectoryEntry>& file_list,
+ const std::vector<storage::DirectoryEntry>& file_list,
bool has_more)> ReadDirectoryCallback;
-typedef base::Callback<
- void(base::File::Error result,
- const base::File::Info& file_info,
- const base::FilePath& snapshot_file_path,
- webkit_blob::ScopedFile::ScopeOutPolicy scope_out_policy)>
- CreateSnapshotFileCallback;
+typedef base::Callback<void(base::File::Error result,
+ const base::File::Info& file_info,
+ const base::FilePath& snapshot_file_path,
+ storage::ScopedFile::ScopeOutPolicy
+ scope_out_policy)> CreateSnapshotFileCallback;
typedef base::Callback<
void(base::File::Error result,
const base::FilePath& snapshot_file_path,
@@ -71,7 +70,7 @@ typedef base::Callback<
// Gets the profile of the Drive entry pointed by |url|. Used as
// FileSystemGetter callback by binding an URL on the IO thread and passing to
// the UI thread.
-FileSystemInterface* GetFileSystemFromUrl(const fileapi::FileSystemURL& url);
+FileSystemInterface* GetFileSystemFromUrl(const storage::FileSystemURL& url);
// Runs |file_system_getter| to obtain the instance of FileSystemInstance,
// and then runs |callback| with it.

Powered by Google App Engine
This is Rietveld 408576698