| Index: net/url_request/url_request_http_job.h
|
| diff --git a/net/url_request/url_request_http_job.h b/net/url_request/url_request_http_job.h
|
| index 3a23e8a6c0414a05d88e78efeba4e0747bc9fd42..d222357430aaa6cf3a8e877c4b2ce2216e13666a 100644
|
| --- a/net/url_request/url_request_http_job.h
|
| +++ b/net/url_request/url_request_http_job.h
|
| @@ -88,6 +88,11 @@ class NET_EXPORT_PRIVATE URLRequestHttpJob : public URLRequestJob {
|
| // Processes the Public-Key-Pins header, if one exists.
|
| void ProcessPublicKeyPinsHeader();
|
|
|
| + // TODO(battre) Remove this when crbug.com/289715 is fixed.
|
| + static void OnHeadersReceivedCallbackForDebugging(
|
| + base::WeakPtr<URLRequestHttpJob> job,
|
| + int result);
|
| +
|
| // |result| should be net::OK, or the request is canceled.
|
| void OnHeadersReceivedCallback(int result);
|
| void OnStartCompleted(int result);
|
| @@ -267,6 +272,14 @@ class NET_EXPORT_PRIVATE URLRequestHttpJob : public URLRequestJob {
|
|
|
| const HttpUserAgentSettings* http_user_agent_settings_;
|
|
|
| + // TODO(battre) Remove this when crbug.com/289715 is fixed.
|
| + enum TransactionState {
|
| + TRANSACTION_WAS_NOT_INITIALIZED,
|
| + TRANSACTION_WAS_INITIALIZED,
|
| + TRANSACTION_WAS_DESTROYED
|
| + };
|
| + TransactionState transaction_state_;
|
| +
|
| base::WeakPtrFactory<URLRequestHttpJob> weak_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob);
|
|
|