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

Unified Diff: content/child/quota_dispatcher.cc

Issue 671663002: Standardize usage of virtual/override/final in content/ (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/child/quota_dispatcher.h ('k') | content/child/quota_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/quota_dispatcher.cc
diff --git a/content/child/quota_dispatcher.cc b/content/child/quota_dispatcher.cc
index d876708dfb7d59184a8be35335d2058485f79eb0..5862783768fc08db9f1ae92886e5e2ab13652f1b 100644
--- a/content/child/quota_dispatcher.cc
+++ b/content/child/quota_dispatcher.cc
@@ -35,15 +35,15 @@ class WebStorageQuotaDispatcherCallback : public QuotaDispatcher::Callback {
explicit WebStorageQuotaDispatcherCallback(
blink::WebStorageQuotaCallbacks callback)
: callbacks_(callback) {}
- virtual ~WebStorageQuotaDispatcherCallback() {}
+ ~WebStorageQuotaDispatcherCallback() override {}
- virtual void DidQueryStorageUsageAndQuota(int64 usage, int64 quota) override {
+ void DidQueryStorageUsageAndQuota(int64 usage, int64 quota) override {
callbacks_.didQueryStorageUsageAndQuota(usage, quota);
}
- virtual void DidGrantStorageQuota(int64 usage, int64 granted_quota) override {
+ void DidGrantStorageQuota(int64 usage, int64 granted_quota) override {
callbacks_.didGrantStorageQuota(usage, granted_quota);
}
- virtual void DidFail(storage::QuotaStatusCode error) override {
+ void DidFail(storage::QuotaStatusCode error) override {
callbacks_.didFail(static_cast<WebStorageQuotaError>(error));
}
« no previous file with comments | « content/child/quota_dispatcher.h ('k') | content/child/quota_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698