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

Unified Diff: sync/engine/sync_scheduler.h

Issue 10837214: Refactor ModelTypePayloadMap and ObjectIdPayloadMap to StateMaps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test Created 8 years, 4 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 | « sync/engine/download_updates_command_unittest.cc ('k') | sync/engine/sync_scheduler_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/sync_scheduler.h
diff --git a/sync/engine/sync_scheduler.h b/sync/engine/sync_scheduler.h
index 8967a8392483ccf9a4c0484f7b7635cd37ac1c24..702163be491b26888c5e57bcb4c391aa0065f090 100644
--- a/sync/engine/sync_scheduler.h
+++ b/sync/engine/sync_scheduler.h
@@ -12,7 +12,7 @@
#include "base/compiler_specific.h"
#include "base/time.h"
#include "sync/engine/nudge_source.h"
-#include "sync/internal_api/public/base/model_type_payload_map.h"
+#include "sync/internal_api/public/base/model_type_state_map.h"
#include "sync/sessions/sync_session.h"
class MessageLoop;
@@ -90,9 +90,9 @@ class SyncScheduler : public sessions::SyncSession::Delegate {
NudgeSource source,
ModelTypeSet types,
const tracked_objects::Location& nudge_location) = 0;
- virtual void ScheduleNudgeWithPayloadsAsync(
+ virtual void ScheduleNudgeWithStatesAsync(
const base::TimeDelta& delay, NudgeSource source,
- const ModelTypePayloadMap& types_with_payloads,
+ const ModelTypeStateMap& type_state_map,
const tracked_objects::Location& nudge_location) = 0;
// Change status of notifications in the SyncSessionContext.
« no previous file with comments | « sync/engine/download_updates_command_unittest.cc ('k') | sync/engine/sync_scheduler_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698