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

Unified Diff: headless/test/test_protocol_handler.cc

Issue 2748743002: Headless: Strip X-DevTools-Emulate-Network-Conditions-Client-Id (Closed)
Patch Set: Change capitalization Created 3 years, 9 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/test/test_protocol_handler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/test/test_protocol_handler.cc
diff --git a/headless/test/test_protocol_handler.cc b/headless/test/test_protocol_handler.cc
index 4752f91b3417e6c075d3227f3f11ab2798b8cb37..4e6d6bfba75f24544debbb1f45fdd7e5453a527e 100644
--- a/headless/test/test_protocol_handler.cc
+++ b/headless/test/test_protocol_handler.cc
@@ -14,6 +14,7 @@ TestProtocolHandler::TestProtocolHandler(const std::string& body)
net::URLRequestJob* TestProtocolHandler::MaybeCreateJob(
net::URLRequest* request,
net::NetworkDelegate* network_delegate) const {
+ last_http_request_headers_ = request->extra_request_headers();
return new TestURLRequestJob(request, network_delegate, body_);
}
« no previous file with comments | « headless/test/test_protocol_handler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698