| Index: chrome/browser/ui/webui/invalidations_message_handler.h
|
| diff --git a/chrome/browser/ui/webui/invalidations_message_handler.h b/chrome/browser/ui/webui/invalidations_message_handler.h
|
| index 41d60734fce3b56742064092a858d3277bd78599..de7a979b9c3cb966a15c37d08b120a25e384fbe5 100644
|
| --- a/chrome/browser/ui/webui/invalidations_message_handler.h
|
| +++ b/chrome/browser/ui/webui/invalidations_message_handler.h
|
| @@ -10,6 +10,7 @@
|
| #include "base/values.h"
|
| #include "chrome/browser/invalidation/invalidation_logger_observer.h"
|
| #include "content/public/browser/web_ui_message_handler.h"
|
| +#include "sync/notifier/invalidation_util.h"
|
|
|
| class Profile;
|
|
|
| @@ -17,6 +18,10 @@ namespace invalidation {
|
| class InvalidationLogger;
|
| } // namespace invalidation
|
|
|
| +namespace syncer {
|
| +class InvalidationHandler;
|
| +} // namespace syncer
|
| +
|
| // The implementation for the chrome://invalidations page.
|
| class InvalidationsMessageHandler
|
| : public content::WebUIMessageHandler,
|
| @@ -29,7 +34,8 @@ class InvalidationsMessageHandler
|
| virtual void OnRegistration(const base::DictionaryValue& details) OVERRIDE;
|
| virtual void OnUnregistration(const base::DictionaryValue& details) OVERRIDE;
|
| virtual void OnStateChange(const syncer::InvalidatorState& newState) OVERRIDE;
|
| - virtual void OnUpdateIds(const base::DictionaryValue& details) OVERRIDE;
|
| + virtual void OnUpdateIds(std::string handlerName,
|
| + const syncer::ObjectIdSet& idsSet) OVERRIDE;
|
| virtual void OnDebugMessage(const base::DictionaryValue& details) OVERRIDE;
|
| virtual void OnInvalidation(
|
| const syncer::ObjectIdInvalidationMap& newInvalidations) OVERRIDE;
|
| @@ -41,6 +47,8 @@ class InvalidationsMessageHandler
|
| void UIReady(const base::ListValue* args);
|
|
|
| private:
|
| + scoped_ptr<base::ListValue> ObjectIdSetToList(
|
| + const syncer::ObjectIdSet& idsSet);
|
| // The pointer to the internal InvalidatorService InvalidationLogger.
|
| // Used to get the information necessary to display to the JS and to
|
| // register ourselves as Observers for any notifications.
|
|
|