| Index: third_party/WebKit/Source/devtools/front_end/sdk/Connections.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/Connections.js b/third_party/WebKit/Source/devtools/front_end/sdk/Connections.js
|
| index 2b0b7314fcac1258a5dfbcc2c25f595ae96e1e02..06a0cfb2c43ec61c8a17c4bcdcc13c232f9ebab9 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/Connections.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/Connections.js
|
| @@ -2,12 +2,12 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
| /**
|
| - * @implements {InspectorBackendClass.Connection}
|
| + * @implements {Protocol.InspectorBackend.Connection}
|
| * @unrestricted
|
| */
|
| SDK.MainConnection = class {
|
| /**
|
| - * @param {!InspectorBackendClass.Connection.Params} params
|
| + * @param {!Protocol.InspectorBackend.Connection.Params} params
|
| */
|
| constructor(params) {
|
| this._onMessage = params.onMessage;
|
| @@ -79,7 +79,7 @@ SDK.MainConnection = class {
|
| }
|
| }
|
|
|
| - InspectorBackendClass.deprecatedRunAfterPendingDispatches(invokeMethod);
|
| + Protocol.InspectorBackend.deprecatedRunAfterPendingDispatches(invokeMethod);
|
| }
|
|
|
| /**
|
| @@ -104,14 +104,14 @@ SDK.MainConnection = class {
|
| };
|
|
|
| /**
|
| - * @implements {InspectorBackendClass.Connection}
|
| + * @implements {Protocol.InspectorBackend.Connection}
|
| * @unrestricted
|
| */
|
| SDK.WebSocketConnection = class {
|
| /**
|
| * @param {string} url
|
| * @param {function()} onWebSocketDisconnect
|
| - * @param {!InspectorBackendClass.Connection.Params} params
|
| + * @param {!Protocol.InspectorBackend.Connection.Params} params
|
| */
|
| constructor(url, onWebSocketDisconnect, params) {
|
| this._socket = new WebSocket(url);
|
| @@ -187,12 +187,12 @@ SDK.WebSocketConnection = class {
|
| };
|
|
|
| /**
|
| - * @implements {InspectorBackendClass.Connection}
|
| + * @implements {Protocol.InspectorBackend.Connection}
|
| * @unrestricted
|
| */
|
| SDK.StubConnection = class {
|
| /**
|
| - * @param {!InspectorBackendClass.Connection.Params} params
|
| + * @param {!Protocol.InspectorBackend.Connection.Params} params
|
| */
|
| constructor(params) {
|
| this._onMessage = params.onMessage;
|
| @@ -214,7 +214,7 @@ SDK.StubConnection = class {
|
| var messageObject = JSON.parse(message);
|
| var error = {
|
| message: 'This is a stub connection, can\'t dispatch message.',
|
| - code: InspectorBackendClass.DevToolsStubErrorCode,
|
| + code: Protocol.InspectorBackend.DevToolsStubErrorCode,
|
| data: messageObject
|
| };
|
| this._onMessage.call(null, {id: messageObject.id, error: error});
|
|
|