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

Unified Diff: chrome/common/extensions/docs/server2/templates/intros/devtools_network.html

Issue 10832042: Extensions Docs Server: Doc conversion script (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: script/build.py fixes Created 8 years, 5 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/common/extensions/docs/server2/templates/intros/devtools_network.html
diff --git a/chrome/common/extensions/docs/server2/templates/intros/devtools_network.html b/chrome/common/extensions/docs/server2/templates/intros/devtools_network.html
index dd493cbe2a561fcab89cd5c77a5385e00a28bdef..78d0bfc40e19ab4eb6710544f5d49ce90027b96e 100644
--- a/chrome/common/extensions/docs/server2/templates/intros/devtools_network.html
+++ b/chrome/common/extensions/docs/server2/templates/intros/devtools_network.html
@@ -1,4 +1,5 @@
-<!-- BEGIN AUTHORED CONTENT -->
+<div id="pageData-name" class="pageData">chrome.devtools.network
+API</div>
<p id="classSummary">
Use the <code>chrome.devtools.network</code> module to retrieve
the information about network requests displayed by the Developer Tools
@@ -7,9 +8,7 @@ in the Network panel.
See <a href="devtools.html">DevTools APIs summary</a> for
general introduction to using Developer Tools APIs</a>.
</p>
-
<h2>Overview</h2>
-
<p>
Network requests information is represented in the HTTP Archive format
(<em>HAR</em>). The description of HAR is outside of scope of this document,
@@ -34,10 +33,8 @@ In general, the list of
requests returned by <code>getHAR()</code> should match that displayed in
the Network panel.
<h2 id="overview-examples">Examples</h2>
-
<p>The following code logs URLs of all images larger than 40KB as they are
loaded:</p>
-
<pre>
chrome.devtools.network.onRequestFinished.addListener(
function(request) {
@@ -47,10 +44,7 @@ chrome.devtools.network.onRequestFinished.addListener(
"Large image: " + request.request.url);
});
</pre>
-
<p>
You can find more examples that use this API in
<a href="samples.html#devtools.network">Samples</a>.
-</p>
-
-<!-- END AUTHORED CONTENT -->
+</p>

Powered by Google App Engine
This is Rietveld 408576698