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

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

Issue 2750513002: Headless: Pass devtools request id to the URLFetcher (Closed)
Patch Set: Remove underscores 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
Index: headless/public/util/url_fetcher.h
diff --git a/headless/public/util/url_fetcher.h b/headless/public/util/url_fetcher.h
index ac4bbc51426b29b3f290b3cafdbe1c89652f700b..3ea1658d08c5462e8bbf9c914e8777c62a5850b2 100644
--- a/headless/public/util/url_fetcher.h
+++ b/headless/public/util/url_fetcher.h
@@ -63,7 +63,13 @@ class URLFetcher {
virtual void StartFetch(const GURL& rewritten_url,
const std::string& method,
const net::HttpRequestHeaders& request_headers,
- ResultListener* result_listener) = 0;
+ const std::string& devtools_request_id,
+ ResultListener* result_listener);
+ // TODO(alexclarke): Make the above pure virtual and remove this.
+ virtual void StartFetch(const GURL& rewritten_url,
+ const std::string& method,
+ const net::HttpRequestHeaders& request_headers,
+ ResultListener* result_listener);
private:
DISALLOW_COPY_AND_ASSIGN(URLFetcher);
« no previous file with comments | « headless/public/util/protocol_handler_request_id_browsertest.cc ('k') | headless/public/util/url_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698