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

Unified Diff: chrome/browser/sync/engine/apply_updates_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: Sync to head, fix windows compile Created 9 years 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/engine/apply_updates_command.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/engine/apply_updates_command.h
diff --git a/chrome/browser/sync/engine/apply_updates_command.h b/chrome/browser/sync/engine/apply_updates_command.h
index a6c9d2b4f8cec302c87b188f4c8925d0c8ca6852..02a0fc7e8a19520a444662d1e7550ebfbd632c56 100644
--- a/chrome/browser/sync/engine/apply_updates_command.h
+++ b/chrome/browser/sync/engine/apply_updates_command.h
@@ -16,7 +16,11 @@ class ApplyUpdatesCommand : public ModelChangingSyncerCommand {
ApplyUpdatesCommand();
virtual ~ApplyUpdatesCommand();
+ protected:
// ModelChangingSyncerCommand implementation.
+ virtual bool HasCustomGroupsToChange() const OVERRIDE;
+ virtual std::set<ModelSafeGroup> GetGroupsToChange(
+ const sessions::SyncSession& session) const OVERRIDE;
virtual void ModelChangingExecuteImpl(
sessions::SyncSession* session) OVERRIDE;
« no previous file with comments | « no previous file | chrome/browser/sync/engine/apply_updates_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698