Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // -------------------------------------------------------------------------- | 8 // -------------------------------------------------------------------------- |
| 9 // General pseudo-events | 9 // General pseudo-events |
| 10 // -------------------------------------------------------------------------- | 10 // -------------------------------------------------------------------------- |
| 11 | 11 |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 112 // The start/end of when proxy autoconfig was artificially paused following | 112 // The start/end of when proxy autoconfig was artificially paused following |
| 113 // a network change event. (We wait some amount of time after being told of | 113 // a network change event. (We wait some amount of time after being told of |
| 114 // network changes to avoid hitting spurious errors during auto-detect). | 114 // network changes to avoid hitting spurious errors during auto-detect). |
| 115 EVENT_TYPE(INIT_PROXY_RESOLVER_WAIT) | 115 EVENT_TYPE(INIT_PROXY_RESOLVER_WAIT) |
| 116 | 116 |
| 117 // The start/end of download of a PAC script. This could be the well-known | 117 // The start/end of download of a PAC script. This could be the well-known |
| 118 // WPAD URL (if testing auto-detect), or a custom PAC URL. | 118 // WPAD URL (if testing auto-detect), or a custom PAC URL. |
| 119 // | 119 // |
| 120 // The START event has the parameters: | 120 // The START event has the parameters: |
| 121 // { | 121 // { |
| 122 // "url": <URL string of script being fetched>, | 122 // "source": <String describing where PAC script comes from>, |
|
eroman
2011/04/21 05:22:48
Cool, thanks for remembering to updated this!
Jói
2011/05/03 21:20:59
np
| |
| 123 // } | 123 // } |
| 124 // | 124 // |
| 125 // If the fetch failed, then the END phase has these parameters: | 125 // If the fetch failed, then the END phase has these parameters: |
| 126 // { | 126 // { |
| 127 // "error_code": <Net error code integer>, | 127 // "error_code": <Net error code integer>, |
|
eroman
2011/04/21 05:22:48
While you are here updating stuff, could you fix t
Jói
2011/05/03 21:20:59
Done.
| |
| 128 // } | 128 // } |
| 129 EVENT_TYPE(INIT_PROXY_RESOLVER_FETCH_PAC_SCRIPT) | 129 EVENT_TYPE(INIT_PROXY_RESOLVER_FETCH_PAC_SCRIPT) |
| 130 | 130 |
| 131 // The start/end of the testing of a PAC script (trying to parse the fetched | 131 // The start/end of the testing of a PAC script (trying to parse the fetched |
| 132 // file as javascript). | 132 // file as javascript). |
| 133 // | 133 // |
| 134 // If the parsing of the script failed, the END phase will have parameters: | 134 // If the parsing of the script failed, the END phase will have parameters: |
| 135 // { | 135 // { |
| 136 // "error_code": <Net error code integer>, | 136 // "error_code": <Net error code integer>, |
|
eroman
2011/04/21 05:22:48
Ditto to above.
Jói
2011/05/03 21:20:59
Done.
| |
| 137 // } | 137 // } |
| 138 EVENT_TYPE(INIT_PROXY_RESOLVER_SET_PAC_SCRIPT) | 138 EVENT_TYPE(INIT_PROXY_RESOLVER_SET_PAC_SCRIPT) |
| 139 | 139 |
| 140 // This event means that initialization failed because there was no | 140 // This event means that initialization failed because there was no |
| 141 // configured script fetcher. (This indicates a configuration error). | 141 // configured script fetcher. (This indicates a configuration error). |
| 142 EVENT_TYPE(INIT_PROXY_RESOLVER_HAS_NO_FETCHER) | 142 EVENT_TYPE(INIT_PROXY_RESOLVER_HAS_NO_FETCHER) |
| 143 | 143 |
| 144 // This event is emitted after deciding to fall-back to the next PAC | 144 // This event is emitted after deciding to fall-back to the next source |
| 145 // script in the list. | 145 // of PAC scripts in the list. |
| 146 EVENT_TYPE(INIT_PROXY_RESOLVER_FALLING_BACK_TO_NEXT_PAC_URL) | 146 EVENT_TYPE(INIT_PROXY_RESOLVER_FALLING_BACK_TO_NEXT_PAC_SOURCE) |
| 147 | 147 |
| 148 // ------------------------------------------------------------------------ | 148 // ------------------------------------------------------------------------ |
| 149 // ProxyService | 149 // ProxyService |
| 150 // ------------------------------------------------------------------------ | 150 // ------------------------------------------------------------------------ |
| 151 | 151 |
| 152 // The start/end of a proxy resolve request. | 152 // The start/end of a proxy resolve request. |
| 153 EVENT_TYPE(PROXY_SERVICE) | 153 EVENT_TYPE(PROXY_SERVICE) |
| 154 | 154 |
| 155 // The time while a request is waiting on InitProxyResolver to configure | 155 // The time while a request is waiting on InitProxyResolver to configure |
| 156 // against either WPAD or custom PAC URL. The specifics on this time | 156 // against either WPAD or custom PAC URL. The specifics on this time |
| (...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 972 | 972 |
| 973 // ------------------------------------------------------------------------ | 973 // ------------------------------------------------------------------------ |
| 974 // Global events | 974 // Global events |
| 975 // ------------------------------------------------------------------------ | 975 // ------------------------------------------------------------------------ |
| 976 // These are events which are not grouped by source id, as they have no | 976 // These are events which are not grouped by source id, as they have no |
| 977 // context. | 977 // context. |
| 978 | 978 |
| 979 // This event is emitted whenever NetworkChangeNotifier determines that the | 979 // This event is emitted whenever NetworkChangeNotifier determines that the |
| 980 // underlying network has changed. | 980 // underlying network has changed. |
| 981 EVENT_TYPE(NETWORK_IP_ADDRESSES_CHANGED) | 981 EVENT_TYPE(NETWORK_IP_ADDRESSES_CHANGED) |
| OLD | NEW |