Chromium Code Reviews| Index: net/log/net_log_event_type_list.h |
| diff --git a/net/log/net_log_event_type_list.h b/net/log/net_log_event_type_list.h |
| index 0a844474a7c6faca09e12b3c97a3a826e47ca2b0..bb251102437403a449c6b0d55cfa17b5d5d4f589 100644 |
| --- a/net/log/net_log_event_type_list.h |
| +++ b/net/log/net_log_event_type_list.h |
| @@ -1115,6 +1115,164 @@ EVENT_TYPE(HTTP_STREAM_JOB_DELAYED) |
| // } |
| EVENT_TYPE(HTTP_STREAM_JOB_RESUMED) |
| +// =========================================================================== |
| +// |
| +// TEMP Net LOG for debugging crbug.com/700617 |
|
eroman
2017/03/16 04:32:08
[optional]: If you plan on deleting these later, y
|
| +// |
| +// =========================================================================== |
| + |
| +// HttpStreamFactoryImpl::Job::DoLoop States |
| +EVENT_TYPE(HTTP_STREAM_JOB_RESOLVE_PROXY) |
| + |
| +EVENT_TYPE(HTTP_STREAM_JOB_INIT_CONNECTION) |
| + |
| +// { |
| +// "should_resume": <True if MaybeResumeMainJob will be called after alt |
| +// job init connection> |
| +// } |
| +EVENT_TYPE(HTTP_STREAM_JOB_INIT_CONNECTION_IMPL) |
| + |
| +// HttpStreamFactoryImpl::Job::DoInitConnectionImpl details |
| +// Emitted when a QuicStreamRequest is created |
| +// { |
| +// "delay_in_macroseconds": <Number of milliseconds alt job want to set |
|
eroman
2017/03/16 04:32:08
macro --> micro
|
| +// for the main job> |
| +// "using_exisiting_quic_session": <True if using exisiting quic session> |
| +// } |
| +EVENT_TYPE(HTTP_STREAM_JOB_CREATE_QUIC_REQUEST) |
| + |
| +// Logged when a Job OnStreamFailed is reported. |
| +// { |
| +// "is_orphaned": <True if Job reporting OnStreamFailed is orphaned> |
| +// } |
| +EVENT_TYPE(HTTP_STREAM_JOB_ON_STREAM_FAILED) |
| + |
| +// Logged when QuicStreamFactory::Create() is invoked or completed. |
| +// { |
| +// "server_id": <host:port/privacy_mode this url is associated>. |
| +// "is_promised": <True if the url is found with a push promise> |
| +// "active_session_exisit": <True if an active session can ce used for |
| +// server_id>. |
| +// "pool_to_active_session": <True if an active session can pool for the |
| +// destination>. |
| +// } |
| +EVENT_TYPE(QUIC_STREAM_FACTORY_CREATE_HTTP_STREAM) |
| + |
| +// Logged when QuicStreamFactory::Request bound to active_job. |
| +// i.e. HasActiveJob for the server id. |
| +// { |
| +// "job_count": <# of jobs serving the server id>. |
| +// "active_job_exisit": True. |
| +// } |
| +EVENT_TYPE(QUIC_STREAM_FACTORY_REQUEST_BOUND_TO_ACTIVE_JOB) |
| + |
| +// Logged when a QuicStreamFactory::Job is created to serve this |
| +// HTTP_STREAM_JOB. |
| +EVENT_TYPE(QUIC_STREAM_FACTORY_REQUEST_CREATE_NEW_JOB) |
| + |
| +// Logged when the Job returns IO_PENDING after run(). |
| +EVENT_TYPE(QUIC_STREAM_FACTORY_REQUEST_NEW_JOB_PENDING) |
| + |
| +// Logged when the Job returns OK synchronously. |
| +EVENT_TYPE(QUIC_STREAM_FACTORY_REQUEST_NEW_JOB_SUCCEED) |
| + |
| +// Logged when the Job returns failure synchronously. |
| +EVENT_TYPE(QUIC_STREAM_FACTORY_REQUEST_NEW_JOB_FAILED) |
| + |
| +// Used for logging job count. |
| +EVENT_TYPE(QUIC_STREAM_FACTORY_REQUEST_ACTIVE_JOB_COUNT) |
| + |
| +EVENT_TYPE(QUIC_STREAM_FACTORY_HAS_ACTIVE_JOB) |
| + |
| +// QuicStreamFactory::Job events |
| +// Logged when a QuicStreamFactoryJob is created or destructed. |
| +// { |
| +// "resume_existing_session": <True if the QuicStreamFactory::Job is |
| +// created to resume connection to an existing |
| +// quic session.> |
| +// } |
| +EVENT_TYPE(QUIC_STREAM_FACTORY_JOB) |
| + |
| +// Logged when this QuicStreamFactory::Job is determined to serve a specific |
| +// HTTP_STREAM_JOB(al job). |
| +// |
| +// in QUIC_STREAM_FACTORY_JOB net log |
| +// { |
| +// "source_dependency": <Link to the HTTP_STREAM_JOB this QUIC job is |
| +// serving>. |
| +// } |
| +// |
| +// in HTTP_STREAM_JOB net log |
| +// { |
| +// "source_dependency": <Link to the QUIC_STREAM_FACTORY_JOB which |
| +// serves this job>. |
| +// } |
| +EVENT_TYPE(QUIC_STREAM_FACTORY_JOB_BOUND) |
| + |
| +EVENT_TYPE(QUIC_STREAM_FACTORY_JOB_RESOLVE_HOST) |
| + |
| +// { |
| +// "load_server_info_time_ms": <Timeout to load server info from disk> |
| +// } |
| +EVENT_TYPE(QUIC_STREAM_FACTORY_JOB_LOAD_SERVER_INFO) |
| + |
| +// { |
| +// "require_confirmation": <True if requires confirmation or the alt |
| +// service was marked broken recentlyi> |
| +// "resume_connection": <True if trying to resume connection>. |
| +// } |
| +EVENT_TYPE(QUIC_STREAM_FACTORY_JOB_CONNECT) |
| + |
| +// Logged if aux job is crated to load server config from disk cache. |
| +EVENT_TYPE(QUIC_STREAM_FACTORY_START_AUX_JOB) |
| + |
| +// Logged when this job completes from QuicStreamFactoy::OnJobComplete() and |
| +// should determines the status of the server id. |
| +// 1. it's NOT OK, but is the only job serving the server_id. |
| +// 2. it's OK. |
| +// { |
| +// "is_success": <True if this job is finishing with OK> |
| +// } |
| +EVENT_TYPE(QUIC_STREAM_FACTORY_JOB_COMPLTE_FROM_FACTORY) |
|
eroman
2017/03/16 04:32:08
typo: COMPLETE
|
| + |
| +// Logged when this job is cancelled by factory. |
| +// 1. it's finishes with NOT OK, but there are other jobs. |
|
eroman
2017/03/16 04:32:08
it's --> it
|
| +// 2. it's not finishing, but there's other job finishing with OK. |
| +EVENT_TYPE(QUIC_STREAM_FACTORY_JOB_CANCELLED_BY_FACTORY) |
| + |
| +// Logged when QuicStreamFactory::Job::Cancel() is invoked. |
| +EVENT_TYPE(QUIC_STREAM_FACTORY_JOB_CANCELLED) |
| + |
| +// QuicStreamFactory related |
| + |
| +// Logged when QuicStreamFactory::OnJobComplete() is invoked |
| +// { |
| +// "server_id": <ServerId that the completing Job is associated> |
| +// } |
| +EVENT_TYPE(QUIC_STREAM_FACTORY_JOB_COMPLETE) |
| + |
| +// Location of alt job deletaion. |
|
eroman
2017/03/16 04:32:08
deletion
|
| +// alt job resets OnRequestComplete() and alt job is bound to request. |
| +EVENT_TYPE(ALT_JOB_DELETED_ON_REQUEST_COMPLETE_AND_BOUND) |
| + |
| +// alt job resets OnStreamFailed with no bound job, main job alive. |
| +EVENT_TYPE(ALT_JOB_DELETED_ON_STREAM_FAILED) |
| + |
| +// alt job resets in ~JobController(). |
| +EVENT_TYPE(ALT_JOB_DELETED_ON_DESTRUCT_JOB_CONTROLLER) |
| + |
| +// alt job resets in CancelJobs(). |
| +EVENT_TYPE(ALT_JOB_DELETED_ON_CANCEL_JOBS) |
| + |
| +// alt job resets in OnOrphanedJobComplete(). |
| +EVENT_TYPE(ALT_JOB_DELETED_IN_ON_ORPHANED_JOB_COMPLETE) |
| + |
| +// =========================================================================== |
| +// |
| +// END OF Deubg Net Logs |
| +// |
| +// =========================================================================== |
| + |
| // Marks the start/end of a HttpStreamFactoryImpl::JobController. |
| // The following parameters are attached: |
| // { |