Index: components/data_reduction_proxy/common/data_reduction_proxy_headers.h |
diff --git a/components/data_reduction_proxy/common/data_reduction_proxy_headers.h b/components/data_reduction_proxy/common/data_reduction_proxy_headers.h |
index c2ca1df5f15aafe4dec8622c0aedd127a0a1efe0..a5bf12e45d5333a40cb295da1e03a445be9962d7 100644 |
--- a/components/data_reduction_proxy/common/data_reduction_proxy_headers.h |
+++ b/components/data_reduction_proxy/common/data_reduction_proxy_headers.h |
@@ -51,6 +51,14 @@ GetDataReductionProxyBypassEventType( |
const net::HttpResponseHeaders* headers, |
DataReductionProxyInfo* proxy_info); |
+// Searches for the specified Chrome-Proxy action, and if present saves its |
+// value as a string in |action_value|. Only keeps the first one and ignores |
+// the rest if multiple actions matches |action_prefix|. |
bengr
2014/07/14 18:27:14
match
bolian
2014/07/14 19:23:59
Document return value.
xingx
2014/07/14 21:37:17
Done.
xingx
2014/07/14 21:37:17
Acknowledged.
|
+bool GetDataReductionProxyActionValue( |
+ const net::HttpResponseHeaders* headers, |
+ const std::string& action_prefix, |
+ std::string* action_value); |
+ |
// Searches for the specified Chrome-Proxy action, and if present interprets |
// its value as a duration in seconds. |
bool GetDataReductionProxyBypassDuration( |