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

Side by Side Diff: remoting/webapp/stats_accumulator.js

Issue 9148043: Rename webapp_it2me to remoting_webapp and move it from webapp/me2mom to webapp/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add webapp_it2me back Created 8 years, 11 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
« no previous file with comments | « remoting/webapp/spinner.gif ('k') | remoting/webapp/toolbar.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 /** 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
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 };
OLDNEW
« no previous file with comments | « remoting/webapp/spinner.gif ('k') | remoting/webapp/toolbar.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698