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 2345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2356 // entry. It contains no parameters. | 2356 // entry. It contains no parameters. |
2357 EVENT_TYPE(SIMPLE_CACHE_ENTRY_CLOSE_BEGIN) | 2357 EVENT_TYPE(SIMPLE_CACHE_ENTRY_CLOSE_BEGIN) |
2358 | 2358 |
2359 // This event is created when the Simple Cache finishes a CloseEntry call. It | 2359 // This event is created when the Simple Cache finishes a CloseEntry call. It |
2360 // contains no parameters. | 2360 // contains no parameters. |
2361 EVENT_TYPE(SIMPLE_CACHE_ENTRY_CLOSE_END) | 2361 EVENT_TYPE(SIMPLE_CACHE_ENTRY_CLOSE_END) |
2362 | 2362 |
2363 // This event is created (in a source of the same name) when the internal DNS | 2363 // This event is created (in a source of the same name) when the internal DNS |
2364 // resolver creates a UDP socket to check for global IPv6 connectivity. | 2364 // resolver creates a UDP socket to check for global IPv6 connectivity. |
2365 EVENT_TYPE(IPV6_REACHABILITY_CHECK) | 2365 EVENT_TYPE(IPV6_REACHABILITY_CHECK) |
| 2366 |
| 2367 // ------------------------------------------------------------------------ |
| 2368 // SDCH |
| 2369 // ------------------------------------------------------------------------ |
| 2370 |
| 2371 // This event is created when some problem occurs during sdch-encoded resource |
| 2372 // handling. It contains the following parameters: |
| 2373 // { |
| 2374 // "sdch_problem_code": <SDCH problem code>, |
| 2375 // "net_error": <Always ERR_FAILED, present just to indicate this is a |
| 2376 // failure>, |
| 2377 // } |
| 2378 EVENT_TYPE(SDCH_DECODING_ERROR) |
| 2379 |
| 2380 // This event is created when SdchFilter initialization fails due to the |
| 2381 // response corruption. It contains the following parameters: |
| 2382 // { |
| 2383 // "cause": <Response corruption detection cause>, |
| 2384 // "cached": <True if response was read from cache>, |
| 2385 // } |
| 2386 EVENT_TYPE(SDCH_RESPONSE_CORRUPTION_DETECTION) |
| 2387 |
| 2388 // This event is created when some problem occurs during sdch dictionary fetch. |
| 2389 // It contains the following parameters: |
| 2390 // { |
| 2391 // "dictionary_url": <Dictionary url>, |
| 2392 // "sdch_problem_code": <SDCH problem code>, |
| 2393 // "net_error": <Only present on unexpected errors. Always ERR_FAILED when |
| 2394 // present. Used to indicate this is a real failure>, |
| 2395 // } |
| 2396 EVENT_TYPE(SDCH_DICTIONARY_ERROR) |
| 2397 |
| 2398 // This event is created when SdchDictionaryFetcher starts fetch. It contains |
| 2399 // no parameters. |
| 2400 EVENT_TYPE(SDCH_DICTIONARY_FETCH) |
OLD | NEW |