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

Unified Diff: net/http/http_stream_factory_impl_job_controller.h

Issue 2623383005: Log states of JobController in Net MemoryDumpProvider (Closed)
Patch Set: self review Created 3 years, 11 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_job.cc ('k') | net/http/http_stream_factory_impl_job_controller.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_controller.h
diff --git a/net/http/http_stream_factory_impl_job_controller.h b/net/http/http_stream_factory_impl_job_controller.h
index ab829e8fedd809864c14701e9570e644c0e406d6..4483bf90a2d79aac87cc3c734745c106c2691e16 100644
--- a/net/http/http_stream_factory_impl_job_controller.h
+++ b/net/http/http_stream_factory_impl_job_controller.h
@@ -169,6 +169,15 @@ class HttpStreamFactoryImpl::JobController
bool is_preconnect() const { return is_preconnect_; }
+ // Returns true if |this| has a pending main job that is not completed.
+ bool HasPendingMainJob() const;
+
+ // Returns true if |this| has a pending alternative job that is not completed.
+ bool HasPendingAltJob() const;
+
+ // Returns the estimated memory usage in bytes.
+ size_t EstimateMemoryUsage() const;
+
private:
friend class JobControllerPeer;
« no previous file with comments | « net/http/http_stream_factory_impl_job.cc ('k') | net/http/http_stream_factory_impl_job_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698