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

Unified Diff: Source/modules/indexeddb/IDBDatabase.h

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/indexeddb/IDBCursorWithValue.h ('k') | Source/modules/indexeddb/IDBObjectStore.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBDatabase.h
diff --git a/Source/modules/indexeddb/IDBDatabase.h b/Source/modules/indexeddb/IDBDatabase.h
index af70e168a4177ea3197a833a59152b4379ad05b9..00a3c9d985fea917d84c08e556c30318679ad2f1 100644
--- a/Source/modules/indexeddb/IDBDatabase.h
+++ b/Source/modules/indexeddb/IDBDatabase.h
@@ -50,12 +50,12 @@ class DOMError;
class ExceptionState;
class ExecutionContext;
-class IDBDatabase : public RefCounted<IDBDatabase>, public ScriptWrappable, public EventTargetWithInlineData, public ActiveDOMObject {
+class IDBDatabase FINAL : public RefCounted<IDBDatabase>, public ScriptWrappable, public EventTargetWithInlineData, public ActiveDOMObject {
REFCOUNTED_EVENT_TARGET(IDBDatabase);
public:
static PassRefPtr<IDBDatabase> create(ExecutionContext*, PassOwnPtr<blink::WebIDBDatabase>, PassRefPtr<IDBDatabaseCallbacks>);
- ~IDBDatabase();
+ virtual ~IDBDatabase();
void setMetadata(const IDBDatabaseMetadata& metadata) { m_metadata = metadata; }
void indexCreated(int64_t objectStoreId, const IDBIndexMetadata&);
@@ -82,9 +82,9 @@ public:
DEFINE_ATTRIBUTE_EVENT_LISTENER(versionchange);
// IDBDatabaseCallbacks
- virtual void onVersionChange(int64_t oldVersion, int64_t newVersion);
- virtual void onAbort(int64_t, PassRefPtr<DOMError>);
- virtual void onComplete(int64_t);
+ void onVersionChange(int64_t oldVersion, int64_t newVersion);
+ void onAbort(int64_t, PassRefPtr<DOMError>);
+ void onComplete(int64_t);
// ActiveDOMObject
virtual bool hasPendingActivity() const OVERRIDE;
« no previous file with comments | « Source/modules/indexeddb/IDBCursorWithValue.h ('k') | Source/modules/indexeddb/IDBObjectStore.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698