| Index: sync/internal_api/public/sync_manager.h
|
| diff --git a/sync/internal_api/public/sync_manager.h b/sync/internal_api/public/sync_manager.h
|
| index 5c9f09f558a46e5206f5a5d82926eeaf3025c567..9eaf19affe85146df8c5c87065556b592e4c7994 100644
|
| --- a/sync/internal_api/public/sync_manager.h
|
| +++ b/sync/internal_api/public/sync_manager.h
|
| @@ -16,6 +16,7 @@
|
| #include "base/task_runner.h"
|
| #include "base/threading/thread_checker.h"
|
| #include "sync/base/sync_export.h"
|
| +#include "sync/internal_api/public/base/invalidation_interface.h"
|
| #include "sync/internal_api/public/base/model_type.h"
|
| #include "sync/internal_api/public/change_record.h"
|
| #include "sync/internal_api/public/configure_reason.h"
|
| @@ -81,7 +82,7 @@ struct SyncCredentials {
|
| //
|
| // Unless stated otherwise, all methods of SyncManager should be called on the
|
| // same thread.
|
| -class SYNC_EXPORT SyncManager : public syncer::InvalidationHandler {
|
| +class SYNC_EXPORT SyncManager {
|
| public:
|
| // An interface the embedding application implements to be notified
|
| // on change events. Note that these methods may be called on *any*
|
| @@ -306,7 +307,8 @@ class SYNC_EXPORT SyncManager : public syncer::InvalidationHandler {
|
|
|
| // Inform the syncer that its cached information about a type is obsolete.
|
| virtual void OnIncomingInvalidation(
|
| - const ObjectIdInvalidationMap& invalidation_map) = 0;
|
| + syncer::ModelType type,
|
| + scoped_ptr<InvalidationInterface> interface) = 0;
|
|
|
| // Adds a listener to be notified of sync events.
|
| // NOTE: It is OK (in fact, it's probably a good idea) to call this before
|
|
|