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

Unified Diff: headless/public/util/managed_dispatch_url_request_job.h

Issue 2248283008: Fix recursion bug in blocking a fetch and add a test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unintentional change Created 4 years, 4 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
Index: headless/public/util/managed_dispatch_url_request_job.h
diff --git a/headless/public/util/managed_dispatch_url_request_job.h b/headless/public/util/managed_dispatch_url_request_job.h
index 5e518b2edab44304e65d6640b52d5b1bea234c21..3903d2a96a0f00b2447296ef3265bd0c42250f28 100644
--- a/headless/public/util/managed_dispatch_url_request_job.h
+++ b/headless/public/util/managed_dispatch_url_request_job.h
@@ -27,9 +27,11 @@ class ManagedDispatchURLRequestJob : public net::URLRequestJob {
// Tells the net::URLRequestJob that the data has been fetched and is ready to
// be consumed.
+ // Virtual for FakeManagedDispatchURLRequestJob.
virtual void OnHeadersComplete();
// Tells the net::URLRequestJob that the fetch failed.
+ // Virtual for FakeManagedDispatchURLRequestJob.
virtual void OnStartError(net::Error error);
protected:
« no previous file with comments | « headless/public/util/generic_url_request_job_test.cc ('k') | headless/public/util/testing/generic_url_request_mocks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698