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

Unified Diff: headless/public/util/deterministic_http_protocol_handler.cc

Issue 2695923010: Add Network.setSendRequestIdHeader and use it in headless (Closed)
Patch Set: Fix the layout test Created 3 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 | « headless/BUILD.gn ('k') | headless/public/util/generic_url_request_job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/public/util/deterministic_http_protocol_handler.cc
diff --git a/headless/public/util/deterministic_http_protocol_handler.cc b/headless/public/util/deterministic_http_protocol_handler.cc
index bb2c1117e21cbf3bc926cd81e85f3e8e81ab80b2..6a186b99cf92735fb52399058fff7f9cd25ce444 100644
--- a/headless/public/util/deterministic_http_protocol_handler.cc
+++ b/headless/public/util/deterministic_http_protocol_handler.cc
@@ -24,6 +24,7 @@ class DeterministicHttpProtocolHandler::NopGenericURLRequestJobDelegate
// GenericURLRequestJob::Delegate methods:
bool BlockOrRewriteRequest(
const GURL& url,
+ const std::string& devtools_id,
const std::string& method,
const std::string& referrer,
GenericURLRequestJob::RewriteCallback callback) override {
@@ -32,12 +33,14 @@ class DeterministicHttpProtocolHandler::NopGenericURLRequestJobDelegate
const GenericURLRequestJob::HttpResponse* MaybeMatchResource(
const GURL& url,
+ const std::string& devtools_id,
const std::string& method,
const net::HttpRequestHeaders& request_headers) override {
return nullptr;
}
void OnResourceLoadComplete(const GURL& final_url,
+ const std::string& devtools_id,
const std::string& mime_type,
int http_response_code) override {}
« no previous file with comments | « headless/BUILD.gn ('k') | headless/public/util/generic_url_request_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698