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

Unified Diff: chromecast/browser/metrics/platform_metrics_providers.h

Issue 1298473004: [Chromecast] Moves persistent UMA client ID handling to common code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: GN updates, initialize pointer to nullptr Created 5 years, 4 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: chromecast/browser/metrics/platform_metrics_providers.h
diff --git a/chromecast/browser/metrics/platform_metrics_providers.h b/chromecast/browser/metrics/platform_metrics_providers.h
deleted file mode 100644
index 41225ab119255351372b124809c8d6a0e42fc3ef..0000000000000000000000000000000000000000
--- a/chromecast/browser/metrics/platform_metrics_providers.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROMECAST_BROWSER_METRICS_PLATFORM_METRICS_PROVIDERS_H_
-#define CHROMECAST_BROWSER_METRICS_PLATFORM_METRICS_PROVIDERS_H_
-
-#include "components/metrics/proto/system_profile.pb.h"
-
-namespace metrics {
-class MetricsService;
-}
-
-namespace chromecast {
-
-class CastService;
-
-namespace metrics {
-
-// Build-level hook for different platforms to provide data to MetricsService.
-void RegisterPlatformMetricsProviders(
- ::metrics::MetricsService* metrics_service,
- CastService* cast_servce);
-
-// Returns UMA client ID persisted in the platform.
-const std::string GetPlatformClientID(CastService* cast_servce);
-
-// Called when the UMA client ID has been set.
-void PlatformSetClientID(CastService* cast_servce,
- const std::string& client_id);
-
-} // namespace metrics
-} // namespace chromecast
-
-#endif // CHROMECAST_BROWSER_METRICS_PLATFORM_METRICS_PROVIDERS_H_

Powered by Google App Engine
This is Rietveld 408576698