OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // NOTE: No header guards are used, since this file is intended to be expanded | 5 // NOTE: No header guards are used, since this file is intended to be expanded |
6 // directly into net_log.h. DO NOT include this file anywhere else. | 6 // directly into net_log.h. DO NOT include this file anywhere else. |
7 | 7 |
8 // In the event of a failure, a many end events will have a |net_error| | 8 // In the event of a failure, a many end events will have a |net_error| |
9 // parameter with the integer error code associated with the failure. Most | 9 // parameter with the integer error code associated with the failure. Most |
10 // of these parameters are not individually documented. | 10 // of these parameters are not individually documented. |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
450 | 450 |
451 // The start/end of an SSL "connect" (aka client handshake). | 451 // The start/end of an SSL "connect" (aka client handshake). |
452 EVENT_TYPE(SSL_CONNECT) | 452 EVENT_TYPE(SSL_CONNECT) |
453 | 453 |
454 // The start/end of an SSL server handshake (aka "accept"). | 454 // The start/end of an SSL server handshake (aka "accept"). |
455 EVENT_TYPE(SSL_SERVER_HANDSHAKE) | 455 EVENT_TYPE(SSL_SERVER_HANDSHAKE) |
456 | 456 |
457 // The SSL server requested a client certificate. | 457 // The SSL server requested a client certificate. |
458 EVENT_TYPE(SSL_CLIENT_CERT_REQUESTED) | 458 EVENT_TYPE(SSL_CLIENT_CERT_REQUESTED) |
459 | 459 |
460 // The start/end of getting an origin-bound certificate and private key. | 460 // The start/end of getting a domain-bound certificate and private key. |
461 // | 461 // |
462 // The END event will contain the following parameters on failure: | 462 // The END event will contain the following parameters on failure: |
463 // | 463 // |
464 // { | 464 // { |
465 // "net_error": <Net integer error code>, | 465 // "net_error": <Net integer error code>, |
466 // } | 466 // } |
467 EVENT_TYPE(SSL_GET_ORIGIN_BOUND_CERT) | 467 EVENT_TYPE(SSL_GET_DOMAIN_BOUND_CERT) |
468 | 468 |
469 // A client certificate (or none) was provided to the SSL library to be sent | 469 // A client certificate (or none) was provided to the SSL library to be sent |
470 // to the SSL server. | 470 // to the SSL server. |
471 // The following parameters are attached to the event: | 471 // The following parameters are attached to the event: |
472 // { | 472 // { |
473 // "cert_count": <Number of certificates>, | 473 // "cert_count": <Number of certificates>, |
474 // } | 474 // } |
475 // A cert_count of 0 means no client certificate was provided. | 475 // A cert_count of 0 means no client certificate was provided. |
476 // A cert_count of -1 means a client certificate was provided but we don't | 476 // A cert_count of -1 means a client certificate was provided but we don't |
477 // know the size of the certificate chain. | 477 // know the size of the certificate chain. |
(...skipping 1152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1630 // This may occur even when the file is not open. | 1630 // This may occur even when the file is not open. |
1631 EVENT_TYPE(FILE_STREAM_CLOSE) | 1631 EVENT_TYPE(FILE_STREAM_CLOSE) |
1632 | 1632 |
1633 // This event is created when a file stream operation has an error. | 1633 // This event is created when a file stream operation has an error. |
1634 // { | 1634 // { |
1635 // "operation": <open, write, close, etc>, | 1635 // "operation": <open, write, close, etc>, |
1636 // "os_error": <OS-dependent error code>, | 1636 // "os_error": <OS-dependent error code>, |
1637 // "net_error": <net::Error code>, | 1637 // "net_error": <net::Error code>, |
1638 // } | 1638 // } |
1639 EVENT_TYPE(FILE_STREAM_ERROR) | 1639 EVENT_TYPE(FILE_STREAM_ERROR) |
OLD | NEW |