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

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_event_creator.h

Issue 1124073008: Base Data Reduction Proxy configuration on vectors of servers per origin scheme. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bengr CR comments Created 5 years, 7 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: components/data_reduction_proxy/core/common/data_reduction_proxy_event_creator.h
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_event_creator.h b/components/data_reduction_proxy/core/common/data_reduction_proxy_event_creator.h
index 44faf53fcbf90a92e7af901437db5749ce4ffc33..ee1f4ba17659143f57765bdf2bce388b09ca0015 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_event_creator.h
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_event_creator.h
@@ -6,6 +6,7 @@
#define COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_EVENT_CREATOR_H_
#include <string>
+#include <vector>
#include "base/basictypes.h"
#include "base/macros.h"
@@ -24,6 +25,7 @@ class Value;
namespace net {
class BoundNetLog;
+class ProxyServer;
}
namespace data_reduction_proxy {
@@ -43,12 +45,11 @@ class DataReductionProxyEventCreator {
// Adds the DATA_REDUCTION_PROXY_ENABLED event (with enabled=true) to the
// event store.
- void AddProxyEnabledEvent(net::NetLog* net_log,
- bool primary_restricted,
- bool fallback_restricted,
- const std::string& primary_origin,
- const std::string& fallback_origin,
- const std::string& ssl_origin);
+ void AddProxyEnabledEvent(
+ net::NetLog* net_log,
+ bool secure_transport_restricted,
+ const std::vector<net::ProxyServer>& proxies_for_http,
+ const std::vector<net::ProxyServer>& proxies_for_https);
// Adds the DATA_REDUCTION_PROXY_ENABLED event (with enabled=false) to the
// event store.

Powered by Google App Engine
This is Rietveld 408576698