Index: net/http/http_stream_factory_impl_job.h |
diff --git a/net/http/http_stream_factory_impl_job.h b/net/http/http_stream_factory_impl_job.h |
index 5a8f0297663ec815143a96025a25a42bb7b6f965..b46664034dbf432cb6c5f8015aef808c3e632abc 100644 |
--- a/net/http/http_stream_factory_impl_job.h |
+++ b/net/http/http_stream_factory_impl_job.h |
@@ -57,6 +57,8 @@ class HttpStreamFactoryImpl::Job { |
const string16& password); |
LoadState GetLoadState() const; |
+ void Orphan(const Request* request); |
+ |
bool was_alternate_protocol_available() const; |
bool was_npn_negotiated() const; |
bool using_spdy() const; |
@@ -68,6 +70,9 @@ class HttpStreamFactoryImpl::Job { |
// Indicates whether or not this job is performing a preconnect. |
bool IsPreconnecting() const; |
+ // Indicates whether or not this Job has been orphaned by a Request. |
+ bool IsOrphaned() const; |
+ |
private: |
enum AlternateProtocolMode { |
kUnspecified, // Unspecified, check HttpAlternateProtocols |