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

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

Issue 2575323002: Store data reduction proxy server in a separate class (Closed)
Patch Set: ryansturm comments Created 4 years 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_io_data_unittest.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc
index fc6c3ce5b3599305bb6a6dd5a3d68d56f96ccc27..0a56765c4fba32129373030b8b2af8df5ededbcb 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc
@@ -19,6 +19,7 @@
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_params.h"
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h"
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h"
+#include "components/data_reduction_proxy/core/common/data_reduction_proxy_server.h"
#include "components/prefs/pref_service.h"
#include "components/prefs/testing_pref_service.h"
#include "net/http/http_network_session.h"
@@ -200,8 +201,11 @@ TEST_F(DataReductionProxyIODataTest, HoldbackConfiguresProxies) {
.Build();
EXPECT_TRUE(drp_test_context->test_params()->proxies_for_http().size() > 0);
- EXPECT_FALSE(
- drp_test_context->test_params()->proxies_for_http().front().is_direct());
+ EXPECT_FALSE(drp_test_context->test_params()
+ ->proxies_for_http()
+ .front()
+ .proxy_server()
+ .is_direct());
}
} // namespace data_reduction_proxy

Powered by Google App Engine
This is Rietveld 408576698