Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / sync / internal_api / debug_info_event_listener.h
index 15cc0a6..64fd830 100644 (file)
@@ -48,9 +48,10 @@ class SYNC_EXPORT_PRIVATE DebugInfoEventListener
       bool success, ModelTypeSet restored_types) OVERRIDE;
   virtual void OnConnectionStatusChange(
       ConnectionStatus connection_status) OVERRIDE;
-  virtual void OnStopSyncingPermanently() OVERRIDE;
   virtual void OnActionableError(
       const SyncProtocolError& sync_error) OVERRIDE;
+  virtual void OnMigrationRequested(ModelTypeSet types) OVERRIDE;
+  virtual void OnProtocolEvent(const ProtocolEvent& event) OVERRIDE;
 
   // SyncEncryptionHandler::Observer implementation.
   virtual void OnPassphraseRequired(
@@ -72,7 +73,6 @@ class SYNC_EXPORT_PRIVATE DebugInfoEventListener
 
   // Sync manager events.
   void OnNudgeFromDatatype(ModelType datatype);
-  void OnIncomingNotification(const ObjectIdInvalidationMap& invalidations);
 
   // DebugInfoGetter implementation.
   virtual void GetDebugInfo(sync_pb::DebugInfo* debug_info) OVERRIDE;
@@ -95,7 +95,7 @@ class SYNC_EXPORT_PRIVATE DebugInfoEventListener
   FRIEND_TEST_ALL_PREFIXES(DebugInfoEventListenerTest, VerifyClearEvents);
 
   void AddEventToQueue(const sync_pb::DebugEventInfo& event_info);
-  void CreateAndAddEvent(sync_pb::DebugEventInfo::SingletonEventType type);
+  void CreateAndAddEvent(sync_pb::SyncEnums::SingletonDebugEventType type);
 
   typedef std::deque<sync_pb::DebugEventInfo> DebugEventInfoQueue;
   DebugEventInfoQueue events_;