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

Unified Diff: Source/modules/webdatabase/DatabaseTracker.cpp

Issue 635233004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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
« no previous file with comments | « Source/modules/webdatabase/DatabaseTask.h ('k') | Source/modules/webdatabase/InspectorDatabaseAgent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/DatabaseTracker.cpp
diff --git a/Source/modules/webdatabase/DatabaseTracker.cpp b/Source/modules/webdatabase/DatabaseTracker.cpp
index 32d08ca8e7d93551b836f9df8a8b8b327f6dd02b..f5e16d43f4380d6047d9af423c006bc758ed7a1b 100644
--- a/Source/modules/webdatabase/DatabaseTracker.cpp
+++ b/Source/modules/webdatabase/DatabaseTracker.cpp
@@ -105,19 +105,19 @@ void DatabaseTracker::addOpenDatabase(Database* database)
databaseSet->add(database);
}
-class NotifyDatabaseObserverOnCloseTask FINAL : public ExecutionContextTask {
+class NotifyDatabaseObserverOnCloseTask final : public ExecutionContextTask {
public:
static PassOwnPtr<NotifyDatabaseObserverOnCloseTask> create(Database* database)
{
return adoptPtr(new NotifyDatabaseObserverOnCloseTask(database));
}
- virtual void performTask(ExecutionContext*) OVERRIDE
+ virtual void performTask(ExecutionContext*) override
{
databaseClosed(m_database.get());
}
- virtual bool isCleanupTask() const OVERRIDE
+ virtual bool isCleanupTask() const override
{
return true;
}
@@ -198,14 +198,14 @@ unsigned long long DatabaseTracker::getMaxSizeForDatabase(const Database* databa
}
// FIXME: This can be removed by createCrossThreadTask().
-class DatabaseTracker::CloseOneDatabaseImmediatelyTask FINAL : public ExecutionContextTask {
+class DatabaseTracker::CloseOneDatabaseImmediatelyTask final : public ExecutionContextTask {
public:
static PassOwnPtr<CloseOneDatabaseImmediatelyTask> create(const String& originIdentifier, const String& name, Database* database)
{
return adoptPtr(new CloseOneDatabaseImmediatelyTask(originIdentifier, name, database));
}
- virtual void performTask(ExecutionContext*) OVERRIDE
+ virtual void performTask(ExecutionContext*) override
{
DatabaseTracker::tracker().closeOneDatabaseImmediately(m_originIdentifier, m_name, m_database);
}
« no previous file with comments | « Source/modules/webdatabase/DatabaseTask.h ('k') | Source/modules/webdatabase/InspectorDatabaseAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698