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

Unified Diff: components/metrics/test_metrics_service_client.h

Issue 2567263003: Basic UkmService implementation (Closed)
Patch Set: Clang-format Created 3 years, 11 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
Index: components/metrics/test_metrics_service_client.h
diff --git a/components/metrics/test_metrics_service_client.h b/components/metrics/test_metrics_service_client.h
index 355e7c7c5ae361654dc45928aba5eba705f54610..d2b471f9a7f952006509df0da6b38ca2e32f6868 100644
--- a/components/metrics/test_metrics_service_client.h
+++ b/components/metrics/test_metrics_service_client.h
@@ -25,6 +25,7 @@ class TestMetricsServiceClient : public MetricsServiceClient {
// MetricsServiceClient:
metrics::MetricsService* GetMetricsService() override;
+ ukm::UkmService* GetUkmService() override;
void SetMetricsClientId(const std::string& client_id) override;
int32_t GetProduct() override;
std::string GetApplicationLocale() override;
@@ -36,6 +37,8 @@ class TestMetricsServiceClient : public MetricsServiceClient {
const base::Closure& done_callback) override;
void CollectFinalMetricsForLog(const base::Closure& done_callback) override;
std::unique_ptr<MetricsLogUploader> CreateUploader(
+ const std::string& server_url,
+ const std::string& mime_type,
const base::Callback<void(int)>& on_upload_complete) override;
base::TimeDelta GetStandardUploadInterval() override;
bool IsReportingPolicyManaged() override;

Powered by Google App Engine
This is Rietveld 408576698