diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-16 01:10:29 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-16 01:10:29 +0000 |
commit | f2cbbc822ae7e9268d724463c309374102891912 (patch) | |
tree | d96e5e493ec7822e18e6c18c119862ab5664a6b1 /net/disk_cache/mem_backend_impl.h | |
parent | 3986f1ebe6b259cffa05ed76949554987fb1464a (diff) | |
download | chromium_src-f2cbbc822ae7e9268d724463c309374102891912.zip chromium_src-f2cbbc822ae7e9268d724463c309374102891912.tar.gz chromium_src-f2cbbc822ae7e9268d724463c309374102891912.tar.bz2 |
Add OVERRIDE to net/.
BUG=104314
Review URL: http://codereview.chromium.org/8568021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110231 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/mem_backend_impl.h')
-rw-r--r-- | net/disk_cache/mem_backend_impl.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/net/disk_cache/mem_backend_impl.h b/net/disk_cache/mem_backend_impl.h index 239d7e0..abf1443 100644 --- a/net/disk_cache/mem_backend_impl.h +++ b/net/disk_cache/mem_backend_impl.h @@ -8,8 +8,8 @@ #define NET_DISK_CACHE_MEM_BACKEND_IMPL_H__ #pragma once +#include "base/compiler_specific.h" #include "base/hash_tables.h" - #include "net/disk_cache/disk_cache.h" #include "net/disk_cache/mem_rankings.h" @@ -63,24 +63,25 @@ class NET_EXPORT_PRIVATE MemBackendImpl : public Backend { void RemoveFromRankingList(MemEntryImpl* entry); // Backend interface. - virtual int32 GetEntryCount() const; + virtual int32 GetEntryCount() const OVERRIDE; virtual int OpenEntry(const std::string& key, Entry** entry, - OldCompletionCallback* callback); + OldCompletionCallback* callback) OVERRIDE; virtual int CreateEntry(const std::string& key, Entry** entry, - OldCompletionCallback* callback); - virtual int DoomEntry(const std::string& key, OldCompletionCallback* callback); - virtual int DoomAllEntries(OldCompletionCallback* callback); + OldCompletionCallback* callback) OVERRIDE; + virtual int DoomEntry(const std::string& key, + OldCompletionCallback* callback) OVERRIDE; + virtual int DoomAllEntries(OldCompletionCallback* callback) OVERRIDE; virtual int DoomEntriesBetween(const base::Time initial_time, const base::Time end_time, - OldCompletionCallback* callback); + OldCompletionCallback* callback) OVERRIDE; virtual int DoomEntriesSince(const base::Time initial_time, - OldCompletionCallback* callback); + OldCompletionCallback* callback) OVERRIDE; virtual int OpenNextEntry(void** iter, Entry** next_entry, - OldCompletionCallback* callback); - virtual void EndEnumeration(void** iter); + OldCompletionCallback* callback) OVERRIDE; + virtual void EndEnumeration(void** iter) OVERRIDE; virtual void GetStats( - std::vector<std::pair<std::string, std::string> >* stats) {} - virtual void OnExternalCacheHit(const std::string& key); + std::vector<std::pair<std::string, std::string> >* stats) OVERRIDE {} + virtual void OnExternalCacheHit(const std::string& key) OVERRIDE; private: typedef base::hash_map<std::string, MemEntryImpl*> EntryMap; |