| OLD | NEW |
| 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 Loading... |
| 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 })(); |
| OLD | NEW |