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

Unified Diff: chrome/browser/sync_file_system/local_file_sync_service.cc

Issue 11234025: Add skeleton code to wire Local- and Remote- file sync services (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 2 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_file_sync_service.cc
diff --git a/chrome/browser/sync_file_system/local_file_sync_service.cc b/chrome/browser/sync_file_system/local_file_sync_service.cc
index 5a9bc2b3cadb9e59923f984df50d7da30016b886..4586861c4604d73745ff63fdeeea74f774e1dfe3 100644
--- a/chrome/browser/sync_file_system/local_file_sync_service.cc
+++ b/chrome/browser/sync_file_system/local_file_sync_service.cc
@@ -6,6 +6,8 @@
#include "content/public/browser/browser_thread.h"
#include "googleurl/src/gurl.h"
+#include "webkit/fileapi/file_system_url.h"
+#include "webkit/fileapi/syncable/file_change.h"
#include "webkit/fileapi/syncable/local_file_sync_context.h"
using content::BrowserThread;
@@ -35,4 +37,27 @@ void LocalFileSyncService::MaybeInitializeFileSystemContext(
app_url, file_system_context, callback);
}
+void LocalFileSyncService::ProcessChange(
+ LocalChangeProcessor* processor,
+ const SyncCompletionCallback& callback) {
+ // TODO(kinuko): implement.
+ NOTIMPLEMENTED();
+}
+
+void LocalFileSyncService::PrepareForProcessRemoteChange(
+ const fileapi::FileSystemURL& url,
+ const PrepareChangeCallback& callback) {
+ // TODO(kinuko): implement.
+ NOTIMPLEMENTED();
+}
+
+void LocalFileSyncService::ApplyRemoteChange(
+ const fileapi::FileChange& change,
+ const FilePath& local_path,
+ const fileapi::FileSystemURL& url,
+ const StatusCallback& callback) {
+ // TODO(kinuko): implement.
+ NOTIMPLEMENTED();
+}
+
} // namespace sync_file_system
« no previous file with comments | « chrome/browser/sync_file_system/local_file_sync_service.h ('k') | chrome/browser/sync_file_system/remote_change_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698