Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1920)

Unified Diff: net/http/http_stream_factory_impl_job.h

Issue 6591030: Add HttpStreamFactory Job orphaning semantics. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated comment. Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_stream_factory_impl.cc ('k') | net/http/http_stream_factory_impl_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « net/http/http_stream_factory_impl.cc ('k') | net/http/http_stream_factory_impl_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698