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

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

Issue 11421197: Implement SyncFileSystemService::GetFileSyncStatus method (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: indent fix Created 8 years 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 274365082ebdf26b32cdc9b83516b4c190f85ca0..fe02431c71effe4ed2f8fe52b2a919fe7d885b74 100644
--- a/chrome/browser/sync_file_system/local_file_sync_service.cc
+++ b/chrome/browser/sync_file_system/local_file_sync_service.cc
@@ -140,6 +140,14 @@ void LocalFileSyncService::ProcessLocalChange(
AsWeakPtr(), processor));
}
+void LocalFileSyncService::HasPendingLocalChanges(
+ const fileapi::FileSystemURL& url,
+ const HasPendingLocalChangeCallback& callback) {
+ DCHECK(ContainsKey(origin_to_contexts_, url.origin()));
+ sync_context_->HasPendingLocalChanges(
+ origin_to_contexts_[url.origin()], url, callback);
+}
+
void LocalFileSyncService::GetLocalFileMetadata(
const fileapi::FileSystemURL& url,
const SyncFileMetadataCallback& callback) {

Powered by Google App Engine
This is Rietveld 408576698