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

Unified Diff: chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc

Issue 560703002: [SyncFS] Expand simple functions to their caller in drive_backend/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@03_context_rename
Patch Set: Created 6 years, 3 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/drive_backend/remote_to_local_syncer.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc b/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc
index 0fd041192d39d4809ead850221627e5c2476c054..e6b7c425a2eb2f93920f143a9914c666e4e33704 100644
--- a/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc
+++ b/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc
@@ -328,13 +328,6 @@ void RemoteToLocalSyncer::DidGetRemoteMetadata(
}
status = metadata_database()->UpdateByFileResource(*entry);
- // TODO(tzik): Expand this function.
- DidUpdateDatabaseForRemoteMetadata(token.Pass(), status);
-}
-
-void RemoteToLocalSyncer::DidUpdateDatabaseForRemoteMetadata(
- scoped_ptr<SyncTaskToken> token,
- SyncStatusCode status) {
if (status != SYNC_STATUS_OK) {
SyncCompleted(token.Pass(), status);
return;
@@ -629,7 +622,6 @@ void RemoteToLocalSyncer::SyncCompleted(scoped_ptr<SyncTaskToken> token,
status = metadata_database()->UpdateTracker(
dirty_tracker_->tracker_id(), updated_details);
- // TODO(tzik): Expand this function.
tzik 2014/09/10 01:38:16 Note: FinalizeSync is called from other places. So
peria 2014/09/10 01:59:01 Acknowledged.
FinalizeSync(token.Pass(), status);
}

Powered by Google App Engine
This is Rietveld 408576698