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

Side by Side 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: persistedclientid --> forceclientid, review comments 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROMECAST_BROWSER_METRICS_PLATFORM_METRICS_PROVIDERS_H_
6 #define CHROMECAST_BROWSER_METRICS_PLATFORM_METRICS_PROVIDERS_H_
7
8 #include "components/metrics/proto/system_profile.pb.h"
9
10 namespace metrics {
11 class MetricsService;
12 }
13
14 namespace chromecast {
15
16 class CastService;
17
18 namespace metrics {
19
20 // Build-level hook for different platforms to provide data to MetricsService.
21 void RegisterPlatformMetricsProviders(
22 ::metrics::MetricsService* metrics_service,
23 CastService* cast_servce);
24
25 // Returns UMA client ID persisted in the platform.
26 const std::string GetPlatformClientID(CastService* cast_servce);
27
28 // Called when the UMA client ID has been set.
29 void PlatformSetClientID(CastService* cast_servce,
30 const std::string& client_id);
31
32 } // namespace metrics
33 } // namespace chromecast
34
35 #endif // CHROMECAST_BROWSER_METRICS_PLATFORM_METRICS_PROVIDERS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698