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

Unified Diff: chrome/browser/sync/engine/process_commit_response_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: Refactor some test code 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/process_commit_response_command.h
diff --git a/chrome/browser/sync/engine/process_commit_response_command.h b/chrome/browser/sync/engine/process_commit_response_command.h
index dd13806b8695f99a680d1554a1795966d0398fdf..bac2a31770e55e7dbe5badc2517c3c8d1c7c7920 100644
--- a/chrome/browser/sync/engine/process_commit_response_command.h
+++ b/chrome/browser/sync/engine/process_commit_response_command.h
@@ -28,8 +28,12 @@ class ProcessCommitResponseCommand : public ModelChangingSyncerCommand {
ProcessCommitResponseCommand();
virtual ~ProcessCommitResponseCommand();
+ protected:
// ModelChangingSyncerCommand implementation.
- virtual bool ModelNeutralExecuteImpl(sessions::SyncSession* session) OVERRIDE;
+ virtual std::set<ModelSafeGroup> GetGroupsToChange(
+ const sessions::SyncSession& session) const OVERRIDE;
+ virtual bool ModelNeutralExecuteImpl(
+ sessions::SyncSession* session) OVERRIDE;
virtual void ModelChangingExecuteImpl(
sessions::SyncSession* session) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698