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

Side by Side Diff: components/net_log/resources/net_export.html

Issue 2757473002: Cosmetic changes to chrome://net-export, primarily for desktop mode. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « components/net_log/resources/net_export.css ('k') | components/net_log/resources/net_export.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <if expr="is_android"> 5 <if expr="is_android">
6 <meta name="viewport" content="width=device-width"> 6 <meta name="viewport" content="width=device-width">
7 </if> 7 </if>
8 8
9 <if expr="is_ios"> 9 <if expr="is_ios">
10 <!-- TODO(crbug.com/487000): Remove this once injected by web. --> 10 <!-- TODO(crbug.com/487000): Remove this once injected by web. -->
11 <script src="chrome://resources/js/ios/web_ui.js"></script> 11 <script src="chrome://resources/js/ios/web_ui.js"></script>
12 </if> 12 </if>
13 13
14 <script src="chrome://resources/js/util.js"></script> 14 <script src="chrome://resources/js/util.js"></script>
15 <script src="chrome://resources/js/cr.js"></script> 15 <script src="chrome://resources/js/cr.js"></script>
16 <script src="chrome://net-export/net_export.js"></script> 16 <script src="chrome://net-export/net_export.js"></script>
17 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css"> 17 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
18 <link rel="stylesheet" href="net_export.css"> 18 <link rel="stylesheet" href="net_export.css">
19 <title>Network Log Export</title>
19 </head> 20 </head>
20 <body> 21 <body>
21 <h2>Network Log Export</h2> 22 <h2>Network Log Export</h2>
22 <div id="net-export-main"> 23 <div id="net-export-main">
23 <div> 24 <div>
24 <button id="export-view-start-data" disabled> 25 <button id="export-view-start-data" disabled>
25 Start Logging to Disk 26 <span class="export-view-logging-enabled">Start Logging to Disk</span>
26 <div class="warning" id="export-view-deletes-log-text" hidden> 27 <span class="export-view-logging-disabled">Logging to Disk...</span>
27 Deletes old log 28 <if expr="is_ios or is_android">
28 </div> 29 <div class="warning" id="export-view-mobile-deletes-log-text" hidden>
30 Deletes old log
31 </div>
32 </if>
29 </button> 33 </button>
30 </div> 34 </div>
31 <div> 35 <div>
32 <button id="export-view-stop-data" disabled>Stop Logging</button> 36 <button id="export-view-stop-data" disabled>Stop Logging</button>
33 </div> 37 </div>
34 <div> 38 <div>
35 <button id="export-view-send-data" disabled> 39 <if expr="is_ios or is_android">
36 Email Log 40 <button id="export-view-mobile-send-data" disabled>
37 <div class="warning" id="export-view-private-data-text" hidden> 41 Email Log
38 Log contains private information 42 <div class="warning" id="export-view-mobile-private-data-text" hidden>
39 </div> 43 Log contains private information
40 <div class="warning" id="export-view-send-old-log-text" hidden> 44 </div>
41 Log file from previous session 45 <div class="warning" id="export-view-mobile-send-old-log-text" hidden>
42 </div> 46 Log file from previous session
43 </button> 47 </div>
48 </button>
49 </if>
44 </div> 50 </div>
45 <p> 51 <p>
46 <b>INSTRUCTIONS</b>: Start logging, reproduce the problem, 52 <b>INSTRUCTIONS</b>: Start logging, reproduce the problem,
47 and then stop logging. Make sure to send the email before 53 and then stop logging.
48 starting to log again. Otherwise, the log will be deleted. 54
55 <if expr="is_ios or is_android">
56 Once logging has stopped, click the "Email Log" button to save the
57 file. Starting a new log will overwrite the old one.
58 </if>
59
60 <if expr="not(is_ios or is_android)">
61 Once logging has stopped, attach the log file to the bug report.
62 </if>
49 </p> 63 </p>
50 <p> 64 <p>
51 <!-- TODO(rayraymond): Change link to that of new standalone webapp. 65 <!-- TODO(rayraymond): Change link to that of new standalone webapp.
52 See http://crbug.com/472699 --> 66 See http://crbug.com/472699 -->
53 Logs can be loaded in 67 Logs files can be loaded using
xunjieli 2017/03/16 19:49:49 nit: maybe "Logs files" -> "Log files"
eroman 2017/03/16 21:46:55 Done.
54 <a href="chrome://net-internals" target="_blank">net-internals</a> 68 <a href="chrome://net-internals#import" target="_blank">net-internals</a>.
55 of desktop Chrome.
56 </p> 69 </p>
57 <p> 70 <p>
58 <b><span class="warning">WARNING</span></b>: Logs contain a list of sites 71 <b><span class="warning">WARNING</span></b>: Logs contain a list of sites
59 visited from when logging started to when logging stopped. They may also 72 visited from when logging started to when logging stopped. They may also
60 contain general network configuration information, such as DNS and proxy 73 contain general network configuration information, such as DNS and proxy
61 configuration. If private information is not stripped, the logs also 74 configuration. If private information is not stripped, the logs also
62 contain cookies and credentials. 75 contain cookies and credentials.
63 </p> 76 </p>
64 <p> 77 <p>
65 <b>ADVANCED</b>: 78 <b>ADVANCED</b>:
(...skipping 17 matching lines...) Expand all
83 <input id="export-view-log-bytes-button" type="radio" 96 <input id="export-view-log-bytes-button" type="radio"
84 name="log-mode" value="LOG_BYTES" disabled> 97 name="log-mode" value="LOG_BYTES" disabled>
85 Include raw bytes (will include cookies and credentials) 98 Include raw bytes (will include cookies and credentials)
86 </label> 99 </label>
87 </div> 100 </div>
88 </p> 101 </p>
89 </div> 102 </div>
90 <pre id="export-view-file-path-text"></pre> 103 <pre id="export-view-file-path-text"></pre>
91 </body> 104 </body>
92 </html> 105 </html>
OLDNEW
« no previous file with comments | « components/net_log/resources/net_export.css ('k') | components/net_log/resources/net_export.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698