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

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

Issue 7719011: Move some files from sync/engine to internal_api (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Refresh the diff and remove unintended change Created 9 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
Index: chrome/browser/sync/engine/sync_scheduler.h
diff --git a/chrome/browser/sync/engine/sync_scheduler.h b/chrome/browser/sync/engine/sync_scheduler.h
index 7a025fb0478b05d9f48d6417c6334e2cbc47e39d..5deb3609b7ac54b8941a74f14b3c58458eaa2531 100644
--- a/chrome/browser/sync/engine/sync_scheduler.h
+++ b/chrome/browser/sync/engine/sync_scheduler.h
@@ -18,7 +18,6 @@
#include "base/task.h"
#include "base/time.h"
#include "base/timer.h"
-#include "chrome/browser/sync/engine/configure_reason.h"
#include "chrome/browser/sync/engine/net/server_connection_manager.h"
#include "chrome/browser/sync/engine/nudge_source.h"
#include "chrome/browser/sync/engine/polling_constants.h"
@@ -90,8 +89,13 @@ class SyncScheduler : public sessions::SyncSession::Delegate,
const base::TimeDelta& delay, NudgeSource source,
const syncable::ModelTypePayloadMap& types_with_payloads,
const tracked_objects::Location& nudge_location);
- void ScheduleConfig(const syncable::ModelTypeBitSet& types,
- sync_api::ConfigureReason reason);
+
+ // Note: The source argument of this function must come from the subset of
+ // GetUpdatesCallerInfo values related to configurations.
+ void ScheduleConfig(
+ const syncable::ModelTypeBitSet& types,
+ sync_pb::GetUpdatesCallerInfo::GetUpdatesSource source);
+
void ScheduleClearUserData();
void ScheduleCleanupDisabledTypes();
« no previous file with comments | « chrome/browser/sync/engine/net/syncapi_server_connection_manager.cc ('k') | chrome/browser/sync/engine/sync_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698