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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js

Issue 2453673002: [DevTools] Scope common protocol infrastructure under Protocol namespace in a separate module. (Closed)
Patch Set: Created 4 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: third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js b/third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js
index 85e2e4aee06d1567bbf6b9d87ca9411d067d8812..5cd6679d8732feb7d679e54c19be68e3c9b54b4a 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js
@@ -183,7 +183,7 @@ WebInspector.TargetManager.prototype = {
/**
* @param {string} name
* @param {number} capabilitiesMask
- * @param {!InspectorBackendClass.Connection.Factory} connectionFactory
+ * @param {!Protocol.Connection.Factory} connectionFactory
* @param {?WebInspector.Target} parentTarget
* @return {!WebInspector.Target}
*/
@@ -236,7 +236,7 @@ WebInspector.TargetManager.prototype = {
},
/**
- * @param {function(function(string)):!Promise<!InspectorBackendClass.Connection>} interceptor
+ * @param {function(function(string)):!Promise<!Protocol.Connection>} interceptor
*/
setMainConnectionInterceptor: function(interceptor)
{
@@ -245,7 +245,7 @@ WebInspector.TargetManager.prototype = {
/**
* @param {function(string)} onMessage
- * @return {!Promise<!InspectorBackendClass.Connection>}
+ * @return {!Promise<!Protocol.Connection>}
*/
interceptMainConnection: function(onMessage)
{

Powered by Google App Engine
This is Rietveld 408576698