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

Unified Diff: components/dom_distiller/core/fake_distiller_page.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
« no previous file with comments | « components/dom_distiller/core/fake_distiller.h ('k') | components/dom_distiller/core/viewer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/dom_distiller/core/fake_distiller_page.h
diff --git a/components/dom_distiller/core/fake_distiller_page.h b/components/dom_distiller/core/fake_distiller_page.h
index a3511fad44899a6a153a73a6ca8c485d45d2e70f..f6a0a03c1f514fa49d322e6718bce95b3af58bcb 100644
--- a/components/dom_distiller/core/fake_distiller_page.h
+++ b/components/dom_distiller/core/fake_distiller_page.h
@@ -14,13 +14,13 @@ namespace test {
class MockDistillerPageFactory : public DistillerPageFactory {
public:
MockDistillerPageFactory();
- virtual ~MockDistillerPageFactory();
+ ~MockDistillerPageFactory() override;
MOCK_CONST_METHOD0(CreateDistillerPageImpl, DistillerPage*());
- virtual scoped_ptr<DistillerPage> CreateDistillerPage(
+ scoped_ptr<DistillerPage> CreateDistillerPage(
const gfx::Size& render_view_size) const override {
return scoped_ptr<DistillerPage>(CreateDistillerPageImpl());
}
- virtual scoped_ptr<DistillerPage> CreateDistillerPageWithHandle(
+ scoped_ptr<DistillerPage> CreateDistillerPageWithHandle(
scoped_ptr<SourcePageHandle> handle) const override {
return scoped_ptr<DistillerPage>(CreateDistillerPageImpl());
}
@@ -29,7 +29,7 @@ class MockDistillerPageFactory : public DistillerPageFactory {
class MockDistillerPage : public DistillerPage {
public:
MockDistillerPage();
- virtual ~MockDistillerPage();
+ ~MockDistillerPage() override;
bool StringifyOutput() override { return false; };
bool CreateNewContext() override { return false; };
MOCK_METHOD2(DistillPageImpl,
« no previous file with comments | « components/dom_distiller/core/fake_distiller.h ('k') | components/dom_distiller/core/viewer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698