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

Unified Diff: chrome/browser/sync_file_system/local/syncable_file_operation_runner.h

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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_operation_runner.h
diff --git a/chrome/browser/sync_file_system/local/syncable_file_operation_runner.h b/chrome/browser/sync_file_system/local/syncable_file_operation_runner.h
index 5193a80020f184ef43d0e7d79fa84c00d727d89d..f16bb0a3753793c5e0ff21adb6c97bfee7d09062 100644
--- a/chrome/browser/sync_file_system/local/syncable_file_operation_runner.h
+++ b/chrome/browser/sync_file_system/local/syncable_file_operation_runner.h
@@ -14,9 +14,9 @@
#include "base/memory/weak_ptr.h"
#include "base/threading/non_thread_safe.h"
#include "chrome/browser/sync_file_system/local/local_file_sync_status.h"
-#include "webkit/browser/fileapi/file_system_url.h"
+#include "storage/browser/fileapi/file_system_url.h"
-namespace fileapi {
+namespace storage {
class FileSystemURL;
}
@@ -41,7 +41,7 @@ class SyncableFileOperationRunner
protected:
// This is never called after Run() or Cancel() is called.
- virtual const std::vector<fileapi::FileSystemURL>& target_paths() const = 0;
+ virtual const std::vector<storage::FileSystemURL>& target_paths() const = 0;
private:
friend class SyncableFileOperationRunner;
@@ -57,8 +57,8 @@ class SyncableFileOperationRunner
virtual ~SyncableFileOperationRunner();
// LocalFileSyncStatus::Observer overrides.
- virtual void OnSyncEnabled(const fileapi::FileSystemURL& url) OVERRIDE;
- virtual void OnWriteEnabled(const fileapi::FileSystemURL& url) OVERRIDE;
+ virtual void OnSyncEnabled(const storage::FileSystemURL& url) OVERRIDE;
+ virtual void OnWriteEnabled(const storage::FileSystemURL& url) OVERRIDE;
// Runs the given |task| if no sync operation is running on any of
// its target_paths(). This also runs pending tasks that have become
@@ -74,7 +74,7 @@ class SyncableFileOperationRunner
// Called when an operation is completed. This will make |target_paths|
// writable and may start a next runnable task.
void OnOperationCompleted(
- const std::vector<fileapi::FileSystemURL>& target_paths);
+ const std::vector<storage::FileSystemURL>& target_paths);
LocalFileSyncStatus* sync_status() const { return sync_status_; }

Powered by Google App Engine
This is Rietveld 408576698