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

Side by Side Diff: remoting/webapp/log_to_server.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/l10n.js ('k') | remoting/webapp/main.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 * Module for sending log entries to the server. 7 * Module for sending log entries to the server.
8 */ 8 */
9 9
10 'use strict'; 10 'use strict';
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 remoting.LogToServer.generateSessionId = function() { 228 remoting.LogToServer.generateSessionId = function() {
229 var idArray = []; 229 var idArray = [];
230 for (var i = 0; i < remoting.LogToServer.SESSION_ID_LEN_; i++) { 230 for (var i = 0; i < remoting.LogToServer.SESSION_ID_LEN_; i++) {
231 var index = 231 var index =
232 Math.random() * remoting.LogToServer.SESSION_ID_ALPHABET_.length; 232 Math.random() * remoting.LogToServer.SESSION_ID_ALPHABET_.length;
233 idArray.push( 233 idArray.push(
234 remoting.LogToServer.SESSION_ID_ALPHABET_.slice(index, index + 1)); 234 remoting.LogToServer.SESSION_ID_ALPHABET_.slice(index, index + 1));
235 } 235 }
236 return idArray.join(''); 236 return idArray.join('');
237 }; 237 };
OLDNEW
« no previous file with comments | « remoting/webapp/l10n.js ('k') | remoting/webapp/main.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698