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

Unified Diff: chrome/browser/resources/net_export/net_export.html

Issue 11828036: First cut at UI for saving net_logs data into a temporary file on (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/net_export/net_export.html
===================================================================
--- chrome/browser/resources/net_export/net_export.html (revision 0)
+++ chrome/browser/resources/net_export/net_export.html (revision 0)
@@ -0,0 +1,55 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<meta charset="utf-8">
+<script src="chrome://resources/js/util.js"></script>
+<script src="chrome://resources/js/cr.js"></script>
+<script src="chrome://net-export/net_export.js"></script>
+
+<style>
+
+body {
+ font-family: sans-serif;
+ font-size: 80%;
+}
+
+button {
+ font-size: 100%;
+ font-weight: bold;
+}
+
+.warning {
+ color: red;
+}
+
+</style>
+</head>
+<body>
+ <h2>NetLog Export</h2>
+ <div style="margin: 8px">
+ <div>
+ <button id=export-view-start-data>Start Logging to Disk</button>
+ <span class="warning">Deletes old log</span>
+ </div>
+ <div>
+ <button id=export-view-stop-data>Stop Logging</button>
+ </div>
+ <div>
+ <button id=export-view-send-data>Email Log</button>
+ </div>
+ <pre id=export-view-file-path-text></pre>
+
+ <ul>
+ <li><b>INSTRUCTIONS</b>: Start logging, reproduce the problem,
+ and then stop logging. Make sure to send the email before
+ starting to log again. Otherwise, the log will be deleted.
+ </li>
+ </ul>
+ <p>
+ Logs can be loaded in
+ <a href="chrome://net-internals" target="_blank">net-internals</a>
+ of desktop Chrome.
+ </p>
+ </div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698