| 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) {
|
|
|