Index: content/browser/indexed_db/indexed_db_backing_store_unittest.cc |
diff --git a/content/browser/indexed_db/indexed_db_backing_store_unittest.cc b/content/browser/indexed_db/indexed_db_backing_store_unittest.cc |
index 066677f9245750df009c7b1958562b7cec5429ae..b6f829704070ba146949691492718455cd9021ec 100644 |
--- a/content/browser/indexed_db/indexed_db_backing_store_unittest.cc |
+++ b/content/browser/indexed_db/indexed_db_backing_store_unittest.cc |
@@ -35,10 +35,10 @@ namespace { |
class Comparator : public LevelDBComparator { |
public: |
virtual int Compare(const base::StringPiece& a, |
- const base::StringPiece& b) const OVERRIDE { |
+ const base::StringPiece& b) const override { |
return content::Compare(a, b, false /*index_keys*/); |
} |
- virtual const char* Name() const OVERRIDE { return "idb_cmp1"; } |
+ virtual const char* Name() const override { return "idb_cmp1"; } |
}; |
class DefaultLevelDBFactory : public LevelDBFactory { |
@@ -47,11 +47,11 @@ class DefaultLevelDBFactory : public LevelDBFactory { |
virtual leveldb::Status OpenLevelDB(const base::FilePath& file_name, |
const LevelDBComparator* comparator, |
scoped_ptr<LevelDBDatabase>* db, |
- bool* is_disk_full) OVERRIDE { |
+ bool* is_disk_full) override { |
return LevelDBDatabase::Open(file_name, comparator, db, is_disk_full); |
} |
virtual leveldb::Status DestroyLevelDB( |
- const base::FilePath& file_name) OVERRIDE { |
+ const base::FilePath& file_name) override { |
return LevelDBDatabase::Destroy(file_name); |
} |
@@ -119,7 +119,7 @@ class TestableIndexedDBBackingStore : public IndexedDBBackingStore { |
virtual bool WriteBlobFile( |
int64 database_id, |
const Transaction::WriteDescriptor& descriptor, |
- Transaction::ChainedBlobWriter* chained_blob_writer) OVERRIDE { |
+ Transaction::ChainedBlobWriter* chained_blob_writer) override { |
if (KeyPrefix::IsValidDatabaseId(database_id_)) { |
if (database_id_ != database_id) { |
return false; |
@@ -137,7 +137,7 @@ class TestableIndexedDBBackingStore : public IndexedDBBackingStore { |
return true; |
} |
- virtual bool RemoveBlobFile(int64 database_id, int64 key) OVERRIDE { |
+ virtual bool RemoveBlobFile(int64 database_id, int64 key) override { |
if (database_id_ != database_id || |
!KeyPrefix::IsValidDatabaseId(database_id)) { |
return false; |
@@ -147,7 +147,7 @@ class TestableIndexedDBBackingStore : public IndexedDBBackingStore { |
} |
// Timers don't play nicely with unit tests. |
- virtual void StartJournalCleaningTimer() OVERRIDE { |
+ virtual void StartJournalCleaningTimer() override { |
CleanPrimaryJournalIgnoreReturn(); |
} |
@@ -211,7 +211,7 @@ class TestIDBFactory : public IndexedDBFactoryImpl { |
std::string* data_loss_message, |
bool* disk_full, |
bool first_time, |
- leveldb::Status* status) OVERRIDE { |
+ leveldb::Status* status) override { |
DefaultLevelDBFactory leveldb_factory; |
return TestableIndexedDBBackingStore::Open(this, |
origin_url, |
@@ -359,7 +359,7 @@ class IndexedDBBackingStoreTest : public testing::Test { |
class TestCallback : public IndexedDBBackingStore::BlobWriteCallback { |
public: |
TestCallback() : called(false), succeeded(false) {} |
- virtual void Run(bool succeeded_in) OVERRIDE { |
+ virtual void Run(bool succeeded_in) override { |
called = true; |
succeeded = succeeded_in; |
} |