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

Unified Diff: components/dom_distiller/core/distiller_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
« no previous file with comments | « components/dom_distiller/core/distiller.h ('k') | components/dom_distiller/core/distiller_url_fetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/dom_distiller/core/distiller_unittest.cc
diff --git a/components/dom_distiller/core/distiller_unittest.cc b/components/dom_distiller/core/distiller_unittest.cc
index 573818c18022fb07bcbe8b3c9f18e0a55b2054d3..a6ef0197dad65ce4fe3a642195fc206ba09782a4 100644
--- a/components/dom_distiller/core/distiller_unittest.cc
+++ b/components/dom_distiller/core/distiller_unittest.cc
@@ -200,8 +200,8 @@ class TestDistillerURLFetcher : public DistillerURLFetcher {
responses_[kImageURLs[1]] = string(kImageData[1]);
}
- virtual void FetchURL(const string& url,
- const URLFetcherCallback& callback) override {
+ void FetchURL(const string& url,
+ const URLFetcherCallback& callback) override {
ASSERT_FALSE(callback.is_null());
url_ = url;
callback_ = callback;
@@ -228,8 +228,8 @@ class TestDistillerURLFetcherFactory : public DistillerURLFetcherFactory {
public:
TestDistillerURLFetcherFactory() : DistillerURLFetcherFactory(NULL) {}
- virtual ~TestDistillerURLFetcherFactory() {}
- virtual DistillerURLFetcher* CreateDistillerURLFetcher() const override {
+ ~TestDistillerURLFetcherFactory() override {}
+ DistillerURLFetcher* CreateDistillerURLFetcher() const override {
return new TestDistillerURLFetcher(false);
}
};
« no previous file with comments | « components/dom_distiller/core/distiller.h ('k') | components/dom_distiller/core/distiller_url_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698