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

Unified Diff: content/browser/appcache/appcache_group_unittest.cc

Issue 667943003: Standardize usage of virtual/override/final in content/browser/ (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 | « content/browser/appcache/appcache_group.cc ('k') | content/browser/appcache/appcache_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/appcache/appcache_group_unittest.cc
diff --git a/content/browser/appcache/appcache_group_unittest.cc b/content/browser/appcache/appcache_group_unittest.cc
index 4d01e02bd57a29d302189563c79bc34e1f41bd00..64e321d5525270ba5794564f76f7ea24ab85abe0 100644
--- a/content/browser/appcache/appcache_group_unittest.cc
+++ b/content/browser/appcache/appcache_group_unittest.cc
@@ -22,37 +22,33 @@ class TestAppCacheFrontend : public content::AppCacheFrontend {
last_status_(content::APPCACHE_STATUS_OBSOLETE) {
}
- virtual void OnCacheSelected(
- int host_id, const content::AppCacheInfo& info) override {
+ void OnCacheSelected(int host_id,
+ const content::AppCacheInfo& info) override {
last_host_id_ = host_id;
last_cache_id_ = info.cache_id;
last_status_ = info.status;
}
- virtual void OnStatusChanged(const std::vector<int>& host_ids,
- content::AppCacheStatus status) override {
- }
+ void OnStatusChanged(const std::vector<int>& host_ids,
+ content::AppCacheStatus status) override {}
- virtual void OnEventRaised(const std::vector<int>& host_ids,
- content::AppCacheEventID event_id) override {
- }
+ void OnEventRaised(const std::vector<int>& host_ids,
+ content::AppCacheEventID event_id) override {}
- virtual void OnErrorEventRaised(const std::vector<int>& host_ids,
- const content::AppCacheErrorDetails& details)
- override {}
+ void OnErrorEventRaised(
+ const std::vector<int>& host_ids,
+ const content::AppCacheErrorDetails& details) override {}
- virtual void OnProgressEventRaised(const std::vector<int>& host_ids,
- const GURL& url,
- int num_total, int num_complete) override {
- }
+ void OnProgressEventRaised(const std::vector<int>& host_ids,
+ const GURL& url,
+ int num_total,
+ int num_complete) override {}
- virtual void OnLogMessage(int host_id, content::AppCacheLogLevel log_level,
- const std::string& message) override {
- }
+ void OnLogMessage(int host_id,
+ content::AppCacheLogLevel log_level,
+ const std::string& message) override {}
- virtual void OnContentBlocked(int host_id,
- const GURL& manifest_url) override {
- }
+ void OnContentBlocked(int host_id, const GURL& manifest_url) override {}
int last_host_id_;
int64 last_cache_id_;
@@ -68,7 +64,7 @@ class TestUpdateObserver : public AppCacheGroup::UpdateObserver {
TestUpdateObserver() : update_completed_(false), group_has_cache_(false) {
}
- virtual void OnUpdateComplete(AppCacheGroup* group) override {
+ void OnUpdateComplete(AppCacheGroup* group) override {
update_completed_ = true;
group_has_cache_ = group->HasCache();
}
@@ -88,7 +84,7 @@ class TestAppCacheHost : public AppCacheHost {
update_completed_(false) {
}
- virtual void OnUpdateComplete(AppCacheGroup* group) override {
+ void OnUpdateComplete(AppCacheGroup* group) override {
update_completed_ = true;
}
« no previous file with comments | « content/browser/appcache/appcache_group.cc ('k') | content/browser/appcache/appcache_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698