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

Unified Diff: content/browser/indexed_db/indexed_db_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
Index: content/browser/indexed_db/indexed_db_unittest.cc
diff --git a/content/browser/indexed_db/indexed_db_unittest.cc b/content/browser/indexed_db/indexed_db_unittest.cc
index 6fbff66ad1e297e793920c55b6370fdd783caf69..ddb1fdc66bd281bb8c8f8314b9c63823e2e37428 100644
--- a/content/browser/indexed_db/indexed_db_unittest.cc
+++ b/content/browser/indexed_db/indexed_db_unittest.cc
@@ -130,10 +130,10 @@ class ForceCloseDBCallbacks : public IndexedDBCallbacks {
idb_context_(idb_context),
origin_url_(origin_url) {}
- virtual void OnSuccess() override {}
- virtual void OnSuccess(const std::vector<base::string16>&) override {}
- virtual void OnSuccess(scoped_ptr<IndexedDBConnection> connection,
- const IndexedDBDatabaseMetadata& metadata) override {
+ void OnSuccess() override {}
+ void OnSuccess(const std::vector<base::string16>&) override {}
+ void OnSuccess(scoped_ptr<IndexedDBConnection> connection,
+ const IndexedDBDatabaseMetadata& metadata) override {
connection_ = connection.Pass();
idb_context_->ConnectionOpened(origin_url_, connection_.get());
}
@@ -141,7 +141,7 @@ class ForceCloseDBCallbacks : public IndexedDBCallbacks {
IndexedDBConnection* connection() { return connection_.get(); }
protected:
- virtual ~ForceCloseDBCallbacks() {}
+ ~ForceCloseDBCallbacks() override {}
private:
scoped_refptr<IndexedDBContextImpl> idb_context_;
« no previous file with comments | « content/browser/indexed_db/indexed_db_transaction.cc ('k') | content/browser/indexed_db/leveldb/leveldb_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698