summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/engine/syncer_thread_adapter.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/engine/syncer_thread_adapter.h')
-rw-r--r--chrome/browser/sync/engine/syncer_thread_adapter.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/chrome/browser/sync/engine/syncer_thread_adapter.h b/chrome/browser/sync/engine/syncer_thread_adapter.h
index 5cae8e2..6b234e9 100644
--- a/chrome/browser/sync/engine/syncer_thread_adapter.h
+++ b/chrome/browser/sync/engine/syncer_thread_adapter.h
@@ -7,6 +7,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
+#include "base/tracked.h"
#include "chrome/browser/sync/engine/net/server_connection_manager.h"
#include "chrome/browser/sync/engine/syncer_thread.h"
#include "chrome/browser/sync/engine/syncer_thread2.h"
@@ -29,15 +30,18 @@ class SyncerThreadAdapter {
bool RequestPause();
bool RequestResume();
void NudgeSyncer(int milliseconds_from_now,
- SyncerThread::NudgeSource source);
+ SyncerThread::NudgeSource source,
+ const tracked_objects::Location& nudge_location);
void NudgeSyncerWithDataTypes(
int milliseconds_from_now,
SyncerThread::NudgeSource source,
- const syncable::ModelTypeBitSet& model_types);
+ const syncable::ModelTypeBitSet& model_types,
+ const tracked_objects::Location& nudge_location);
void NudgeSyncerWithPayloads(
int milliseconds_from_now,
SyncerThread::NudgeSource source,
- const syncable::ModelTypePayloadMap& model_types_with_payloads);
+ const syncable::ModelTypePayloadMap& model_types_with_payloads,
+ const tracked_objects::Location& nudge_location);
void SetNotificationsEnabled(bool enabled);
void CreateSyncer(const std::string& dirname);