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 073b8edb1730df43316f671fa0f7dbaa66efeea9..b8cc50dca1b1d653e8bf4d97c205076549ca8915 100644 |
--- a/sync/internal_api/public/sync_manager.h |
+++ b/sync/internal_api/public/sync_manager.h |
@@ -12,11 +12,13 @@ |
#include "base/callback_forward.h" |
#include "base/files/file_path.h" |
#include "base/memory/ref_counted.h" |
+#include "base/memory/scoped_ptr.h" |
#include "base/memory/scoped_vector.h" |
#include "base/task_runner.h" |
#include "base/threading/thread_checker.h" |
#include "google_apis/gaia/oauth2_token_service.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" |
@@ -89,7 +91,7 @@ struct SYNC_EXPORT 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* |
@@ -314,7 +316,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<syncer::InvalidationInterface> invalidation) = 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 |