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

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

Issue 386523002: [SyncFS] Refine SyncProcessRunner's throttling algorithm for parallel task support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/deque/queue/ Created 6 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/sync_process_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/sync_file_system_service.cc
diff --git a/chrome/browser/sync_file_system/sync_file_system_service.cc b/chrome/browser/sync_file_system/sync_file_system_service.cc
index 20bec892c5a89a0668fd17ac4ec045d0cb55f2a7..bbbd28930f85f1468ee989a5d7918938abacbd82 100644
--- a/chrome/browser/sync_file_system/sync_file_system_service.cc
+++ b/chrome/browser/sync_file_system/sync_file_system_service.cc
@@ -161,8 +161,7 @@ class LocalSyncRunner : public SyncProcessRunner,
OnChangesUpdated(pending_changes);
// Kick other sync runners just in case they're not running.
- GetSyncService()->RunForEachSyncRunners(
- &SyncProcessRunner::ScheduleIfNotRunning);
+ GetSyncService()->RunForEachSyncRunners(&SyncProcessRunner::Schedule);
}
private:
@@ -211,8 +210,7 @@ class RemoteSyncRunner : public SyncProcessRunner,
OnChangesUpdated(pending_changes);
// Kick other sync runners just in case they're not running.
- GetSyncService()->RunForEachSyncRunners(
- &SyncProcessRunner::ScheduleIfNotRunning);
+ GetSyncService()->RunForEachSyncRunners(&SyncProcessRunner::Schedule);
}
virtual void OnRemoteServiceStateUpdated(
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/sync_process_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698