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

Unified Diff: chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc

Issue 2439303002: Record UMA on number of days since data reduction proxy is enabled. (Closed)
Patch Set: fix compile error Created 4 years, 2 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
« no previous file with comments | « no previous file | components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc
diff --git a/chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc b/chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc
index 65a9145c93213c077cc030ebffbac8de1dc86c79..3495ebe42a296b012ea8d0fd0938ad85b0e52a38 100644
--- a/chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc
+++ b/chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc
@@ -31,6 +31,10 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
+namespace base {
+class Clock;
+}
+
using testing::_;
using testing::AnyNumber;
using testing::Return;
@@ -57,6 +61,7 @@ class TestDataReductionProxySettingsAndroid
template <class C>
void data_reduction_proxy::DataReductionProxySettingsTestBase::ResetSettings(
+ std::unique_ptr<base::Clock> clock,
bool allowed,
bool fallback_allowed,
bool promo_allowed,
@@ -88,10 +93,11 @@ void data_reduction_proxy::DataReductionProxySettingsTestBase::ResetSettings(
template void
data_reduction_proxy::DataReductionProxySettingsTestBase::ResetSettings<
- DataReductionProxyChromeSettings>(bool allowed,
- bool fallback_allowed,
- bool promo_allowed,
- bool holdback);
+ DataReductionProxyChromeSettings>(std::unique_ptr<base::Clock> clock,
+ bool allowed,
+ bool fallback_allowed,
+ bool promo_allowed,
+ bool holdback);
class DataReductionProxySettingsAndroidTest
: public data_reduction_proxy::ConcreteDataReductionProxySettingsTest<
« no previous file with comments | « no previous file | components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698