Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc |
index 6bf0dfb65e02a81bb9c5c27d1d7c3d182f6fd93f..d786b45a7e6d4b117d34c21743999942128b33d8 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc |
@@ -310,7 +310,7 @@ TEST_F(DataReductionProxyConfigTest, |
CheckSecureProxyCheckOnIPChange("OK", SUCCEEDED_PROXY_ENABLED, false, false); |
} |
-std::string GetRetryMapKeyFromOrigin(std::string origin) { |
+std::string GetRetryMapKeyFromOrigin(const std::string& origin) { |
// The retry map has the scheme prefix for https but not for http. |
return origin; |
} |