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

Unified Diff: content/browser/indexed_db/indexed_db_fake_backing_store.h

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_fake_backing_store.h
diff --git a/content/browser/indexed_db/indexed_db_fake_backing_store.h b/content/browser/indexed_db/indexed_db_fake_backing_store.h
index 652b65eb7eb354a07ac7ed48997617066a25fca3..a37a7b307ca5a1409ed75d5e7a20d759c5a75fe5 100644
--- a/content/browser/indexed_db/indexed_db_fake_backing_store.h
+++ b/content/browser/indexed_db/indexed_db_fake_backing_store.h
@@ -23,30 +23,30 @@ class IndexedDBFakeBackingStore : public IndexedDBBackingStore {
IndexedDBFakeBackingStore(IndexedDBFactory* factory,
base::SequencedTaskRunner* task_runner);
virtual std::vector<base::string16> GetDatabaseNames(leveldb::Status* s)
- OVERRIDE;
+ override;
virtual leveldb::Status GetIDBDatabaseMetaData(const base::string16& name,
IndexedDBDatabaseMetadata*,
- bool* found) OVERRIDE;
+ bool* found) override;
virtual leveldb::Status CreateIDBDatabaseMetaData(
const base::string16& name,
const base::string16& version,
int64 int_version,
- int64* row_id) OVERRIDE;
+ int64* row_id) override;
virtual bool UpdateIDBDatabaseIntVersion(Transaction*,
int64 row_id,
- int64 version) OVERRIDE;
- virtual leveldb::Status DeleteDatabase(const base::string16& name) OVERRIDE;
+ int64 version) override;
+ virtual leveldb::Status DeleteDatabase(const base::string16& name) override;
virtual leveldb::Status CreateObjectStore(Transaction*,
int64 database_id,
int64 object_store_id,
const base::string16& name,
const IndexedDBKeyPath&,
- bool auto_increment) OVERRIDE;
+ bool auto_increment) override;
virtual leveldb::Status DeleteObjectStore(Transaction* transaction,
int64 database_id,
- int64 object_store_id) OVERRIDE;
+ int64 object_store_id) override;
virtual leveldb::Status PutRecord(
IndexedDBBackingStore::Transaction* transaction,
@@ -55,33 +55,33 @@ class IndexedDBFakeBackingStore : public IndexedDBBackingStore {
const IndexedDBKey& key,
IndexedDBValue* value,
ScopedVector<storage::BlobDataHandle>* handles,
- RecordIdentifier* record) OVERRIDE;
+ RecordIdentifier* record) override;
virtual leveldb::Status ClearObjectStore(Transaction*,
int64 database_id,
- int64 object_store_id) OVERRIDE;
+ int64 object_store_id) override;
virtual leveldb::Status DeleteRecord(Transaction*,
int64 database_id,
int64 object_store_id,
- const RecordIdentifier&) OVERRIDE;
+ const RecordIdentifier&) override;
virtual leveldb::Status GetKeyGeneratorCurrentNumber(Transaction*,
int64 database_id,
int64 object_store_id,
int64* current_number)
- OVERRIDE;
+ override;
virtual leveldb::Status MaybeUpdateKeyGeneratorCurrentNumber(
Transaction*,
int64 database_id,
int64 object_store_id,
int64 new_number,
- bool check_current) OVERRIDE;
+ bool check_current) override;
virtual leveldb::Status KeyExistsInObjectStore(
Transaction*,
int64 database_id,
int64 object_store_id,
const IndexedDBKey&,
RecordIdentifier* found_record_identifier,
- bool* found) OVERRIDE;
+ bool* found) override;
virtual leveldb::Status CreateIndex(Transaction*,
int64 database_id,
@@ -90,33 +90,33 @@ class IndexedDBFakeBackingStore : public IndexedDBBackingStore {
const base::string16& name,
const IndexedDBKeyPath&,
bool is_unique,
- bool is_multi_entry) OVERRIDE;
+ bool is_multi_entry) override;
virtual leveldb::Status DeleteIndex(Transaction*,
int64 database_id,
int64 object_store_id,
- int64 index_id) OVERRIDE;
+ int64 index_id) override;
virtual leveldb::Status PutIndexDataForRecord(Transaction*,
int64 database_id,
int64 object_store_id,
int64 index_id,
const IndexedDBKey&,
const RecordIdentifier&)
- OVERRIDE;
- virtual void ReportBlobUnused(int64 database_id, int64 blob_key) OVERRIDE;
+ override;
+ virtual void ReportBlobUnused(int64 database_id, int64 blob_key) override;
virtual scoped_ptr<Cursor> OpenObjectStoreKeyCursor(
Transaction* transaction,
int64 database_id,
int64 object_store_id,
const IndexedDBKeyRange& key_range,
blink::WebIDBCursorDirection,
- leveldb::Status*) OVERRIDE;
+ leveldb::Status*) override;
virtual scoped_ptr<Cursor> OpenObjectStoreCursor(
Transaction* transaction,
int64 database_id,
int64 object_store_id,
const IndexedDBKeyRange& key_range,
blink::WebIDBCursorDirection,
- leveldb::Status*) OVERRIDE;
+ leveldb::Status*) override;
virtual scoped_ptr<Cursor> OpenIndexKeyCursor(
Transaction* transaction,
int64 database_id,
@@ -124,23 +124,23 @@ class IndexedDBFakeBackingStore : public IndexedDBBackingStore {
int64 index_id,
const IndexedDBKeyRange& key_range,
blink::WebIDBCursorDirection,
- leveldb::Status*) OVERRIDE;
+ leveldb::Status*) override;
virtual scoped_ptr<Cursor> OpenIndexCursor(Transaction* transaction,
int64 database_id,
int64 object_store_id,
int64 index_id,
const IndexedDBKeyRange& key_range,
blink::WebIDBCursorDirection,
- leveldb::Status*) OVERRIDE;
+ leveldb::Status*) override;
class FakeTransaction : public IndexedDBBackingStore::Transaction {
public:
explicit FakeTransaction(leveldb::Status phase_two_result);
- virtual void Begin() OVERRIDE;
+ virtual void Begin() override;
virtual leveldb::Status CommitPhaseOne(
- scoped_refptr<BlobWriteCallback>) OVERRIDE;
- virtual leveldb::Status CommitPhaseTwo() OVERRIDE;
- virtual void Rollback() OVERRIDE;
+ scoped_refptr<BlobWriteCallback>) override;
+ virtual leveldb::Status CommitPhaseTwo() override;
+ virtual void Rollback() override;
private:
leveldb::Status result_;
« no previous file with comments | « content/browser/indexed_db/indexed_db_factory_unittest.cc ('k') | content/browser/indexed_db/indexed_db_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698