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

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: 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') | extensions/common/api/web_request.json » ('J')
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..c6d1fb8ba5e27c498e484a4bfd496548a48cac26 100644
--- a/chrome/common/extensions/docs/templates/intros/webRequest.html
+++ b/chrome/common/extensions/docs/templates/intros/webRequest.html
@@ -210,6 +210,13 @@ 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
lazyboy 2017/02/24 00:17:22 <code>onAuthRequired</code> event), ... nit: chang
karandeepb 2017/02/24 01:04:39 Done.
+$(ref:webRequest.BlockingResponse) object asynchronously, unlike the
+<code>'blocking'</code> mode where the callback has to synchronously return the
+$(ref:webRequest.BlockingResponse).</p>
+
<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') | extensions/common/api/web_request.json » ('J')

Powered by Google App Engine
This is Rietveld 408576698