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; |
-} |
-})(); |