#include "components/network_time/network_time_test_utils.h"
#include <memory>
#include "base/metrics/field_trial_params.h"
#include "base/strings/string_number_conversions.h"
#include "net/http/http_response_headers.h"
#include "net/test/embedded_test_server/http_response.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace network_time {
const char* kGoodTimeResponseBody[] = …;
const char* kGoodTimeResponseServerProofHeader[] = …;
const double kGoodTimeResponseHandlerJsTime[] = …;
std::unique_ptr<net::test_server::HttpResponse> GoodTimeResponseHandler(
const net::test_server::HttpRequest& request) { … }
FieldTrialTest::FieldTrialTest() { … }
FieldTrialTest::~FieldTrialTest() { … }
void FieldTrialTest::SetFeatureParams(
bool enable,
float query_probability,
NetworkTimeTracker::FetchBehavior fetch_behavior) { … }
}