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

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: test fixes 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 975 matching lines...) Expand 10 before | Expand all | Expand 10 after
1282 <div></div> 1284 <div></div>
1283 </dd> 1285 </dd>
1284 1286
1285 </div> 1287 </div>
1286 </div> 1288 </div>
1287 </dl> 1289 </dl>
1288 </div> 1290 </div>
1289 </div> <!-- /decription --> 1291 </div> <!-- /decription -->
1290 1292
1291 </div><div class="apiItem"> 1293 </div><div class="apiItem">
1294 <a name="event-onBeforeSendHeaders"></a>
1295 <h4>onBeforeSendHeaders</h4>
1296
1297 <div class="summary">
1298 <!-- Note: intentionally longer 80 columns -->
1299 <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>);
1300 </div>
1301
1302 <div class="description">
1303 <p class="todo" style="display: none; ">Undocumented.</p>
1304 <p>Fires before sending an HTTP request, once the request header s are available.</p>
1305
1306 <!-- PARAMETERS -->
1307 <div>
1308 <h4>Parameters</h4>
1309 <dl>
1310 <div>
1311 <div>
1312 <dt>
1313 <var>details</var>
1314 <em>
1315
1316 <!-- TYPE -->
1317 <div style="display:inline">
1318 (
1319 <span class="optional" style="display: none; ">optional</spa n>
1320 <span class="enum" style="display: none; ">enumerated</span>
1321 <span id="typeTemplate">
1322 <span style="display: none; ">
1323 <a> Type</a>
1324 </span>
1325 <span>
1326 <span style="display: none; ">
1327 array of <span><span></span></span>
1328 </span>
1329 <span>object</span>
1330 <span style="display: none; "></span>
1331 </span>
1332 </span>
1333 )
1334 </div>
1335
1336 </em>
1337 </dt>
1338 <dd class="todo">
1339 Undocumented.
1340 </dd>
1341 <dd style="display: none; ">
1342 Description of this parameter from the json schema.
1343 </dd>
1344 <dd style="display: none; ">
1345 This parameter was added in version
1346 <b><span></span></b>.
1347 You must omit this parameter in earlier versions,
1348 and you may omit it in any version. If you require this
1349 parameter, the manifest key
1350 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1351 can ensure that your extension won't be run in an earlier browser ve rsion.
1352 </dd>
1353
1354 <!-- OBJECT PROPERTIES -->
1355 <dd>
1356 <dl>
1357 <div>
1358 <div>
1359 <dt>
1360 <var>requestId</var>
1361 <em>
1362
1363 <!-- TYPE -->
1364 <div style="display:inline">
1365 (
1366 <span class="optional" style="display: none; ">optional</spa n>
1367 <span class="enum" style="display: none; ">enumerated</span>
1368 <span id="typeTemplate">
1369 <span style="display: none; ">
1370 <a> Type</a>
1371 </span>
1372 <span>
1373 <span style="display: none; ">
1374 array of <span><span></span></span>
1375 </span>
1376 <span>string</span>
1377 <span style="display: none; "></span>
1378 </span>
1379 </span>
1380 )
1381 </div>
1382
1383 </em>
1384 </dt>
1385 <dd class="todo" style="display: none; ">
1386 Undocumented.
1387 </dd>
1388 <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>
1389 <dd style="display: none; ">
1390 This parameter was added in version
1391 <b><span></span></b>.
1392 You must omit this parameter in earlier versions,
1393 and you may omit it in any version. If you require this
1394 parameter, the manifest key
1395 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1396 can ensure that your extension won't be run in an earlier browser ve rsion.
1397 </dd>
1398
1399 <!-- OBJECT PROPERTIES -->
1400 <dd style="display: none; ">
1401 <dl>
1402 <div>
1403 <div>
1404 </div>
1405 </div>
1406 </dl>
1407 </dd>
1408
1409 <!-- OBJECT METHODS -->
1410 <dd style="display: none; ">
1411 <div></div>
1412 </dd>
1413
1414 <!-- OBJECT EVENT FIELDS -->
1415 <dd style="display: none; ">
1416 <div></div>
1417 </dd>
1418
1419 <!-- FUNCTION PARAMETERS -->
1420 <dd style="display: none; ">
1421 <div></div>
1422 </dd>
1423
1424 </div>
1425 </div><div>
1426 <div>
1427 <dt>
1428 <var>url</var>
1429 <em>
1430
1431 <!-- TYPE -->
1432 <div style="display:inline">
1433 (
1434 <span class="optional" style="display: none; ">optional</spa n>
1435 <span class="enum" style="display: none; ">enumerated</span>
1436 <span id="typeTemplate">
1437 <span style="display: none; ">
1438 <a> Type</a>
1439 </span>
1440 <span>
1441 <span style="display: none; ">
1442 array of <span><span></span></span>
1443 </span>
1444 <span>string</span>
1445 <span style="display: none; "></span>
1446 </span>
1447 </span>
1448 )
1449 </div>
1450
1451 </em>
1452 </dt>
1453 <dd class="todo">
1454 Undocumented.
1455 </dd>
1456 <dd style="display: none; ">
1457 Description of this parameter from the json schema.
1458 </dd>
1459 <dd style="display: none; ">
1460 This parameter was added in version
1461 <b><span></span></b>.
1462 You must omit this parameter in earlier versions,
1463 and you may omit it in any version. If you require this
1464 parameter, the manifest key
1465 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1466 can ensure that your extension won't be run in an earlier browser ve rsion.
1467 </dd>
1468
1469 <!-- OBJECT PROPERTIES -->
1470 <dd style="display: none; ">
1471 <dl>
1472 <div>
1473 <div>
1474 </div>
1475 </div>
1476 </dl>
1477 </dd>
1478
1479 <!-- OBJECT METHODS -->
1480 <dd style="display: none; ">
1481 <div></div>
1482 </dd>
1483
1484 <!-- OBJECT EVENT FIELDS -->
1485 <dd style="display: none; ">
1486 <div></div>
1487 </dd>
1488
1489 <!-- FUNCTION PARAMETERS -->
1490 <dd style="display: none; ">
1491 <div></div>
1492 </dd>
1493
1494 </div>
1495 </div><div>
1496 <div>
1497 <dt>
1498 <var>timeStamp</var>
1499 <em>
1500
1501 <!-- TYPE -->
1502 <div style="display:inline">
1503 (
1504 <span class="optional" style="display: none; ">optional</spa n>
1505 <span class="enum" style="display: none; ">enumerated</span>
1506 <span id="typeTemplate">
1507 <span style="display: none; ">
1508 <a> Type</a>
1509 </span>
1510 <span>
1511 <span style="display: none; ">
1512 array of <span><span></span></span>
1513 </span>
1514 <span>number</span>
1515 <span style="display: none; "></span>
1516 </span>
1517 </span>
1518 )
1519 </div>
1520
1521 </em>
1522 </dt>
1523 <dd class="todo" style="display: none; ">
1524 Undocumented.
1525 </dd>
1526 <dd>The time when the browser was about to make the request, in millis econds since the epoch.</dd>
1527 <dd style="display: none; ">
1528 This parameter was added in version
1529 <b><span></span></b>.
1530 You must omit this parameter in earlier versions,
1531 and you may omit it in any version. If you require this
1532 parameter, the manifest key
1533 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1534 can ensure that your extension won't be run in an earlier browser ve rsion.
1535 </dd>
1536
1537 <!-- OBJECT PROPERTIES -->
1538 <dd style="display: none; ">
1539 <dl>
1540 <div>
1541 <div>
1542 </div>
1543 </div>
1544 </dl>
1545 </dd>
1546
1547 <!-- OBJECT METHODS -->
1548 <dd style="display: none; ">
1549 <div></div>
1550 </dd>
1551
1552 <!-- OBJECT EVENT FIELDS -->
1553 <dd style="display: none; ">
1554 <div></div>
1555 </dd>
1556
1557 <!-- FUNCTION PARAMETERS -->
1558 <dd style="display: none; ">
1559 <div></div>
1560 </dd>
1561
1562 </div>
1563 </div>
1564 </dl>
1565 </dd>
1566
1567 <!-- OBJECT METHODS -->
1568 <dd style="display: none; ">
1569 <div></div>
1570 </dd>
1571
1572 <!-- OBJECT EVENT FIELDS -->
1573 <dd style="display: none; ">
1574 <div></div>
1575 </dd>
1576
1577 <!-- FUNCTION PARAMETERS -->
1578 <dd style="display: none; ">
1579 <div></div>
1580 </dd>
1581
1582 </div>
1583 </div>
1584 </dl>
1585 </div>
1586 </div> <!-- /decription -->
1587
1588 </div><div class="apiItem">
1292 <a name="event-onCompleted"></a> 1589 <a name="event-onCompleted"></a>
1293 <h4>onCompleted</h4> 1590 <h4>onCompleted</h4>
1294 1591
1295 <div class="summary"> 1592 <div class="summary">
1296 <!-- Note: intentionally longer 80 columns --> 1593 <!-- Note: intentionally longer 80 columns -->
1297 <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>); 1594 <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>);
1298 </div> 1595 </div>
1299 1596
1300 <div class="description"> 1597 <div class="description">
1301 <p class="todo" style="display: none; ">Undocumented.</p> 1598 <p class="todo" style="display: none; ">Undocumented.</p>
(...skipping 1577 matching lines...) Expand 10 before | Expand all | Expand 10 after
2879 _uff=0; 3176 _uff=0;
2880 urchinTracker(); 3177 urchinTracker();
2881 } 3178 }
2882 catch(e) {/* urchinTracker not available. */} 3179 catch(e) {/* urchinTracker not available. */}
2883 </script> 3180 </script>
2884 <!-- end analytics --> 3181 <!-- end analytics -->
2885 </div> 3182 </div>
2886 </div> <!-- /gc-footer --> 3183 </div> <!-- /gc-footer -->
2887 </div> <!-- /gc-container --> 3184 </div> <!-- /gc-container -->
2888 </body></html> 3185 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698