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

Unified Diff: headless/public/util/testing/generic_url_request_mocks.h

Issue 2352663003: Adds a --deterministic-fetch flag to headless_shell (Closed)
Patch Set: Changes for Sami Created 4 years, 3 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/http_url_fetcher.cc ('k') | headless/public/util/testing/generic_url_request_mocks.cc » ('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.h
diff --git a/headless/public/util/testing/generic_url_request_mocks.h b/headless/public/util/testing/generic_url_request_mocks.h
index 0af68d08f242326820410b3c9a2561a236f8672e..7dc683fce64b6a3edfb3a784ee99d2f34b99d197 100644
--- a/headless/public/util/testing/generic_url_request_mocks.h
+++ b/headless/public/util/testing/generic_url_request_mocks.h
@@ -33,11 +33,13 @@ class MockGenericURLRequestJobDelegate : public GenericURLRequestJob::Delegate {
bool BlockOrRewriteRequest(
const GURL& url,
+ const std::string& method,
const std::string& referrer,
GenericURLRequestJob::RewriteCallback callback) override;
const GenericURLRequestJob::HttpResponse* MaybeMatchResource(
const GURL& url,
+ const std::string& method,
const net::HttpRequestHeaders& request_headers) override;
void OnResourceLoadComplete(const GURL& final_url,
« no previous file with comments | « headless/public/util/http_url_fetcher.cc ('k') | headless/public/util/testing/generic_url_request_mocks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698