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

Unified Diff: components/network_time/network_time_test_utils.h

Issue 2448943004: Add experimental feature info to certificate reports (Closed)
Patch Set: battre comment Created 4 years, 1 month 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 | « components/network_time/BUILD.gn ('k') | components/network_time/network_time_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/network_time/network_time_test_utils.h
diff --git a/components/network_time/network_time_test_utils.h b/components/network_time/network_time_test_utils.h
index c7aa18c026f4d2c4574ba7fe59af6d2c1c0f6f93..51b3c4f7c63657133754322d189d3644106ece4a 100644
--- a/components/network_time/network_time_test_utils.h
+++ b/components/network_time/network_time_test_utils.h
@@ -9,6 +9,7 @@
#include <memory>
#include "base/macros.h"
+#include "components/network_time/network_time_tracker.h"
namespace base {
namespace test {
@@ -52,12 +53,6 @@ std::unique_ptr<net::test_server::HttpResponse> GoodTimeResponseHandler(
// Allows tests to configure the network time queries field trial.
class FieldTrialTest {
public:
- enum FetchBehavior {
- FETCHES_IN_BACKGROUND_ONLY,
- FETCHES_ON_DEMAND_ONLY,
- FETCHES_IN_BACKGROUND_AND_ON_DEMAND,
- };
-
virtual ~FieldTrialTest();
// A FieldTrialList exists as a global singleton. Use
@@ -67,9 +62,10 @@ class FieldTrialTest {
static FieldTrialTest* CreateForUnitTest();
static FieldTrialTest* CreateForBrowserTest();
- void SetNetworkQueriesWithVariationsService(bool enable,
- float query_probability,
- FetchBehavior fetch_behavior);
+ void SetNetworkQueriesWithVariationsService(
+ bool enable,
+ float query_probability,
+ NetworkTimeTracker::FetchBehavior fetch_behavior);
private:
FieldTrialTest();
« no previous file with comments | « components/network_time/BUILD.gn ('k') | components/network_time/network_time_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698