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

Unified Diff: components/dom_distiller/core/fake_distiller.h

Issue 1056633004: Update {virtual,override} to follow C++11 style in components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix logo tracker unittest. Created 5 years, 8 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/fake_distiller.h
diff --git a/components/dom_distiller/core/fake_distiller.h b/components/dom_distiller/core/fake_distiller.h
index ac20a9bc1d5599a9bbafaf065d2eb1a2935e7fcc..87e3e6d12bf73e577659144d97d5de921dccf44d 100644
--- a/components/dom_distiller/core/fake_distiller.h
+++ b/components/dom_distiller/core/fake_distiller.h
@@ -22,8 +22,7 @@ class MockDistillerFactory : public DistillerFactory {
MockDistillerFactory();
virtual ~MockDistillerFactory();
MOCK_METHOD0(CreateDistillerImpl, Distiller*());
- virtual scoped_ptr<Distiller> CreateDistillerForUrl(
- const GURL& unused) override {
+ scoped_ptr<Distiller> CreateDistillerForUrl(const GURL& unused) override {
return scoped_ptr<Distiller>(CreateDistillerImpl());
}
};
@@ -38,14 +37,13 @@ class FakeDistiller : public Distiller {
// "auto-distilling" or calling the provided closure.
explicit FakeDistiller(bool execute_callback,
const base::Closure& distillation_initiated_callback);
- virtual ~FakeDistiller();
+ ~FakeDistiller() override;
MOCK_METHOD0(Die, void());
- virtual void DistillPage(
- const GURL& url,
- scoped_ptr<DistillerPage> distiller_page,
- const DistillationFinishedCallback& article_callback,
- const DistillationUpdateCallback& page_callback) override;
+ void DistillPage(const GURL& url,
+ scoped_ptr<DistillerPage> distiller_page,
+ const DistillationFinishedCallback& article_callback,
+ const DistillationUpdateCallback& page_callback) override;
void RunDistillerCallback(scoped_ptr<DistilledArticleProto> proto);
void RunDistillerUpdateCallback(const ArticleDistillationUpdate& update);
« no previous file with comments | « components/dom_distiller/core/dom_distiller_test_util.h ('k') | components/dom_distiller/core/fake_distiller_page.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698