| Index: net/url_request/url_request_job.h
|
| diff --git a/net/url_request/url_request_job.h b/net/url_request/url_request_job.h
|
| index b6ae4bbeb13af7129c5d875c019962cf94b672de..e7f40823c6926876741bae206ce12cdd65a31212 100644
|
| --- a/net/url_request/url_request_job.h
|
| +++ b/net/url_request/url_request_job.h
|
| @@ -19,6 +19,7 @@
|
| #include "net/base/request_priority.h"
|
| #include "net/base/upload_progress.h"
|
| #include "net/cookies/canonical_cookie.h"
|
| +#include "net/socket/connection_attempts.h"
|
| #include "net/url_request/redirect_info.h"
|
| #include "net/url_request/url_request.h"
|
| #include "url/gurl.h"
|
| @@ -226,6 +227,11 @@ class NET_EXPORT URLRequestJob
|
| // canceled by an explicit NetworkDelegate::NotifyURLRequestDestroyed() call.
|
| virtual void NotifyURLRequestDestroyed();
|
|
|
| + // Populates |out| with the connection attempts made at the socket layer in
|
| + // the course of executing the URLRequestJob. Should be called after the job
|
| + // has failed or the response headers have been received.
|
| + virtual void GetConnectionAttempts(ConnectionAttempts* out) const;
|
| +
|
| // Given |policy|, |referrer|, and |redirect_destination|, returns the
|
| // referrer URL mandated by |request|'s referrer policy.
|
| static GURL ComputeReferrerForRedirect(URLRequest::ReferrerPolicy policy,
|
|
|