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

Unified Diff: chrome/browser/sync/engine/resolve_conflicts_command.h

Issue 8637006: [Sync] Make syncer commands avoid posting tasks on threads with no work to do (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments, add tests Created 9 years, 1 month 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/engine/resolve_conflicts_command.h
diff --git a/chrome/browser/sync/engine/resolve_conflicts_command.h b/chrome/browser/sync/engine/resolve_conflicts_command.h
index 1fcdec932f055a7c00394d22d147aa95237d7860..24075938630e7576ea56d92f816d6b331269d87c 100644
--- a/chrome/browser/sync/engine/resolve_conflicts_command.h
+++ b/chrome/browser/sync/engine/resolve_conflicts_command.h
@@ -17,7 +17,10 @@ class ResolveConflictsCommand : public ModelChangingSyncerCommand {
ResolveConflictsCommand();
virtual ~ResolveConflictsCommand();
+ protected:
// ModelChangingSyncerCommand implementation.
+ virtual std::set<ModelSafeGroup> GetGroupsToChange(
+ const sessions::SyncSession& session) const OVERRIDE;
virtual void ModelChangingExecuteImpl(
sessions::SyncSession* session) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698