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

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

Issue 135653002: Update modules classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove change to web/ Created 6 years, 11 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/SQLStatement.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 e6f2b1b1b52ae6b410230afcc335c730293c226f..e19fb3c63a1127f19c836bb709500508992e5c9b 100644
--- a/Source/modules/webdatabase/DatabaseTracker.cpp
+++ b/Source/modules/webdatabase/DatabaseTracker.cpp
@@ -105,19 +105,19 @@ void DatabaseTracker::addOpenDatabase(DatabaseBackendBase* database)
databaseSet->add(database);
}
-class NotifyDatabaseObserverOnCloseTask : public ExecutionContextTask {
+class NotifyDatabaseObserverOnCloseTask FINAL : public ExecutionContextTask {
public:
static PassOwnPtr<NotifyDatabaseObserverOnCloseTask> create(PassRefPtr<DatabaseBackendBase> database)
{
return adoptPtr(new NotifyDatabaseObserverOnCloseTask(database));
}
- virtual void performTask(ExecutionContext* context)
+ virtual void performTask(ExecutionContext*) OVERRIDE
{
databaseClosed(m_database.get());
}
- virtual bool isCleanupTask() const
+ virtual bool isCleanupTask() const OVERRIDE
{
return true;
}
@@ -219,14 +219,14 @@ void DatabaseTracker::interruptAllDatabasesForContext(const DatabaseContext* con
}
}
-class DatabaseTracker::CloseOneDatabaseImmediatelyTask : public ExecutionContextTask {
+class DatabaseTracker::CloseOneDatabaseImmediatelyTask FINAL : public ExecutionContextTask {
public:
static PassOwnPtr<CloseOneDatabaseImmediatelyTask> create(const String& originIdentifier, const String& name, DatabaseBackendBase* database)
{
return adoptPtr(new CloseOneDatabaseImmediatelyTask(originIdentifier, name, database));
}
- virtual void performTask(ExecutionContext* context)
+ 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/SQLStatement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698