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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc

Issue 1128823005: Update marking proxies as bad in ProxyList/ProxyService to use a std::vector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit test failure 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/browser/data_reduction_proxy_metrics_unittest.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc
index 5c44a5f7cd8ffca6187c1eaba03e335d5d6b9b7b..d51235449fd622e3ea283e7a822794d3ca54da00 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc
@@ -4,6 +4,8 @@
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h"
+#include <vector>
+
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
@@ -153,7 +155,8 @@ TEST(ChromeNetworkDailyDataSavingMetricsTest,
proxy_info.UseProxyList(
data_reduction_proxy_config.proxy_rules().proxies_for_http);
EXPECT_TRUE(context.proxy_service()->MarkProxiesAsBadUntil(
- proxy_info, test_case.bypass_duration, net::ProxyServer(),
+ proxy_info, test_case.bypass_duration,
+ std::vector<net::ProxyServer>(),
net::BoundNetLog::Make(context.net_log(), net::NetLog::SOURCE_NONE)));
}
« no previous file with comments | « components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc ('k') | net/proxy/proxy_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698