Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / sync / glue / sync_backend_host_mock.h
index 42cfeae..2f233db 100644 (file)
@@ -26,7 +26,7 @@ class SyncBackendHostMock : public SyncBackendHost {
   virtual ~SyncBackendHostMock();
 
   virtual void Initialize(
-      SyncFrontend* frontend,
+      sync_driver::SyncFrontend* frontend,
       scoped_ptr<base::Thread> sync_thread,
       const syncer::WeakHandle<syncer::JsEventHandler>& event_handler,
       const GURL& service_url,
@@ -52,7 +52,8 @@ class SyncBackendHostMock : public SyncBackendHost {
 
   virtual void StopSyncingForShutdown() OVERRIDE;
 
-  virtual scoped_ptr<base::Thread> Shutdown(ShutdownOption option) OVERRIDE;
+  virtual scoped_ptr<base::Thread> Shutdown(syncer::ShutdownReason reason)
+      OVERRIDE;
 
   virtual void UnregisterInvalidationIds() OVERRIDE;
 
@@ -67,12 +68,12 @@ class SyncBackendHostMock : public SyncBackendHost {
 
   virtual void ActivateDataType(
       syncer::ModelType type, syncer::ModelSafeGroup group,
-      ChangeProcessor* change_processor) OVERRIDE;
+      sync_driver::ChangeProcessor* change_processor) OVERRIDE;
   virtual void DeactivateDataType(syncer::ModelType type) OVERRIDE;
 
   virtual syncer::UserShare* GetUserShare() const OVERRIDE;
 
-  virtual scoped_ptr<syncer::SyncCoreProxy> GetSyncCoreProxy() OVERRIDE;
+  virtual scoped_ptr<syncer::SyncContextProxy> GetSyncContextProxy() OVERRIDE;
 
   virtual Status GetDetailedStatus() OVERRIDE;