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

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

Issue 631773003: Replacing the OVERRIDE with override and FINAL with final in content/browser/appcache (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
Index: content/browser/appcache/appcache_disk_cache.cc
diff --git a/content/browser/appcache/appcache_disk_cache.cc b/content/browser/appcache/appcache_disk_cache.cc
index e26b88dbe599752f22be7c3fa64f8ed0f298f5e5..f8486b459db2a42fd6a782bbcbc2ed96eb98b46e 100644
--- a/content/browser/appcache/appcache_disk_cache.cc
+++ b/content/browser/appcache/appcache_disk_cache.cc
@@ -60,7 +60,7 @@ class AppCacheDiskCache::EntryImpl : public Entry {
// Entry implementation.
virtual int Read(int index, int64 offset, net::IOBuffer* buf, int buf_len,
- const net::CompletionCallback& callback) OVERRIDE {
+ const net::CompletionCallback& callback) override {
if (offset < 0 || offset > kint32max)
return net::ERR_INVALID_ARGUMENT;
if (!disk_cache_entry_)
@@ -70,7 +70,7 @@ class AppCacheDiskCache::EntryImpl : public Entry {
}
virtual int Write(int index, int64 offset, net::IOBuffer* buf, int buf_len,
- const net::CompletionCallback& callback) OVERRIDE {
+ const net::CompletionCallback& callback) override {
if (offset < 0 || offset > kint32max)
return net::ERR_INVALID_ARGUMENT;
if (!disk_cache_entry_)
@@ -80,11 +80,11 @@ class AppCacheDiskCache::EntryImpl : public Entry {
index, static_cast<int>(offset), buf, buf_len, callback, kTruncate);
}
- virtual int64 GetSize(int index) OVERRIDE {
+ virtual int64 GetSize(int index) override {
return disk_cache_entry_ ? disk_cache_entry_->GetDataSize(index) : 0L;
}
- virtual void Close() OVERRIDE {
+ virtual void Close() override {
if (disk_cache_entry_)
disk_cache_entry_->Close();
delete this;
« no previous file with comments | « content/browser/appcache/appcache_disk_cache.h ('k') | content/browser/appcache/appcache_disk_cache_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698