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

Side by Side Diff: net/base/net_log_event_type_list.h

Issue 12701011: [Net] Propagate priority changes from URLRequest to HttpTransaction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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
OLDNEW
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
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
744 // Measures the time while creating a disk cache entry. 752 // Measures the time while creating a disk cache entry.
745 EVENT_TYPE(HTTP_CACHE_CREATE_ENTRY) 753 EVENT_TYPE(HTTP_CACHE_CREATE_ENTRY)
746 754
747 // Measures the time it takes to add a HttpCache::Transaction to an http cache 755 // Measures the time it takes to add a HttpCache::Transaction to an http cache
748 // entry's list of active Transactions. 756 // entry's list of active Transactions.
749 EVENT_TYPE(HTTP_CACHE_ADD_TO_ENTRY) 757 EVENT_TYPE(HTTP_CACHE_ADD_TO_ENTRY)
750 758
751 // Measures the time while deleting a disk cache entry. 759 // Measures the time while deleting a disk cache entry.
752 EVENT_TYPE(HTTP_CACHE_DOOM_ENTRY) 760 EVENT_TYPE(HTTP_CACHE_DOOM_ENTRY)
753 761
754 // Measures the time while reading/writing a disk cache entry's response headers 762 // Measures the time while reading/writing a disk cache entry's response headers
755 // or metadata. 763 // or metadata.
756 EVENT_TYPE(HTTP_CACHE_READ_INFO) 764 EVENT_TYPE(HTTP_CACHE_READ_INFO)
757 EVENT_TYPE(HTTP_CACHE_WRITE_INFO) 765 EVENT_TYPE(HTTP_CACHE_WRITE_INFO)
758 766
759 // Measures the time while reading/writing a disk cache entry's body. 767 // Measures the time while reading/writing a disk cache entry's body.
760 EVENT_TYPE(HTTP_CACHE_READ_DATA) 768 EVENT_TYPE(HTTP_CACHE_READ_DATA)
761 EVENT_TYPE(HTTP_CACHE_WRITE_DATA) 769 EVENT_TYPE(HTTP_CACHE_WRITE_DATA)
762 770
771 // This event is sent when the priority of a
772 // net::HttpCache::Transaction is changed after it has started. The
773 // parameters attached to this event are:
774 // {
775 // "priority": <Numerical value of the priority (higher is more important)>,
776 // }
777 EVENT_TYPE(HTTP_CACHE_SET_PRIORITY)
778
763 // ------------------------------------------------------------------------ 779 // ------------------------------------------------------------------------
764 // Disk Cache / Memory Cache 780 // Disk Cache / Memory Cache
765 // ------------------------------------------------------------------------ 781 // ------------------------------------------------------------------------
766 782
767 // The creation/destruction of a disk_cache::EntryImpl object. The "creation" 783 // The creation/destruction of a disk_cache::EntryImpl object. The "creation"
768 // is considered to be the point at which an Entry is first considered to be 784 // is considered to be the point at which an Entry is first considered to be
769 // good and associated with a key. Note that disk and memory cache entries 785 // good and associated with a key. Note that disk and memory cache entries
770 // share event types. 786 // share event types.
771 // 787 //
772 // For the BEGIN phase, the following parameters are attached: 788 // For the BEGIN phase, the following parameters are attached:
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
949 // restarting for authentication, on keep alive connections. 965 // restarting for authentication, on keep alive connections.
950 EVENT_TYPE(HTTP_TRANSACTION_DRAIN_BODY_FOR_AUTH_RESTART) 966 EVENT_TYPE(HTTP_TRANSACTION_DRAIN_BODY_FOR_AUTH_RESTART)
951 967
952 // This event is sent when we try to restart a transaction after an error. 968 // This event is sent when we try to restart a transaction after an error.
953 // The following parameters are attached: 969 // The following parameters are attached:
954 // { 970 // {
955 // "net_error": <The net error code integer for the failure>, 971 // "net_error": <The net error code integer for the failure>,
956 // } 972 // }
957 EVENT_TYPE(HTTP_TRANSACTION_RESTART_AFTER_ERROR) 973 EVENT_TYPE(HTTP_TRANSACTION_RESTART_AFTER_ERROR)
958 974
975 // This event is sent when the priority of a
976 // net::HttpNetworkTransaction is changed after it has started. The
977 // parameters attached to this event are:
978 // {
979 // "priority": <Numerical value of the priority (higher is more important)>,
980 // }
981 EVENT_TYPE(HTTP_TRANSACTION_SET_PRIORITY)
982
959 // ------------------------------------------------------------------------ 983 // ------------------------------------------------------------------------
960 // SpdySession 984 // SpdySession
961 // ------------------------------------------------------------------------ 985 // ------------------------------------------------------------------------
962 986
963 // The start/end of a SpdySession. 987 // The start/end of a SpdySession.
964 // { 988 // {
965 // "host": <The host-port string>, 989 // "host": <The host-port string>,
966 // "proxy": <The Proxy PAC string>, 990 // "proxy": <The Proxy PAC string>,
967 // } 991 // }
968 EVENT_TYPE(SPDY_SESSION) 992 EVENT_TYPE(SPDY_SESSION)
(...skipping 936 matching lines...) Expand 10 before | Expand all | Expand 10 after
1905 // } 1929 // }
1906 EVENT_TYPE(FTP_DATA_CONNECTION) 1930 EVENT_TYPE(FTP_DATA_CONNECTION)
1907 1931
1908 // This event is created when FTP control connection response is processed. 1932 // This event is created when FTP control connection response is processed.
1909 // It contains following parameters: 1933 // It contains following parameters:
1910 // { 1934 // {
1911 // "lines": <list of strings - each representing a line of the response> 1935 // "lines": <list of strings - each representing a line of the response>
1912 // "status_code": <numeric status code of the response> 1936 // "status_code": <numeric status code of the response>
1913 // } 1937 // }
1914 EVENT_TYPE(FTP_CONTROL_RESPONSE) 1938 EVENT_TYPE(FTP_CONTROL_RESPONSE)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698