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

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

Issue 2440953003: DevTools: use semicolons after each statement. (Closed)
Patch Set: rebaseline 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/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 201c39da62031674b6fee5906798bcb91c18c94b..3fe180edfaa6d0ff91a0cbf017a0e5a83372c246 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/Connections.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/Connections.js
@@ -12,7 +12,7 @@ WebInspector.MainConnection = function()
InspectorFrontendHost.events.addEventListener(InspectorFrontendHostAPI.Events.DispatchMessage, this._dispatchMessage, this);
InspectorFrontendHost.events.addEventListener(InspectorFrontendHostAPI.Events.DispatchMessageChunk, this._dispatchMessageChunk, this);
InspectorFrontendHost.events.addEventListener(InspectorFrontendHostAPI.Events.EvaluateForTestInFrontend, this._evaluateForTestInFrontend, this);
-}
+};
WebInspector.MainConnection.prototype = {
/**
@@ -90,7 +90,7 @@ WebInspector.MainConnection.prototype = {
},
__proto__: InspectorBackendClass.Connection.prototype
-}
+};
/**
* @constructor
@@ -106,7 +106,7 @@ WebInspector.WebSocketConnection = function(url, onConnectionReady)
this._socket.onerror = this._onError.bind(this);
this._socket.onopen = onConnectionReady.bind(null, this);
this._socket.onclose = this.connectionClosed.bind(this, "websocket_closed");
-}
+};
/**
* @param {string} url
@@ -118,7 +118,7 @@ WebInspector.WebSocketConnection.Create = function(url)
var result = new Promise(resolve => fulfill = resolve);
new WebInspector.WebSocketConnection(url, fulfill);
return result;
-}
+};
WebInspector.WebSocketConnection.prototype = {
@@ -158,7 +158,7 @@ WebInspector.WebSocketConnection.prototype = {
},
__proto__: InspectorBackendClass.Connection.prototype
-}
+};
/**
* @constructor
@@ -167,7 +167,7 @@ WebInspector.WebSocketConnection.prototype = {
WebInspector.StubConnection = function()
{
InspectorBackendClass.Connection.call(this);
-}
+};
WebInspector.StubConnection.prototype = {
/**
@@ -189,7 +189,7 @@ WebInspector.StubConnection.prototype = {
},
__proto__: InspectorBackendClass.Connection.prototype
-}
+};
/**
@@ -204,7 +204,7 @@ WebInspector.RawProtocolConnection = function(dispatchCallback, yieldCallback)
this._dispatchCallback = dispatchCallback;
this._yieldCallback = yieldCallback;
this._isClosed = false;
-}
+};
WebInspector.RawProtocolConnection.prototype = {
/**
@@ -252,4 +252,4 @@ WebInspector.RawProtocolConnection.prototype = {
delete this._dispatchCallback;
this._yieldCallback();
}
-}
+};

Powered by Google App Engine
This is Rietveld 408576698