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

Unified Diff: Source/devtools/front_end/sdk/Database.js

Issue 400633003: DevTools: introduce multitarget model listeners (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/devtools/front_end/sdk/DOMStorage.js ('k') | Source/devtools/front_end/sdk/DebuggerModel.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/sdk/Database.js
diff --git a/Source/devtools/front_end/sdk/Database.js b/Source/devtools/front_end/sdk/Database.js
index 463fb0c4076756043bdb5ce4bec356255971d80b..3ed4e1e2110673f6ad9284db28dc953d611efb7b 100644
--- a/Source/devtools/front_end/sdk/Database.js
+++ b/Source/devtools/front_end/sdk/Database.js
@@ -134,12 +134,12 @@ WebInspector.Database.prototype = {
/**
* @constructor
- * @extends {WebInspector.SDKObject}
+ * @extends {WebInspector.SDKModel}
* @param {!WebInspector.Target} target
*/
WebInspector.DatabaseModel = function(target)
{
- WebInspector.SDKObject.call(this, target);
+ WebInspector.SDKModel.call(this, WebInspector.DatabaseModel, target);
this._databases = [];
target.registerDatabaseDispatcher(new WebInspector.DatabaseDispatcher(this));
@@ -181,7 +181,7 @@ WebInspector.DatabaseModel.prototype = {
this.dispatchEventToListeners(WebInspector.DatabaseModel.Events.DatabaseAdded, database);
},
- __proto__: WebInspector.SDKObject.prototype
+ __proto__: WebInspector.SDKModel.prototype
}
/**
« no previous file with comments | « Source/devtools/front_end/sdk/DOMStorage.js ('k') | Source/devtools/front_end/sdk/DebuggerModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698