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

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc

Issue 1840573003: Add request method of the last data reduction proxy bypass to user feedback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | components/data_reduction_proxy/core/common/data_reduction_proxy_event_store_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc b/components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc
index b3f8cd8a42c768e486e0ecfb779d8830dfa0e0c2..6ecdd888879411ae2707c95f3ff161ccad64eabf 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc
@@ -274,6 +274,9 @@ std::string DataReductionProxyEventStore::SanitizedLastBypassEvent() const {
}
}
+ if (params_dict->GetString("method", &str_value))
+ last_bypass->SetString("method", str_value);
+
if (params_dict->GetString("url", &str_value)) {
GURL url(str_value);
if (truncate_url_to_host) {
« no previous file with comments | « no previous file | components/data_reduction_proxy/core/common/data_reduction_proxy_event_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698