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

Unified Diff: content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc

Issue 602883003: Replacing the OVERRIDE with override and FINAL with final in content/browser/indexed_db (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_cleanup_on_io_error_unittest.cc
diff --git a/content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc b/content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc
index b25623bc8e69ccd028ef4e1dc9305417359d3f7e..04a40c433422ac65c6a37f83ce8cce129b3a954c 100644
--- a/content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc
+++ b/content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc
@@ -51,7 +51,7 @@ class BustedLevelDBDatabase : public LevelDBDatabase {
virtual leveldb::Status Get(const base::StringPiece& key,
std::string* value,
bool* found,
- const LevelDBSnapshot* = 0) OVERRIDE {
+ const LevelDBSnapshot* = 0) override {
return leveldb::Status::IOError("It's busted!");
}
@@ -65,13 +65,13 @@ class BustedLevelDBFactory : public LevelDBFactory {
const base::FilePath& file_name,
const LevelDBComparator* comparator,
scoped_ptr<LevelDBDatabase>* db,
- bool* is_disk_full = 0) OVERRIDE {
+ bool* is_disk_full = 0) override {
if (open_error_.ok())
*db = BustedLevelDBDatabase::Open(file_name, comparator);
return open_error_;
}
virtual leveldb::Status DestroyLevelDB(
- const base::FilePath& file_name) OVERRIDE {
+ const base::FilePath& file_name) override {
return leveldb::Status::IOError("error");
}
void SetOpenError(const leveldb::Status& open_error) {
« no previous file with comments | « content/browser/indexed_db/indexed_db_browsertest.cc ('k') | content/browser/indexed_db/indexed_db_context_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698