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

Side by Side Diff: chrome/common/extensions/docs/server2/templates/intros/webRequest.html

Issue 10750017: Extensions Docs Server: Intro data source (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!-- BEGIN AUTHORED CONTENT --> 1 <!-- BEGIN AUTHORED CONTENT -->
2 <p id="classSummary"> 2 <p id="classSummary">
3 Use the <code>chrome.webRequest</code> module to intercept, block, 3 Use the <code>chrome.webRequest</code> module to intercept, block,
4 or modify requests in-flight and to observe and analyze traffic. 4 or modify requests in-flight and to observe and analyze traffic.
5 </p> 5 </p>
6 <h2 id="manifest">Manifest</h2> 6 <h2 id="manifest">Manifest</h2>
7 <p>You must declare the "webRequest" permission in the <a 7 <p>You must declare the "webRequest" permission in the <a
8 href="manifest.html">extension manifest</a> to use the web request 8 href="manifest.html">extension manifest</a> to use the web request
9 API, along with <a href="manifest.html#permissions">host permissions</a> 9 API, along with <a href="manifest.html#permissions">host permissions</a>
10 for any hosts whose network requests you want to access. If you want to 10 for any hosts whose network requests you want to access. If you want to
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 } 267 }
268 } 268 }
269 return {requestHeaders: details.requestHeaders}; 269 return {requestHeaders: details.requestHeaders};
270 }, 270 },
271 {urls: ["&lt;all_urls&gt;"]}, 271 {urls: ["&lt;all_urls&gt;"]},
272 ["blocking", "requestHeaders"]); 272 ["blocking", "requestHeaders"]);
273 </pre> 273 </pre>
274 <p> For more example code, see the <a href="samples.html#webrequest">web request 274 <p> For more example code, see the <a href="samples.html#webrequest">web request
275 samples</a>.</p> 275 samples</a>.</p>
276 <!-- END AUTHORED CONTENT --> 276 <!-- END AUTHORED CONTENT -->
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698