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

Unified Diff: chrome/browser/resources/sync_internals/traffic.js

Issue 217633003: sync: Remove TrafficRecorder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/sync_internals/traffic.js
diff --git a/chrome/browser/resources/sync_internals/traffic.js b/chrome/browser/resources/sync_internals/traffic.js
deleted file mode 100644
index 2e56fb53085b6647d1f1a2f408b0eccf60f2c0a5..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/sync_internals/traffic.js
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-(function() {
- var trafficToTextButton = document.getElementById('traffic-to-text');
- var trafficDump = document.getElementById('traffic-dump');
- trafficToTextButton.addEventListener('click', function(event) {
- chrome.sync.getClientServerTraffic(printData);
-});
-
-function printData(trafficRecord) {
- var trafficData = '';
- trafficData += '===\n';
- trafficData += 'Client Server Traffic\n';
- trafficData += '===\n';
- trafficData += JSON.stringify(trafficRecord, null, 2);
- trafficData += '\n';
-
- trafficDump.textContent = trafficData;
-}
-})();
« no previous file with comments | « chrome/browser/resources/sync_internals/traffic.html ('k') | chrome/browser/resources/sync_internals_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698