| 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 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 626 // "origin": <one of: "embedded_in_certificate", "tls_extension", "ocsp">, | 626 // "origin": <one of: "embedded_in_certificate", "tls_extension", "ocsp">, |
| 627 // "version": <numeric version>, | 627 // "version": <numeric version>, |
| 628 // "log_id": <base64-encoded log id>, | 628 // "log_id": <base64-encoded log id>, |
| 629 // "timestamp": <numeric timestamp in milliseconds since the Unix epoch>, | 629 // "timestamp": <numeric timestamp in milliseconds since the Unix epoch>, |
| 630 // "hash_algorithm": <name of the hash algorithm>, | 630 // "hash_algorithm": <name of the hash algorithm>, |
| 631 // "signature_algorithm": <name of the signature algorithm>, | 631 // "signature_algorithm": <name of the signature algorithm>, |
| 632 // "signature_data": <base64-encoded signature bytes>, | 632 // "signature_data": <base64-encoded signature bytes>, |
| 633 // } | 633 // } |
| 634 EVENT_TYPE(SIGNED_CERTIFICATE_TIMESTAMPS_CHECKED) | 634 EVENT_TYPE(SIGNED_CERTIFICATE_TIMESTAMPS_CHECKED) |
| 635 | 635 |
| 636 // The certificate was checked for compliance with Certificate Transparency |
| 637 // requirements. |
| 638 // |
| 639 // The following parameters are attached to the event: |
| 640 // { |
| 641 // "certificate": <An X.509 certificate, same format as in |
| 642 // CERT_VERIFIER_JOB.> |
| 643 // "build_timely": <boolean> |
| 644 // "ct_compliance_status": <string describing compliance status> |
| 645 // } |
| 646 EVENT_TYPE(CERT_CT_COMPLIANCE_CHECKED) |
| 647 |
| 636 // The EV certificate was checked for compliance with Certificate Transparency | 648 // The EV certificate was checked for compliance with Certificate Transparency |
| 637 // requirements. | 649 // requirements. |
| 638 // | 650 // |
| 639 // The following parameters are attached to the event: | 651 // The following parameters are attached to the event: |
| 640 // { | 652 // { |
| 641 // "certificate": <An X.509 certificate, same format as in | 653 // "certificate": <An X.509 certificate, same format as in |
| 642 // CERT_VERIFIER_JOB.> | 654 // CERT_VERIFIER_JOB.> |
| 643 // "policy_enforcement_required": <boolean> | 655 // "policy_enforcement_required": <boolean> |
| 644 // "build_timely": <boolean> | 656 // "build_timely": <boolean> |
| 645 // "ct_compliance_status": <string describing compliance status> | 657 // "ct_compliance_status": <string describing compliance status> |
| (...skipping 2108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2754 // The start/end of some portion of the SAFE_BROWSING_CHECKING_URL during which | 2766 // The start/end of some portion of the SAFE_BROWSING_CHECKING_URL during which |
| 2755 // the request is delayed due to that check. | 2767 // the request is delayed due to that check. |
| 2756 // | 2768 // |
| 2757 // The BEGIN phase contains the following parameters: | 2769 // The BEGIN phase contains the following parameters: |
| 2758 // { | 2770 // { |
| 2759 // "url": <The URL being checked>, | 2771 // "url": <The URL being checked>, |
| 2760 // "defer_reason" : < "at_start", "at_response", "redirect", | 2772 // "defer_reason" : < "at_start", "at_response", "redirect", |
| 2761 // "resumed_redirect", "unchecked_redirect"> | 2773 // "resumed_redirect", "unchecked_redirect"> |
| 2762 // } | 2774 // } |
| 2763 EVENT_TYPE(SAFE_BROWSING_DEFERRED) | 2775 EVENT_TYPE(SAFE_BROWSING_DEFERRED) |
| OLD | NEW |