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

Unified Diff: third_party/WebKit/Source/devtools/front_end/network/RequestCookiesView.js

Issue 2466123002: DevTools: reformat front-end code to match chromium style. (Closed)
Patch Set: Created 4 years, 1 month 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/network/RequestCookiesView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/network/RequestCookiesView.js b/third_party/WebKit/Source/devtools/front_end/network/RequestCookiesView.js
index b198da99685fcd733b0599ef56ecca901fa90529..5cb21c367296a54e03afcf01d76cf5244b76224a 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/RequestCookiesView.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/RequestCookiesView.js
@@ -43,6 +43,9 @@ WebInspector.RequestCookiesView = function(request)
};
WebInspector.RequestCookiesView.prototype = {
+ /**
+ * @override
+ */
wasShown: function()
{
this._request.addEventListener(WebInspector.NetworkRequest.Events.RequestHeadersChanged, this._refreshCookies, this);
@@ -60,6 +63,9 @@ WebInspector.RequestCookiesView.prototype = {
this._buildCookiesTable();
},
+ /**
+ * @override
+ */
willHide: function()
{
this._request.removeEventListener(WebInspector.NetworkRequest.Events.RequestHeadersChanged, this._refreshCookies, this);

Powered by Google App Engine
This is Rietveld 408576698