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 within a block where the SOURCE_TYPE macro is defined. | 6 // directly within a block where the SOURCE_TYPE macro is defined. |
7 | 7 |
8 // Used for global events which don't correspond to a particular entity. | 8 // Used for global events which don't correspond to a particular entity. |
9 SOURCE_TYPE(NONE, 0) | 9 SOURCE_TYPE(NONE, 0) |
10 | 10 |
11 SOURCE_TYPE(URL_REQUEST, 1) | 11 SOURCE_TYPE(URL_REQUEST, 1) |
12 SOURCE_TYPE(SOCKET_STREAM, 2) | 12 SOURCE_TYPE(SOCKET_STREAM, 2) |
13 SOURCE_TYPE(PROXY_SCRIPT_DECIDER, 3) | 13 SOURCE_TYPE(PROXY_SCRIPT_DECIDER, 3) |
14 SOURCE_TYPE(CONNECT_JOB, 4) | 14 SOURCE_TYPE(CONNECT_JOB, 4) |
15 SOURCE_TYPE(SOCKET, 5) | 15 SOURCE_TYPE(SOCKET, 5) |
16 SOURCE_TYPE(SPDY_SESSION, 6) | 16 SOURCE_TYPE(SPDY_SESSION, 6) |
17 SOURCE_TYPE(HOST_RESOLVER_IMPL_REQUEST, 7) | 17 SOURCE_TYPE(HOST_RESOLVER_IMPL_REQUEST, 7) |
18 SOURCE_TYPE(HOST_RESOLVER_IMPL_JOB, 8) | 18 SOURCE_TYPE(HOST_RESOLVER_IMPL_JOB, 8) |
19 SOURCE_TYPE(HOST_RESOLVER_IMPL_PROC_TASK, 9) | 19 SOURCE_TYPE(DISK_CACHE_ENTRY, 9) |
20 SOURCE_TYPE(DISK_CACHE_ENTRY, 10) | 20 SOURCE_TYPE(MEMORY_CACHE_ENTRY, 10) |
21 SOURCE_TYPE(MEMORY_CACHE_ENTRY, 11) | 21 SOURCE_TYPE(HTTP_STREAM_JOB, 11) |
22 SOURCE_TYPE(HTTP_STREAM_JOB, 12) | 22 SOURCE_TYPE(EXPONENTIAL_BACKOFF_THROTTLING, 12) |
23 SOURCE_TYPE(EXPONENTIAL_BACKOFF_THROTTLING, 13) | 23 SOURCE_TYPE(UDP_SOCKET, 13) |
24 SOURCE_TYPE(DNS_TRANSACTION, 14) | 24 SOURCE_TYPE(CERT_VERIFIER_JOB, 14) |
25 SOURCE_TYPE(ASYNC_HOST_RESOLVER_REQUEST, 15) | 25 SOURCE_TYPE(HTTP_PIPELINED_CONNECTION, 15) |
26 SOURCE_TYPE(UDP_SOCKET, 16) | 26 SOURCE_TYPE(DOWNLOAD, 16) |
27 SOURCE_TYPE(CERT_VERIFIER_JOB, 17) | 27 SOURCE_TYPE(FILESTREAM, 17) |
28 SOURCE_TYPE(HTTP_PIPELINED_CONNECTION, 18) | |
29 SOURCE_TYPE(DOWNLOAD, 19) | |
30 SOURCE_TYPE(FILESTREAM, 20) | |
31 | 28 |
32 SOURCE_TYPE(COUNT, 21) // Always keep this as the last entry. | 29 SOURCE_TYPE(COUNT, 18) // Always keep this as the last entry. |
33 | 30 |
OLD | NEW |