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

Side by Side Diff: chrome/browser/resources/net_internals/index.html

Issue 6025017: Adds the ability to load JSON log files to about:net-internals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Put load log button on its own line Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <head i18n-values="dir:textdirection;"> 2 <head i18n-values="dir:textdirection;">
3 <!-- 3 <!--
4 Copyright (c) 2010 The Chromium Authors. All rights reserved. 4 Copyright (c) 2010 The Chromium Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be 5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file. 6 found in the LICENSE file.
7 --> 7 -->
8 <head> 8 <head>
9 <link rel="stylesheet" href="main.css"> 9 <link rel="stylesheet" href="main.css">
10 <link rel="stylesheet" href="tabswitcherview.css"> 10 <link rel="stylesheet" href="tabswitcherview.css">
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 <tbody id=namespaceProvidersTbody> 195 <tbody id=namespaceProvidersTbody>
196 </tbody> 196 </tbody>
197 </table> 197 </table>
198 </div> 198 </div>
199 <!-- Import/Export data --> 199 <!-- Import/Export data -->
200 <div id=dataTabContent> 200 <div id=dataTabContent>
201 201
202 <table width=100%> 202 <table width=100%>
203 <tr> 203 <tr>
204 <td valign=top> 204 <td valign=top>
205 <h2>Dump data</h2> 205 <div id=dataViewDumpDataDiv>
206 <div style="margin: 8px"> 206 <h2>Dump data</h2>
207 <p><input id=securityStrippingCheckbox type=checkbox checked=yes> 207 <div style="margin: 8px">
208 Strip private information (cookies and credentials). 208 <p><input id=securityStrippingCheckbox type=checkbox checked=yes>
209 </p> 209 Strip private information (cookies and credentials).
210 <p> 210 </p>
211 <a href="javascript:displayHelpForBugDump()"> 211 <p>
212 Help: How to get data for bug reports? 212 <a href="javascript:displayHelpForBugDump()">
213 </a> 213 Help: How to get data for bug reports?
214 </p> 214 </a>
215 <button id=exportToText class=bigButton>Dump to text</button> 215 </p>
216 <button id=exportToText class=bigButton>Dump to text</button>
217 </div>
218 </div>
219 <div id=dataViewLoadDataDiv>
220 <h2>Load data</h2>
221 <div style="margin: 8px">
222 <p><input type=button value="Load log from file" id=dataViewLoadLogFil e /></p>
223 <p>Only works with log files created with "--log-net-log=file_name".</ p>
224 <p>Once a log is loaded, this page will stop collecting data, and will
225 only start gathering data again when the page is
226 <a href="javascript:history.go(0);">reloaded</a>.<BR>
227 </p>
228 </div>
216 </div> 229 </div>
217 </td> 230 </td>
218 231
219 <td align=right valign=top> 232 <td align=right valign=top>
220 <div class="capturingBox"> 233 <div class="capturingBox" id=dataViewCapturingBox>
221 <b>Capturing all events...</b> 234 <span id=dataViewCapturingTextSpan>
235 <b>Capturing all events...</b>
236 </span>
237 <span id=dataViewLoggingTextSpan style="display: none;">
238 <b>Viewing loaded log file.</b>
239 </span>
222 <table style="margin: 8px"> 240 <table style="margin: 8px">
223 <tr> 241 <tr>
224 <td>Passively captured:</td> 242 <td>Passively captured:</td>
225 <td align=right id=passivelyCapturedCount></td> 243 <td align=right id=passivelyCapturedCount></td>
226 </tr> 244 </tr>
227 <tr> 245 <tr>
228 <td>Actively captured:</td> 246 <td>Actively captured:</td>
229 <td align=right id=activelyCapturedCount></td> 247 <td align=right id=activelyCapturedCount></td>
230 </tr> 248 </tr>
231 </table> 249 </table>
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 <td class=tabSwitcherSpacer>&nbsp;</td> 377 <td class=tabSwitcherSpacer>&nbsp;</td>
360 <th id=detailsTimelineTab>Timeline</th> 378 <th id=detailsTimelineTab>Timeline</th>
361 </tr> 379 </tr>
362 </table> 380 </table>
363 <div class=tabSwitcherLine></div> 381 <div class=tabSwitcherLine></div>
364 </div> 382 </div>
365 <div id=detailsLogBox></div> 383 <div id=detailsLogBox></div>
366 <div id=detailsTimelineBox></div> 384 <div id=detailsTimelineBox></div>
367 </body> 385 </body>
368 </html> 386 </html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/net_internals/eventsview.js ('k') | chrome/browser/resources/net_internals/main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698