| 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 2398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2409 // entry. It contains no parameters. | 2409 // entry. It contains no parameters. |
| 2410 EVENT_TYPE(SIMPLE_CACHE_ENTRY_CLOSE_BEGIN) | 2410 EVENT_TYPE(SIMPLE_CACHE_ENTRY_CLOSE_BEGIN) |
| 2411 | 2411 |
| 2412 // This event is created when the Simple Cache finishes a CloseEntry call. It | 2412 // This event is created when the Simple Cache finishes a CloseEntry call. It |
| 2413 // contains no parameters. | 2413 // contains no parameters. |
| 2414 EVENT_TYPE(SIMPLE_CACHE_ENTRY_CLOSE_END) | 2414 EVENT_TYPE(SIMPLE_CACHE_ENTRY_CLOSE_END) |
| 2415 | 2415 |
| 2416 // This event is created (in a source of the same name) when the internal DNS | 2416 // This event is created (in a source of the same name) when the internal DNS |
| 2417 // resolver creates a UDP socket to check for global IPv6 connectivity. | 2417 // resolver creates a UDP socket to check for global IPv6 connectivity. |
| 2418 EVENT_TYPE(IPV6_REACHABILITY_CHECK) | 2418 EVENT_TYPE(IPV6_REACHABILITY_CHECK) |
| 2419 | |
| 2420 // ------------------------------------------------------------------------ | |
| 2421 // SDCH | |
| 2422 // ------------------------------------------------------------------------ | |
| 2423 | |
| 2424 // This event is created when some problem occurs during sdch-encoded resource | |
| 2425 // handling. It contains the following parameters: | |
| 2426 // { | |
| 2427 // "sdch_problem_code": <SDCH problem code>, | |
| 2428 // "net_error": <Always ERR_FAILED, present just to indicate this is a | |
| 2429 // failure>, | |
| 2430 // } | |
| 2431 EVENT_TYPE(SDCH_DECODING_ERROR) | |
| 2432 | |
| 2433 // This event is created when SdchFilter initialization fails due to the | |
| 2434 // response corruption. It contains the following parameters: | |
| 2435 // { | |
| 2436 // "cause": <Response corruption detection cause>, | |
| 2437 // "cached": <True if response was read from cache>, | |
| 2438 // } | |
| 2439 EVENT_TYPE(SDCH_RESPONSE_CORRUPTION_DETECTION) | |
| 2440 | |
| 2441 // This event is created when some problem occurs during sdch dictionary fetch. | |
| 2442 // It contains the following parameters: | |
| 2443 // { | |
| 2444 // "dictionary_url": <Dictionary url>, | |
| 2445 // "sdch_problem_code": <SDCH problem code>, | |
| 2446 // "net_error": <Only present on unexpected errors. Always ERR_FAILED when | |
| 2447 // present. Used to indicate this is a real failure>, | |
| 2448 // } | |
| 2449 EVENT_TYPE(SDCH_DICTIONARY_ERROR) | |
| 2450 | |
| 2451 // This event is created when SdchDictionaryFetcher starts fetch. It contains | |
| 2452 // no parameters. | |
| 2453 EVENT_TYPE(SDCH_DICTIONARY_FETCH) | |
| OLD | NEW |