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

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

Issue 2857973003: Add a "Show File" button to chrome://net-export/ (Closed)
Patch Set: Created 3 years, 7 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
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. -->
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 <div class="section-container"> 88 <div class="section-container">
89 <p>Reproduce the network problem now using another tab. When you are 89 <p>Reproduce the network problem now using another tab. When you are
90 done, return to this page and click the Stop button.</p> 90 done, return to this page and click the Stop button.</p>
91 91
92 <p>All of your browser's networking activity will be written to the log 92 <p>All of your browser's networking activity will be written to the log
93 file until you either click the Stop button, or close this tab.</p> 93 file until you either click the Stop button, or close this tab.</p>
94 </div> 94 </div>
95 95
96 <div class="outline-box"> 96 <div class="outline-box">
97 <b>FILE:</b> <span id='file-path-logging'></span> <br/> 97 <b>FILE:</b> <span id="file-path-logging"></span> <br/>
98 <b>OPTIONS:</b> <span id="capture-mode-logging"></span> 98 <b>OPTIONS:</b> <span id="capture-mode-logging"></span>
99 </div> 99 </div>
100 </div> 100 </div>
101 101
102 <!-- 102 <!--
103 ========================================================================= 103 =========================================================================
104 View for "stopped" state. 104 View for "stopped" state.
105 * Shows where the log file was saved to 105 * Shows where the log file was saved to
106 * Has controls to email the log (mobile) 106 * Has controls to email the log (mobile)
107 ========================================================================= 107 =========================================================================
108 --> 108 -->
109 <div id="state-stopped"> 109 <div id="state-stopped">
110 <h2>Log file written</h2> 110 <h2>Log file written</h2>
111 111
112 <if expr="is_ios or is_android"> 112 <if expr="is_ios or is_android">
113 <button id="mobile-email"> 113 <button id="mobile-email">Email Log</button>
114 Email Log 114 </if>
115 <div class="warning" id="mobile-private-data-text" hidden>
eroman 2017/05/03 18:35:47 This was unused after my previous CL, just cleanin
116 Log contains private information
117 </div>
118 115
119 <div class="warning" id="mobile-send-old-log-text" hidden> 116 <if expr="not(is_ios or is_android)">
120 Log file from previous session 117 <button id="show-file">Show File</button>
121 </div>
122 </button>
123 </if> 118 </if>
124 119
125 <button id="startover"> 120 <button id="startover">
126 Start Over 121 Start Over
127 </button> 122 </button>
128 123
129 <div class="section-container"> 124 <div class="section-container">
130 <if expr="is_ios or is_android"> 125 <if expr="is_ios or is_android">
131 Share the log by emailing it, and you are done! 126 Share the log by emailing it, and you are done!
132 </if> 127 </if>
133 128
134 <if expr="not(is_ios or is_android)"> 129 <if expr="not(is_ios or is_android)">
135 Attach the log file to your bug report, and you are done! 130 Attach the log file to your bug report, and you are done!
136 </if> 131 </if>
137 </div> 132 </div>
138 133
134 <!-- TODO(eroman): This is duplicated with the logging state -->
139 <div class="outline-box"> 135 <div class="outline-box">
140 <b>FILE:</b> <span id='file-path-stopped'></span> <br/> 136 <b>FILE:</b> <span id="file-path-stopped"></span> <br/>
141 <b>OPTIONS:</b> <span id="capture-mode-stopped"></span> 137 <b>OPTIONS:</b> <span id="capture-mode-stopped"></span>
142 </div> 138 </div>
143 139
144 <div class="section-container"> 140 <div class="section-container">
145 <!-- TODO(rayraymond): Change link to that of new standalone webapp. 141 <!-- TODO(rayraymond): Change link to that of new standalone webapp.
146 See http://crbug.com/472699 --> 142 See http://crbug.com/472699 -->
147 The log file can also be loaded using 143 The log file can also be loaded using
148 <a href="chrome://net-internals#import" 144 <a href="chrome://net-internals#import"
149 target="_blank">net-internals</a>. 145 target="_blank">net-internals</a>.
150 </div> 146 </div>
(...skipping 13 matching lines...) Expand all
164 such as the proxy configuration used.</li> 160 such as the proxy configuration used.</li>
165 <li>The default logging options do a <i>best-effort</i> stripping of 161 <li>The default logging options do a <i>best-effort</i> stripping of
166 any cookies/credentials in the logged requests.</li> 162 any cookies/credentials in the logged requests.</li>
167 </ul> 163 </ul>
168 </div> 164 </div>
169 </div> 165 </div>
170 </div> 166 </div>
171 </div> 167 </div>
172 </body> 168 </body>
173 </html> 169 </html>
OLDNEW
« no previous file with comments | « components/net_log/net_export_ui_constants.cc ('k') | components/net_log/resources/net_export.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698