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

Unified Diff: chrome/browser/resources/net_internals/log_util.js

Issue 2856223006: Delete chrome://net-internals/#export (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « chrome/browser/resources/net_internals/index.js ('k') | chrome/browser/resources/net_internals/main.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/net_internals/log_util.js
diff --git a/chrome/browser/resources/net_internals/log_util.js b/chrome/browser/resources/net_internals/log_util.js
index a8ebe769f6e4e9c7b1e77b718f4aafdb73a96fa0..40ac3b2ee3eed32355aeb01eed54be22d26516f9 100644
--- a/chrome/browser/resources/net_internals/log_util.js
+++ b/chrome/browser/resources/net_internals/log_util.js
@@ -54,24 +54,6 @@ log_util = (function() {
}
/**
- * Returns a new log dump created using the polled data and date from the
- * |oldLogDump|. The other parts of the log dump come from current
- * net-internals state.
- */
- function createUpdatedLogDump(userComments, oldLogDump, privacyStripping) {
- var numericDate = null;
- if (oldLogDump.constants.clientInfo &&
- oldLogDump.constants.clientInfo.numericDate) {
- numericDate = oldLogDump.constants.clientInfo.numericDate;
- }
- var logDump = createLogDump(
- userComments, Constants,
- EventsTracker.getInstance().getAllCapturedEvents(),
- oldLogDump.polledData, getTabData_(), numericDate, privacyStripping);
- return JSON.stringify(logDump);
- }
-
- /**
* Creates a full log dump using |polledData| and the return value of each
* tab's saveState function and passes it to |callback|.
*/
@@ -290,7 +272,6 @@ log_util = (function() {
// Exports.
return {
- createUpdatedLogDump: createUpdatedLogDump,
createLogDumpAsync: createLogDumpAsync,
loadLogFile: loadLogFile
};
« no previous file with comments | « chrome/browser/resources/net_internals/index.js ('k') | chrome/browser/resources/net_internals/main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698