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

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

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/common/data_reduction_proxy_params_test_utils.h
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h b/components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h
index ea012b8042243d1ee5047404ef679adda6a87a9b..f779e291a6d6bcc1d373f41114aaa2447f3222fc 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h
@@ -9,12 +9,10 @@
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_params.h"
-namespace net {
-class ProxyServer;
-}
-
namespace data_reduction_proxy {
+class DataReductionProxyServer;
+
class TestDataReductionProxyParams : public DataReductionProxyParams {
public:
// Used to emulate having constants defined by the preprocessor.
@@ -30,7 +28,7 @@ class TestDataReductionProxyParams : public DataReductionProxyParams {
unsigned int has_definitions);
bool init_result() const;
- void SetProxiesForHttp(const std::vector<net::ProxyServer>& proxies);
+ void SetProxiesForHttp(const std::vector<DataReductionProxyServer>& proxies);
// Test values to replace the values specified in preprocessor defines.
static std::string DefaultOrigin();

Powered by Google App Engine
This is Rietveld 408576698