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

Side by Side Diff: chrome/browser/resources/sync_internals/traffic.js

Issue 12560002: Change var blah_blah -> blahBlah. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 9 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
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 (function() { 5 (function() {
6 var trafficToTextButton = document.getElementById('traffic-to-text'); 6 var trafficToTextButton = document.getElementById('traffic-to-text');
7 var trafficDump = document.getElementById('traffic-dump'); 7 var trafficDump = document.getElementById('traffic-dump');
8 trafficToTextButton.addEventListener('click', function(event) { 8 trafficToTextButton.addEventListener('click', function(event) {
9 chrome.sync.getClientServerTraffic(printData); 9 chrome.sync.getClientServerTraffic(printData);
10 }); 10 });
11 11
12 function printData(trafficRecord) { 12 function printData(trafficRecord) {
13 var traffic_data = ''; 13 var trafficData = '';
14 traffic_data += '===\n'; 14 trafficData += '===\n';
15 traffic_data += 'Client Server Traffic\n'; 15 trafficData += 'Client Server Traffic\n';
16 traffic_data += '===\n'; 16 trafficData += '===\n';
17 traffic_data += JSON.stringify(trafficRecord, null, 2); 17 trafficData += JSON.stringify(trafficRecord, null, 2);
18 traffic_data += '\n'; 18 trafficData += '\n';
19 19
20 trafficDump.textContent = traffic_data; 20 trafficDump.textContent = trafficData;
21 } 21 }
22 })(); 22 })();
OLDNEW
« no previous file with comments | « chrome/browser/resources/suggestions_internals/suggestions_internals.js ('k') | chrome/browser/resources/task_manager/main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698