| 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 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 724 // The filtered event is used when the bytes were passed through a filter before | 724 // The filtered event is used when the bytes were passed through a filter before |
| 725 // being read. This event is only present when byte logging is enabled. | 725 // being read. This event is only present when byte logging is enabled. |
| 726 // The following parameters are attached: | 726 // The following parameters are attached: |
| 727 // { | 727 // { |
| 728 // "byte_count": <Number of bytes that were just sent>, | 728 // "byte_count": <Number of bytes that were just sent>, |
| 729 // "hex_encoded_bytes": <The exact bytes sent, as a hexadecimal string>, | 729 // "hex_encoded_bytes": <The exact bytes sent, as a hexadecimal string>, |
| 730 // } | 730 // } |
| 731 EVENT_TYPE(URL_REQUEST_JOB_BYTES_READ) | 731 EVENT_TYPE(URL_REQUEST_JOB_BYTES_READ) |
| 732 EVENT_TYPE(URL_REQUEST_JOB_FILTERED_BYTES_READ) | 732 EVENT_TYPE(URL_REQUEST_JOB_FILTERED_BYTES_READ) |
| 733 | 733 |
| 734 // This event is sent when the priority of a net::URLRequest is |
| 735 // changed after it has started. The parameters attached to this event |
| 736 // are: |
| 737 // { |
| 738 // "priority": <Numerical value of the priority (higher is more important)>, |
| 739 // } |
| 740 EVENT_TYPE(URL_REQUEST_SET_PRIORITY) |
| 741 |
| 734 // ------------------------------------------------------------------------ | 742 // ------------------------------------------------------------------------ |
| 735 // HttpCache | 743 // HttpCache |
| 736 // ------------------------------------------------------------------------ | 744 // ------------------------------------------------------------------------ |
| 737 | 745 |
| 738 // Measures the time while getting a reference to the back end. | 746 // Measures the time while getting a reference to the back end. |
| 739 EVENT_TYPE(HTTP_CACHE_GET_BACKEND) | 747 EVENT_TYPE(HTTP_CACHE_GET_BACKEND) |
| 740 | 748 |
| 741 // Measures the time while opening a disk cache entry. | 749 // Measures the time while opening a disk cache entry. |
| 742 EVENT_TYPE(HTTP_CACHE_OPEN_ENTRY) | 750 EVENT_TYPE(HTTP_CACHE_OPEN_ENTRY) |
| 743 | 751 |
| (...skipping 1161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1905 // } | 1913 // } |
| 1906 EVENT_TYPE(FTP_DATA_CONNECTION) | 1914 EVENT_TYPE(FTP_DATA_CONNECTION) |
| 1907 | 1915 |
| 1908 // This event is created when FTP control connection response is processed. | 1916 // This event is created when FTP control connection response is processed. |
| 1909 // It contains following parameters: | 1917 // It contains following parameters: |
| 1910 // { | 1918 // { |
| 1911 // "lines": <list of strings - each representing a line of the response> | 1919 // "lines": <list of strings - each representing a line of the response> |
| 1912 // "status_code": <numeric status code of the response> | 1920 // "status_code": <numeric status code of the response> |
| 1913 // } | 1921 // } |
| 1914 EVENT_TYPE(FTP_CONTROL_RESPONSE) | 1922 EVENT_TYPE(FTP_CONTROL_RESPONSE) |
| OLD | NEW |