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

Unified Diff: chrome/browser/sync_file_system/fake_remote_change_processor.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/fake_remote_change_processor.h
diff --git a/chrome/browser/sync_file_system/fake_remote_change_processor.h b/chrome/browser/sync_file_system/fake_remote_change_processor.h
index 7e5d2470447ba69cb864739e4233de4f18dcd318..cc56d286410e9d3d99f70ebd5e2f1ecf491d3ee2 100644
--- a/chrome/browser/sync_file_system/fake_remote_change_processor.h
+++ b/chrome/browser/sync_file_system/fake_remote_change_processor.h
@@ -17,7 +17,7 @@ namespace base {
class FilePath;
}
-namespace fileapi {
+namespace storage {
class FileSystemURL;
}
@@ -27,38 +27,39 @@ class FileChange;
class FakeRemoteChangeProcessor : public RemoteChangeProcessor {
public:
- typedef std::map<fileapi::FileSystemURL, std::vector<FileChange>,
- fileapi::FileSystemURL::Comparator> URLToFileChangesMap;
- typedef std::map<fileapi::FileSystemURL, FileChangeList,
- fileapi::FileSystemURL::Comparator> URLToFileChangeList;
- typedef std::map<fileapi::FileSystemURL, SyncFileMetadata,
- fileapi::FileSystemURL::Comparator> URLToFileMetadata;
+ typedef std::map<storage::FileSystemURL,
+ std::vector<FileChange>,
+ storage::FileSystemURL::Comparator> URLToFileChangesMap;
+ typedef std::map<storage::FileSystemURL,
+ FileChangeList,
+ storage::FileSystemURL::Comparator> URLToFileChangeList;
+ typedef std::map<storage::FileSystemURL,
+ SyncFileMetadata,
+ storage::FileSystemURL::Comparator> URLToFileMetadata;
FakeRemoteChangeProcessor();
virtual ~FakeRemoteChangeProcessor();
// RemoteChangeProcessor overrides.
virtual void PrepareForProcessRemoteChange(
- const fileapi::FileSystemURL& url,
+ const storage::FileSystemURL& url,
const PrepareChangeCallback& callback) OVERRIDE;
- virtual void ApplyRemoteChange(
- const FileChange& change,
- const base::FilePath& local_path,
- const fileapi::FileSystemURL& url,
- const SyncStatusCallback& callback) OVERRIDE;
+ virtual void ApplyRemoteChange(const FileChange& change,
+ const base::FilePath& local_path,
+ const storage::FileSystemURL& url,
+ const SyncStatusCallback& callback) OVERRIDE;
virtual void FinalizeRemoteSync(
- const fileapi::FileSystemURL& url,
+ const storage::FileSystemURL& url,
bool clear_local_changes,
const base::Closure& completion_callback) OVERRIDE;
virtual void RecordFakeLocalChange(
- const fileapi::FileSystemURL& url,
+ const storage::FileSystemURL& url,
const FileChange& change,
const SyncStatusCallback& callback) OVERRIDE;
- void UpdateLocalFileMetadata(
- const fileapi::FileSystemURL& url,
- const FileChange& change);
- void ClearLocalChanges(const fileapi::FileSystemURL& url);
+ void UpdateLocalFileMetadata(const storage::FileSystemURL& url,
+ const FileChange& change);
+ void ClearLocalChanges(const storage::FileSystemURL& url);
const URLToFileChangesMap& GetAppliedRemoteChanges() const;

Powered by Google App Engine
This is Rietveld 408576698