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

Unified Diff: content/browser/indexed_db/indexed_db_factory_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_factory_unittest.cc
diff --git a/content/browser/indexed_db/indexed_db_factory_unittest.cc b/content/browser/indexed_db/indexed_db_factory_unittest.cc
index 12225ef19ffcb32c4606a10e90faf6b3ecb182fb..141212e704633361c33f1500b9da7d3dfb006979 100644
--- a/content/browser/indexed_db/indexed_db_factory_unittest.cc
+++ b/content/browser/indexed_db/indexed_db_factory_unittest.cc
@@ -212,7 +212,7 @@ class DiskFullFactory : public IndexedDBFactoryImpl {
blink::WebIDBDataLoss* data_loss,
std::string* data_loss_message,
bool* disk_full,
- leveldb::Status* s) OVERRIDE {
+ leveldb::Status* s) override {
*disk_full = true;
*s = leveldb::Status::IOError("Disk is full");
return scoped_refptr<IndexedDBBackingStore>();
@@ -225,7 +225,7 @@ class LookingForQuotaErrorMockCallbacks : public IndexedDBCallbacks {
public:
LookingForQuotaErrorMockCallbacks()
: IndexedDBCallbacks(NULL, 0, 0), error_called_(false) {}
- virtual void OnError(const IndexedDBDatabaseError& error) OVERRIDE {
+ virtual void OnError(const IndexedDBDatabaseError& error) override {
error_called_ = true;
EXPECT_EQ(blink::WebIDBDatabaseExceptionQuotaError, error.code());
}
@@ -435,7 +435,7 @@ class UpgradeNeededCallbacks : public MockIndexedDBCallbacks {
UpgradeNeededCallbacks() {}
virtual void OnSuccess(scoped_ptr<IndexedDBConnection> connection,
- const IndexedDBDatabaseMetadata& metadata) OVERRIDE {
+ const IndexedDBDatabaseMetadata& metadata) override {
EXPECT_TRUE(connection_.get());
EXPECT_FALSE(connection.get());
}
@@ -443,7 +443,7 @@ class UpgradeNeededCallbacks : public MockIndexedDBCallbacks {
virtual void OnUpgradeNeeded(
int64 old_version,
scoped_ptr<IndexedDBConnection> connection,
- const content::IndexedDBDatabaseMetadata& metadata) OVERRIDE {
+ const content::IndexedDBDatabaseMetadata& metadata) override {
connection_ = connection.Pass();
}
@@ -458,7 +458,7 @@ class ErrorCallbacks : public MockIndexedDBCallbacks {
public:
ErrorCallbacks() : MockIndexedDBCallbacks(false), saw_error_(false) {}
- virtual void OnError(const IndexedDBDatabaseError& error) OVERRIDE {
+ virtual void OnError(const IndexedDBDatabaseError& error) override {
saw_error_= true;
}
bool saw_error() const { return saw_error_; }
« no previous file with comments | « content/browser/indexed_db/indexed_db_factory_impl.h ('k') | content/browser/indexed_db/indexed_db_fake_backing_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698