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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js

Issue 1957053002: DevTools: simplify NetworkProject.addFileForURL method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tests Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Research In Motion Limited. All rights reserved. 2 * Copyright (C) 2012 Research In Motion Limited. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public 5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 nodeSelfHeight: function() 233 nodeSelfHeight: function()
234 { 234 {
235 return 17; 235 return 17;
236 }, 236 },
237 237
238 /** 238 /**
239 * @return {!WebInspector.ContentProvider} 239 * @return {!WebInspector.ContentProvider}
240 */ 240 */
241 contentProvider: function() 241 contentProvider: function()
242 { 242 {
243 return new WebInspector.StaticContentProvider(WebInspector.resourceTypes .WebSocket, this._dataText); 243 return new WebInspector.StaticContentProvider(WebInspector.resourceTypes .WebSocket, this._dataText, "");
dgozman 2016/05/09 21:55:35 Let's use request url.
lushnikov 2016/05/09 22:06:59 Done.
244 }, 244 },
245 245
246 __proto__: WebInspector.SortableDataGridNode.prototype 246 __proto__: WebInspector.SortableDataGridNode.prototype
247 } 247 }
248 248
249 /** 249 /**
250 * @param {!WebInspector.ResourceWebSocketFrameNode} a 250 * @param {!WebInspector.ResourceWebSocketFrameNode} a
251 * @param {!WebInspector.ResourceWebSocketFrameNode} b 251 * @param {!WebInspector.ResourceWebSocketFrameNode} b
252 * @return {number} 252 * @return {number}
253 */ 253 */
254 WebInspector.ResourceWebSocketFrameNodeTimeComparator = function(a, b) 254 WebInspector.ResourceWebSocketFrameNodeTimeComparator = function(a, b)
255 { 255 {
256 return a._frame.time - b._frame.time; 256 return a._frame.time - b._frame.time;
257 } 257 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698