| OLD | NEW |
| 1 /** | 1 /** |
| 2 * Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 * Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * See http://dev.w3.org/2011/webrtc/editor/getusermedia.html for more | 8 * See http://dev.w3.org/2011/webrtc/editor/getusermedia.html for more |
| 9 * information on getUserMedia. See | 9 * information on getUserMedia. See |
| 10 * http://dev.w3.org/2011/webrtc/editor/webrtc.html for more information on | 10 * http://dev.w3.org/2011/webrtc/editor/webrtc.html for more information on |
| (...skipping 1348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1359 | 1359 |
| 1360 /** @private */ | 1360 /** @private */ |
| 1361 function readResponseHeader_(request, key) { | 1361 function readResponseHeader_(request, key) { |
| 1362 var value = request.getResponseHeader(key); | 1362 var value = request.getResponseHeader(key); |
| 1363 if (value == null || value.length == 0) { | 1363 if (value == null || value.length == 0) { |
| 1364 error_('Received empty value ' + value + | 1364 error_('Received empty value ' + value + |
| 1365 ' for response header key ' + key + '.'); | 1365 ' for response header key ' + key + '.'); |
| 1366 } | 1366 } |
| 1367 return parseInt(value); | 1367 return parseInt(value); |
| 1368 } | 1368 } |
| OLD | NEW |