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

Unified Diff: chrome/browser/sync_file_system/drive_backend/list_changes_task.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: rebase 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/list_changes_task.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/list_changes_task.cc b/chrome/browser/sync_file_system/drive_backend/list_changes_task.cc
index 92739047fd09f7c2fca77cef716ca9972eb3e5f5..4deb768c4ab7f6a7c9ed9bb31203d152e45aadaa 100644
--- a/chrome/browser/sync_file_system/drive_backend/list_changes_task.cc
+++ b/chrome/browser/sync_file_system/drive_backend/list_changes_task.cc
@@ -123,13 +123,6 @@ void ListChangesTask::CheckInChangeList(int64 largest_change_id,
SyncStatusCode status =
metadata_database()->UpdateByChangeList(
largest_change_id, change_list_.Pass());
-
- // TODO(tzik): Expand this function.
- DidCheckInChangeList(token.Pass(), status);
-}
-
-void ListChangesTask::DidCheckInChangeList(scoped_ptr<SyncTaskToken> token,
- SyncStatusCode status) {
if (status != SYNC_STATUS_OK) {
SyncTaskManager::NotifyTaskDone(token.Pass(), status);
return;

Powered by Google App Engine
This is Rietveld 408576698