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

Unified Diff: headless/public/util/testing/generic_url_request_mocks.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/public/util/testing/generic_url_request_mocks.h ('k') | headless/test/headless_browser_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/public/util/testing/generic_url_request_mocks.cc
diff --git a/headless/public/util/testing/generic_url_request_mocks.cc b/headless/public/util/testing/generic_url_request_mocks.cc
index b9f94c17a7c1f8c12cd00e07c3964d9834953fe7..54e6c67c54aab9a2d7ff7df22d91685d47e72cb7 100644
--- a/headless/public/util/testing/generic_url_request_mocks.cc
+++ b/headless/public/util/testing/generic_url_request_mocks.cc
@@ -20,6 +20,7 @@ MockGenericURLRequestJobDelegate::~MockGenericURLRequestJobDelegate() {}
bool MockGenericURLRequestJobDelegate::BlockOrRewriteRequest(
const GURL& url,
+ const std::string& devtools_id,
const std::string& method,
const std::string& referrer,
GenericURLRequestJob::RewriteCallback callback) {
@@ -31,6 +32,7 @@ bool MockGenericURLRequestJobDelegate::BlockOrRewriteRequest(
const GenericURLRequestJob::HttpResponse*
MockGenericURLRequestJobDelegate::MaybeMatchResource(
const GURL& url,
+ const std::string& devtools_id,
const std::string& method,
const net::HttpRequestHeaders& request_headers) {
return nullptr;
@@ -38,6 +40,7 @@ MockGenericURLRequestJobDelegate::MaybeMatchResource(
void MockGenericURLRequestJobDelegate::OnResourceLoadComplete(
const GURL& final_url,
+ const std::string& devtools_id,
const std::string& mime_type,
int http_response_code) {}
« no previous file with comments | « headless/public/util/testing/generic_url_request_mocks.h ('k') | headless/test/headless_browser_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698