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

Side by Side Diff: chrome/common/extensions/docs/experimental.webRequest.html

Issue 6698009: Add request_id to HttpRequestInfo and pass it to the NetworkDelegate for events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: feedback Created 9 years, 9 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><!-- This page is a placeholder for generated extensions api doc. Note: 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note:
2 1) The <head> information in this page is significant, should be uniform 2 1) The <head> information in this page is significant, should be uniform
3 across api docs and should be edited only with knowledge of the 3 across api docs and should be edited only with knowledge of the
4 templating mechanism. 4 templating mechanism.
5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a
6 browser, it will be re-generated from the template, json schema and 6 browser, it will be re-generated from the template, json schema and
7 authored overview content. 7 authored overview content.
8 4) The <body>.innerHTML is also generated by an offline step so that this 8 4) The <body>.innerHTML is also generated by an offline step so that this
9 page may easily be indexed by search engines. 9 page may easily be indexed by search engines.
10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head>
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 </ol> 287 </ol>
288 </li> 288 </li>
289 <li> 289 <li>
290 <a href="#global-events">Events</a> 290 <a href="#global-events">Events</a>
291 <ol> 291 <ol>
292 <li> 292 <li>
293 <a href="#event-onBeforeRedirect">onBeforeRedirect</a> 293 <a href="#event-onBeforeRedirect">onBeforeRedirect</a>
294 </li><li> 294 </li><li>
295 <a href="#event-onBeforeRequest">onBeforeRequest</a> 295 <a href="#event-onBeforeRequest">onBeforeRequest</a>
296 </li><li> 296 </li><li>
297 <a href="#event-onBeforeSendHeaders">onBeforeSendHeaders </a>
298 </li><li>
297 <a href="#event-onCompleted">onCompleted</a> 299 <a href="#event-onCompleted">onCompleted</a>
298 </li><li> 300 </li><li>
299 <a href="#event-onErrorOccurred">onErrorOccurred</a> 301 <a href="#event-onErrorOccurred">onErrorOccurred</a>
300 </li><li> 302 </li><li>
301 <a href="#event-onHeadersReceived">onHeadersReceived</a> 303 <a href="#event-onHeadersReceived">onHeadersReceived</a>
302 </li><li> 304 </li><li>
303 <a href="#event-onRequestSent">onRequestSent</a> 305 <a href="#event-onRequestSent">onRequestSent</a>
304 </li> 306 </li>
305 </ol> 307 </ol>
306 </li> 308 </li>
(...skipping 1111 matching lines...) Expand 10 before | Expand all | Expand 10 after
1418 <div></div> 1420 <div></div>
1419 </dd> 1421 </dd>
1420 1422
1421 </div> 1423 </div>
1422 </div> 1424 </div>
1423 </dl> 1425 </dl>
1424 </div> 1426 </div>
1425 </div> <!-- /decription --> 1427 </div> <!-- /decription -->
1426 1428
1427 </div><div class="apiItem"> 1429 </div><div class="apiItem">
1430 <a name="event-onBeforeSendHeaders"></a>
1431 <h4>onBeforeSendHeaders</h4>
1432
1433 <div class="summary">
1434 <!-- Note: intentionally longer 80 columns -->
1435 <span class="subdued">chrome.experimental.webRequest.</span><spa n>onBeforeSendHeaders</span><span class="subdued">.addListener</span>(function(< span>object details</span>) <span class="subdued">{...}</span>);
1436 </div>
1437
1438 <div class="description">
1439 <p class="todo" style="display: none; ">Undocumented.</p>
1440 <p>Fires before sending an HTTP request, once the request header s are available.</p>
1441
1442 <!-- PARAMETERS -->
1443 <div>
1444 <h4>Parameters</h4>
1445 <dl>
1446 <div>
1447 <div>
1448 <dt>
1449 <var>details</var>
1450 <em>
1451
1452 <!-- TYPE -->
1453 <div style="display:inline">
1454 (
1455 <span class="optional" style="display: none; ">optional</spa n>
1456 <span class="enum" style="display: none; ">enumerated</span>
1457 <span id="typeTemplate">
1458 <span style="display: none; ">
1459 <a> Type</a>
1460 </span>
1461 <span>
1462 <span style="display: none; ">
1463 array of <span><span></span></span>
1464 </span>
1465 <span>object</span>
1466 <span style="display: none; "></span>
1467 </span>
1468 </span>
1469 )
1470 </div>
1471
1472 </em>
1473 </dt>
1474 <dd class="todo">
1475 Undocumented.
1476 </dd>
1477 <dd style="display: none; ">
1478 Description of this parameter from the json schema.
1479 </dd>
1480 <dd style="display: none; ">
1481 This parameter was added in version
1482 <b><span></span></b>.
1483 You must omit this parameter in earlier versions,
1484 and you may omit it in any version. If you require this
1485 parameter, the manifest key
1486 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1487 can ensure that your extension won't be run in an earlier browser ve rsion.
1488 </dd>
1489
1490 <!-- OBJECT PROPERTIES -->
1491 <dd>
1492 <dl>
1493 <div>
1494 <div>
1495 <dt>
1496 <var>requestId</var>
1497 <em>
1498
1499 <!-- TYPE -->
1500 <div style="display:inline">
1501 (
1502 <span class="optional" style="display: none; ">optional</spa n>
1503 <span class="enum" style="display: none; ">enumerated</span>
1504 <span id="typeTemplate">
1505 <span style="display: none; ">
1506 <a> Type</a>
1507 </span>
1508 <span>
1509 <span style="display: none; ">
1510 array of <span><span></span></span>
1511 </span>
1512 <span>string</span>
1513 <span style="display: none; "></span>
1514 </span>
1515 </span>
1516 )
1517 </div>
1518
1519 </em>
1520 </dt>
1521 <dd class="todo" style="display: none; ">
1522 Undocumented.
1523 </dd>
1524 <dd>The ID of the request. Request IDs are unique within a browser ses sion. As a result, they could be used to relate different events of the same req uest.</dd>
1525 <dd style="display: none; ">
1526 This parameter was added in version
1527 <b><span></span></b>.
1528 You must omit this parameter in earlier versions,
1529 and you may omit it in any version. If you require this
1530 parameter, the manifest key
1531 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1532 can ensure that your extension won't be run in an earlier browser ve rsion.
1533 </dd>
1534
1535 <!-- OBJECT PROPERTIES -->
1536 <dd style="display: none; ">
1537 <dl>
1538 <div>
1539 <div>
1540 </div>
1541 </div>
1542 </dl>
1543 </dd>
1544
1545 <!-- OBJECT METHODS -->
1546 <dd style="display: none; ">
1547 <div></div>
1548 </dd>
1549
1550 <!-- OBJECT EVENT FIELDS -->
1551 <dd style="display: none; ">
1552 <div></div>
1553 </dd>
1554
1555 <!-- FUNCTION PARAMETERS -->
1556 <dd style="display: none; ">
1557 <div></div>
1558 </dd>
1559
1560 </div>
1561 </div><div>
1562 <div>
1563 <dt>
1564 <var>url</var>
1565 <em>
1566
1567 <!-- TYPE -->
1568 <div style="display:inline">
1569 (
1570 <span class="optional" style="display: none; ">optional</spa n>
1571 <span class="enum" style="display: none; ">enumerated</span>
1572 <span id="typeTemplate">
1573 <span style="display: none; ">
1574 <a> Type</a>
1575 </span>
1576 <span>
1577 <span style="display: none; ">
1578 array of <span><span></span></span>
1579 </span>
1580 <span>string</span>
1581 <span style="display: none; "></span>
1582 </span>
1583 </span>
1584 )
1585 </div>
1586
1587 </em>
1588 </dt>
1589 <dd class="todo">
1590 Undocumented.
1591 </dd>
1592 <dd style="display: none; ">
1593 Description of this parameter from the json schema.
1594 </dd>
1595 <dd style="display: none; ">
1596 This parameter was added in version
1597 <b><span></span></b>.
1598 You must omit this parameter in earlier versions,
1599 and you may omit it in any version. If you require this
1600 parameter, the manifest key
1601 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1602 can ensure that your extension won't be run in an earlier browser ve rsion.
1603 </dd>
1604
1605 <!-- OBJECT PROPERTIES -->
1606 <dd style="display: none; ">
1607 <dl>
1608 <div>
1609 <div>
1610 </div>
1611 </div>
1612 </dl>
1613 </dd>
1614
1615 <!-- OBJECT METHODS -->
1616 <dd style="display: none; ">
1617 <div></div>
1618 </dd>
1619
1620 <!-- OBJECT EVENT FIELDS -->
1621 <dd style="display: none; ">
1622 <div></div>
1623 </dd>
1624
1625 <!-- FUNCTION PARAMETERS -->
1626 <dd style="display: none; ">
1627 <div></div>
1628 </dd>
1629
1630 </div>
1631 </div><div>
1632 <div>
1633 <dt>
1634 <var>timeStamp</var>
1635 <em>
1636
1637 <!-- TYPE -->
1638 <div style="display:inline">
1639 (
1640 <span class="optional" style="display: none; ">optional</spa n>
1641 <span class="enum" style="display: none; ">enumerated</span>
1642 <span id="typeTemplate">
1643 <span style="display: none; ">
1644 <a> Type</a>
1645 </span>
1646 <span>
1647 <span style="display: none; ">
1648 array of <span><span></span></span>
1649 </span>
1650 <span>number</span>
1651 <span style="display: none; "></span>
1652 </span>
1653 </span>
1654 )
1655 </div>
1656
1657 </em>
1658 </dt>
1659 <dd class="todo" style="display: none; ">
1660 Undocumented.
1661 </dd>
1662 <dd>The time when the browser was about to make the request, in millis econds since the epoch.</dd>
1663 <dd style="display: none; ">
1664 This parameter was added in version
1665 <b><span></span></b>.
1666 You must omit this parameter in earlier versions,
1667 and you may omit it in any version. If you require this
1668 parameter, the manifest key
1669 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1670 can ensure that your extension won't be run in an earlier browser ve rsion.
1671 </dd>
1672
1673 <!-- OBJECT PROPERTIES -->
1674 <dd style="display: none; ">
1675 <dl>
1676 <div>
1677 <div>
1678 </div>
1679 </div>
1680 </dl>
1681 </dd>
1682
1683 <!-- OBJECT METHODS -->
1684 <dd style="display: none; ">
1685 <div></div>
1686 </dd>
1687
1688 <!-- OBJECT EVENT FIELDS -->
1689 <dd style="display: none; ">
1690 <div></div>
1691 </dd>
1692
1693 <!-- FUNCTION PARAMETERS -->
1694 <dd style="display: none; ">
1695 <div></div>
1696 </dd>
1697
1698 </div>
1699 </div>
1700 </dl>
1701 </dd>
1702
1703 <!-- OBJECT METHODS -->
1704 <dd style="display: none; ">
1705 <div></div>
1706 </dd>
1707
1708 <!-- OBJECT EVENT FIELDS -->
1709 <dd style="display: none; ">
1710 <div></div>
1711 </dd>
1712
1713 <!-- FUNCTION PARAMETERS -->
1714 <dd style="display: none; ">
1715 <div></div>
1716 </dd>
1717
1718 </div>
1719 </div>
1720 </dl>
1721 </div>
1722 </div> <!-- /decription -->
1723
1724 </div><div class="apiItem">
1428 <a name="event-onCompleted"></a> 1725 <a name="event-onCompleted"></a>
1429 <h4>onCompleted</h4> 1726 <h4>onCompleted</h4>
1430 1727
1431 <div class="summary"> 1728 <div class="summary">
1432 <!-- Note: intentionally longer 80 columns --> 1729 <!-- Note: intentionally longer 80 columns -->
1433 <span class="subdued">chrome.experimental.webRequest.</span><spa n>onCompleted</span><span class="subdued">.addListener</span>(function(<span>obj ect details</span>) <span class="subdued">{...}</span>); 1730 <span class="subdued">chrome.experimental.webRequest.</span><spa n>onCompleted</span><span class="subdued">.addListener</span>(function(<span>obj ect details</span>) <span class="subdued">{...}</span>);
1434 </div> 1731 </div>
1435 1732
1436 <div class="description"> 1733 <div class="description">
1437 <p class="todo" style="display: none; ">Undocumented.</p> 1734 <p class="todo" style="display: none; ">Undocumented.</p>
(...skipping 1849 matching lines...) Expand 10 before | Expand all | Expand 10 after
3287 _uff=0; 3584 _uff=0;
3288 urchinTracker(); 3585 urchinTracker();
3289 } 3586 }
3290 catch(e) {/* urchinTracker not available. */} 3587 catch(e) {/* urchinTracker not available. */}
3291 </script> 3588 </script>
3292 <!-- end analytics --> 3589 <!-- end analytics -->
3293 </div> 3590 </div>
3294 </div> <!-- /gc-footer --> 3591 </div> <!-- /gc-footer -->
3295 </div> <!-- /gc-container --> 3592 </div> <!-- /gc-container -->
3296 </body></html> 3593 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698