Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Unified Diff: components/dom_distiller/core/dom_distiller_store_unittest.cc

Issue 666133002: Standardize usage of virtual/override/final in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/dom_distiller/core/dom_distiller_store_unittest.cc
diff --git a/components/dom_distiller/core/dom_distiller_store_unittest.cc b/components/dom_distiller/core/dom_distiller_store_unittest.cc
index b7ebfb3a6b69a00960658a1e0de02ca5fb2885c7..b84f2b0d13082471b1ba393505c9f9eeaa5e1751 100644
--- a/components/dom_distiller/core/dom_distiller_store_unittest.cc
+++ b/components/dom_distiller/core/dom_distiller_store_unittest.cc
@@ -48,7 +48,7 @@ void AddEntry(const ArticleEntry& e, EntryMap* map) {
class FakeSyncErrorFactory : public syncer::SyncErrorFactory {
public:
- virtual syncer::SyncError CreateAndUploadError(
+ syncer::SyncError CreateAndUploadError(
const tracked_objects::Location& location,
const std::string& message) override {
return syncer::SyncError();
@@ -59,15 +59,13 @@ class FakeSyncChangeProcessor : public syncer::SyncChangeProcessor {
public:
explicit FakeSyncChangeProcessor(EntryMap* model) : model_(model) {}
- virtual syncer::SyncDataList GetAllSyncData(
- syncer::ModelType type) const override {
+ syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const override {
ADD_FAILURE() << "FakeSyncChangeProcessor::GetAllSyncData not implemented.";
return syncer::SyncDataList();
}
- virtual SyncError ProcessSyncChanges(
- const tracked_objects::Location&,
- const syncer::SyncChangeList& changes) override {
+ SyncError ProcessSyncChanges(const tracked_objects::Location&,
+ const syncer::SyncChangeList& changes) override {
for (SyncChangeList::const_iterator it = changes.begin();
it != changes.end(); ++it) {
AddEntry(GetEntryFromChange(*it), model_);
« no previous file with comments | « components/dom_distiller/core/dom_distiller_store.h ('k') | components/dom_distiller/webui/dom_distiller_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698