chromium/components/metrics/test/test_metrics_service_client.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/metrics/test/test_metrics_service_client.h"

#include <memory>
#include <string_view>
#include <utility>

#include "base/containers/contains.h"
#include "base/functional/callback.h"
#include "components/metrics/metrics_log_uploader.h"
#include "third_party/metrics_proto/chrome_user_metrics_extension.pb.h"

namespace metrics {

// static
const char TestMetricsServiceClient::kBrandForTesting[] =;

TestMetricsServiceClient::TestMetricsServiceClient() = default;
TestMetricsServiceClient::~TestMetricsServiceClient() = default;

variations::SyntheticTrialRegistry*
TestMetricsServiceClient::GetSyntheticTrialRegistry() {}

metrics::MetricsService* TestMetricsServiceClient::GetMetricsService() {}

void TestMetricsServiceClient::SetMetricsClientId(
    const std::string& client_id) {}

bool TestMetricsServiceClient::ShouldUploadMetricsForUserId(uint64_t user_id) {}

int32_t TestMetricsServiceClient::GetProduct() {}

std::string TestMetricsServiceClient::GetApplicationLocale() {}

bool TestMetricsServiceClient::GetBrand(std::string* brand_code) {}

const network_time::NetworkTimeTracker*
TestMetricsServiceClient::GetNetworkTimeTracker() {}

SystemProfileProto::Channel TestMetricsServiceClient::GetChannel() {}

bool TestMetricsServiceClient::IsExtendedStableChannel() {}

std::string TestMetricsServiceClient::GetVersionString() {}

void TestMetricsServiceClient::CollectFinalMetricsForLog(
    base::OnceClosure done_callback) {}

std::unique_ptr<MetricsLogUploader> TestMetricsServiceClient::CreateUploader(
    const GURL& server_url,
    const GURL& insecure_server_url,
    std::string_view mime_type,
    MetricsLogUploader::MetricServiceType service_type,
    const MetricsLogUploader::UploadCallback& on_upload_complete) {}

base::TimeDelta TestMetricsServiceClient::GetStandardUploadInterval() {}

bool TestMetricsServiceClient::IsReportingPolicyManaged() {}

EnableMetricsDefault
TestMetricsServiceClient::GetMetricsReportingDefaultState() {}

std::string TestMetricsServiceClient::GetAppPackageNameIfLoggable() {}

bool TestMetricsServiceClient::ShouldResetClientIdsOnClonedInstall() {}

MetricsLogStore::StorageLimits TestMetricsServiceClient::GetStorageLimits()
    const {}

void TestMetricsServiceClient::AllowMetricUploadForUserId(uint64_t user_id) {}

void TestMetricsServiceClient::RemoveMetricUploadForUserId(uint64_t user_id) {}

}  // namespace metrics