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

Unified Diff: net/http/http_transaction.h

Issue 360113004: Add header pointer to BeforeProxyHeadersSentCallback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comment Created 6 years, 6 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 | « net/http/http_network_transaction_unittest.cc ('k') | net/url_request/url_request_http_job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_transaction.h
diff --git a/net/http/http_transaction.h b/net/http/http_transaction.h
index db8ed5211b0d6c1c1c64aa178d7cff02edba0698..52b3c977bde166ab77db767c1c57780a5ed474af 100644
--- a/net/http/http_transaction.h
+++ b/net/http/http_transaction.h
@@ -36,9 +36,11 @@ class NET_EXPORT_PRIVATE HttpTransaction {
// Provides an opportunity to add proxy-specific request headers. Called after
// it is determined that a proxy is being used and before the request headers
- // are sent. |proxy_info| contains information about the proxy being used.
+ // are sent. |proxy_info| contains information about the proxy being used,
+ // and additional headers may be added to |request_headers|.
typedef base::Callback<void(
- const ProxyInfo& proxy_info)> BeforeProxyHeadersSentCallback;
+ const ProxyInfo& proxy_info,
+ HttpRequestHeaders* request_headers)> BeforeProxyHeadersSentCallback;
// Stops any pending IO and destroys the transaction object.
virtual ~HttpTransaction() {}
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | net/url_request/url_request_http_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698