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

Unified Diff: components/leveldb_proto/testing/fake_db.h

Issue 1056633004: Update {virtual,override} to follow C++11 style in components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix logo tracker unittest. Created 5 years, 8 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/leveldb_proto/proto_database_impl.h ('k') | components/nacl/broker/nacl_broker_listener.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/leveldb_proto/testing/fake_db.h
diff --git a/components/leveldb_proto/testing/fake_db.h b/components/leveldb_proto/testing/fake_db.h
index 3bcc70e7b593d592ba75bde14ea6fdfc9c1c4785..2009e1061d79c3d0fdc44a1548756c115b2ac384 100644
--- a/components/leveldb_proto/testing/fake_db.h
+++ b/components/leveldb_proto/testing/fake_db.h
@@ -25,19 +25,17 @@ class FakeDB : public ProtoDatabase<T> {
typedef typename base::hash_map<std::string, T> EntryMap;
explicit FakeDB(EntryMap* db);
- virtual ~FakeDB();
+ ~FakeDB() override;
- virtual void Init(const base::FilePath& database_dir,
- typename ProtoDatabase<T>::InitCallback callback)
- override;
+ void Init(const base::FilePath& database_dir,
+ typename ProtoDatabase<T>::InitCallback callback) override;
- virtual void UpdateEntries(
+ void UpdateEntries(
scoped_ptr<typename ProtoDatabase<T>::KeyEntryVector> entries_to_save,
scoped_ptr<std::vector<std::string> > keys_to_remove,
typename ProtoDatabase<T>::UpdateCallback callback) override;
- virtual void LoadEntries(typename ProtoDatabase<T>::LoadCallback callback)
- override;
+ void LoadEntries(typename ProtoDatabase<T>::LoadCallback callback) override;
base::FilePath& GetDirectory();
void InitCallback(bool success);
« no previous file with comments | « components/leveldb_proto/proto_database_impl.h ('k') | components/nacl/broker/nacl_broker_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698