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

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

Issue 2714023002: Extension Docs: Document asyncBlocking in the Web Request API Docs. (Closed)
Patch Set: Address review Created 3 years, 10 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
« no previous file with comments | « no previous file | extensions/common/api/web_request.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/templates/intros/webRequest.html
diff --git a/chrome/common/extensions/docs/templates/intros/webRequest.html b/chrome/common/extensions/docs/templates/intros/webRequest.html
index 1f578c501ba50c7049b8b3d87722cd5fef82cb6e..df737dcc916cca6278e13d5fd1044b1107b81685 100644
--- a/chrome/common/extensions/docs/templates/intros/webRequest.html
+++ b/chrome/common/extensions/docs/templates/intros/webRequest.html
@@ -210,6 +210,11 @@ request or modifying headers (<code>onBeforeSendHeaders</code>,
<code>onHeadersReceived</code>), or providing authentication credentials
(<code>onAuthRequired</code>).</p>
+<p>If the optional <code>opt_extraInfoSpec</code> array contains the string
+<code>'asyncBlocking'</code> instead (only allowed for
+<code>onAuthRequired</code>), the extension can generate the
+$(ref:webRequest.BlockingResponse) asynchronously.
+
<p>The $(ref:webRequest.RequestFilter)
<code>filter</code> allows limiting the requests for which events are
triggered in various dimensions:
« no previous file with comments | « no previous file | extensions/common/api/web_request.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698