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

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

Issue 550903002: [SyncFS] Rename BlockingFactor to TaskBlocker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/local_to_remote_syncer.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc b/chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc
index 9fab3281cf106db51d3ede809753eff8e82d9d47..50e048589da91107117070978a2a68df0c112523 100644
--- a/chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc
+++ b/chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc
@@ -249,7 +249,7 @@ void LocalToRemoteSyncer::RunPreflight(scoped_ptr<SyncTaskToken> token) {
void LocalToRemoteSyncer::MoveToBackground(const Continuation& continuation,
scoped_ptr<SyncTaskToken> token) {
- scoped_ptr<BlockingFactor> blocker(new BlockingFactor);
+ scoped_ptr<TaskBlocker> blocker(new TaskBlocker);
blocker->app_id = url_.origin().host();
blocker->paths.push_back(target_path_);
@@ -268,7 +268,7 @@ void LocalToRemoteSyncer::MoveToBackground(const Continuation& continuation,
// Run current task as a background task with |blocker|.
// After the invocation of ContinueAsBackgroundTask
- SyncTaskManager::UpdateBlockingFactor(
+ SyncTaskManager::UpdateTaskBlocker(
token.Pass(), blocker.Pass(),
base::Bind(&LocalToRemoteSyncer::ContinueAsBackgroundTask,
weak_ptr_factory_.GetWeakPtr(),

Powered by Google App Engine
This is Rietveld 408576698