| 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 /** |    5 /** | 
|    6  * @fileoverview |    6  * @fileoverview | 
|    7  * The webapp reads the plugin's connection statistics frequently (once per |    7  * The webapp reads the plugin's connection statistics frequently (once per | 
|    8  * second). It logs statistics to the server less frequently, to keep |    8  * second). It logs statistics to the server less frequently, to keep | 
|    9  * bandwidth and storage costs down. This class bridges that gap, by |    9  * bandwidth and storage costs down. This class bridges that gap, by | 
|   10  * accumulating high-frequency numeric data, and providing statistics |   10  * accumulating high-frequency numeric data, and providing statistics | 
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  117  * @return {Array.<number>} the list of values for that key |  117  * @return {Array.<number>} the list of values for that key | 
|  118  */ |  118  */ | 
|  119 remoting.StatsAccumulator.prototype.getValueList = function(key) { |  119 remoting.StatsAccumulator.prototype.getValueList = function(key) { | 
|  120   var valueList = this.valueLists_[key]; |  120   var valueList = this.valueLists_[key]; | 
|  121   if (!valueList) { |  121   if (!valueList) { | 
|  122     valueList = []; |  122     valueList = []; | 
|  123     this.valueLists_[key] = valueList; |  123     this.valueLists_[key] = valueList; | 
|  124   } |  124   } | 
|  125   return valueList; |  125   return valueList; | 
|  126 }; |  126 }; | 
| OLD | NEW |