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

Side by Side Diff: chrome/browser/resources/net_internals/socket_pool_wrapper.js

Issue 10987030: Make about:net-internal's filters work a bit better. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Response to comments, retry upload (First corrupt?) Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 var SocketPoolWrapper = (function() { 5 var SocketPoolWrapper = (function() {
6 'use strict'; 6 'use strict';
7 7
8 /** 8 /**
9 * SocketPoolWrapper is a wrapper around socket pools entries. It's 9 * SocketPoolWrapper is a wrapper around socket pools entries. It's
10 * used by the log and sockets view to print tables containing both 10 * used by the log and sockets view to print tables containing both
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 } 159 }
160 }; 160 };
161 161
162 /** 162 /**
163 * Takes in a list of source IDs and returns a link that will select the 163 * Takes in a list of source IDs and returns a link that will select the
164 * specified sources. 164 * specified sources.
165 */ 165 */
166 function sourceListLink(sources) { 166 function sourceListLink(sources) {
167 if (!sources.length) 167 if (!sources.length)
168 return null; 168 return null;
169 return '#events&q=id:' + sources.join('%20id:'); 169 return '#events&q=id:' + sources.join(',');
170 } 170 }
171 171
172 return SocketPoolWrapper; 172 return SocketPoolWrapper;
173 })(); 173 })();
OLDNEW
« no previous file with comments | « chrome/browser/resources/net_internals/log_view_painter.js ('k') | chrome/browser/resources/net_internals/source_row.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698