| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 /** | 5 /** |
| 6 * SocketPoolWrapper is a wrapper around socket pools entries. It's | 6 * SocketPoolWrapper is a wrapper around socket pools entries. It's |
| 7 * used by the log and sockets view to print tables containing both | 7 * used by the log and sockets view to print tables containing both |
| 8 * a synopsis of the state of all pools, and listing the groups within | 8 * a synopsis of the state of all pools, and listing the groups within |
| 9 * individual pools. | 9 * individual pools. |
| 10 * | 10 * |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 | 160 |
| 161 /** | 161 /** |
| 162 * Takes in a list of source IDs and returns a link that will select the | 162 * Takes in a list of source IDs and returns a link that will select the |
| 163 * specified sources. | 163 * specified sources. |
| 164 */ | 164 */ |
| 165 SocketPoolWrapper.sourceListLink = function(sources) { | 165 SocketPoolWrapper.sourceListLink = function(sources) { |
| 166 if (!sources.length) | 166 if (!sources.length) |
| 167 return null; | 167 return null; |
| 168 return '#events&q=id:' + sources.join('%20id:'); | 168 return '#events&q=id:' + sources.join('%20id:'); |
| 169 } | 169 } |
| OLD | NEW |