X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcomponents%2Fdom_distiller%2Fcore%2Fdom_distiller_store.h;h=186c273351d4ed8ce430f36d9953d92b77045eb7;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=7e24f3881afa70e252ff21f095fe3547ca4654cc;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/components/dom_distiller/core/dom_distiller_store.h b/src/components/dom_distiller/core/dom_distiller_store.h index 7e24f38..186c273 100644 --- a/src/components/dom_distiller/core/dom_distiller_store.h +++ b/src/components/dom_distiller/core/dom_distiller_store.h @@ -92,31 +92,30 @@ class DomDistillerStore : public syncer::SyncableService, const std::vector& initial_data, const base::FilePath& database_dir); - virtual ~DomDistillerStore(); + ~DomDistillerStore() override; // DomDistillerStoreInterface implementation. - virtual syncer::SyncableService* GetSyncableService() OVERRIDE; - virtual bool AddEntry(const ArticleEntry& entry) OVERRIDE; - virtual bool UpdateEntry(const ArticleEntry& entry) OVERRIDE; - virtual bool RemoveEntry(const ArticleEntry& entry) OVERRIDE; - virtual bool GetEntryById(const std::string& entry_id, - ArticleEntry* entry) OVERRIDE; - virtual bool GetEntryByUrl(const GURL& url, ArticleEntry* entry) OVERRIDE; - virtual std::vector GetEntries() const OVERRIDE; - virtual void AddObserver(DomDistillerObserver* observer) OVERRIDE; - virtual void RemoveObserver(DomDistillerObserver* observer) OVERRIDE; + syncer::SyncableService* GetSyncableService() override; + bool AddEntry(const ArticleEntry& entry) override; + bool UpdateEntry(const ArticleEntry& entry) override; + bool RemoveEntry(const ArticleEntry& entry) override; + bool GetEntryById(const std::string& entry_id, ArticleEntry* entry) override; + bool GetEntryByUrl(const GURL& url, ArticleEntry* entry) override; + std::vector GetEntries() const override; + void AddObserver(DomDistillerObserver* observer) override; + void RemoveObserver(DomDistillerObserver* observer) override; // syncer::SyncableService implementation. - virtual syncer::SyncMergeResult MergeDataAndStartSyncing( - syncer::ModelType type, const syncer::SyncDataList& initial_sync_data, + syncer::SyncMergeResult MergeDataAndStartSyncing( + syncer::ModelType type, + const syncer::SyncDataList& initial_sync_data, scoped_ptr sync_processor, - scoped_ptr error_handler) OVERRIDE; - virtual void StopSyncing(syncer::ModelType type) OVERRIDE; - virtual syncer::SyncDataList GetAllSyncData( - syncer::ModelType type) const OVERRIDE; - virtual syncer::SyncError ProcessSyncChanges( + scoped_ptr error_handler) override; + void StopSyncing(syncer::ModelType type) override; + syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const override; + syncer::SyncError ProcessSyncChanges( const tracked_objects::Location& from_here, - const syncer::SyncChangeList& change_list) OVERRIDE; + const syncer::SyncChangeList& change_list) override; private: void OnDatabaseInit(bool success);