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

Unified Diff: chromecast/metrics/platform_metrics_providers.h

Issue 638803002: Reorganizes Chromecast code to better reflect functional dependencies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: extra DEPS: chromecast/crash/android --> chromecast/common Created 6 years, 2 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/metrics/platform_metrics_providers.h
diff --git a/chromecast/metrics/platform_metrics_providers.h b/chromecast/metrics/platform_metrics_providers.h
deleted file mode 100644
index 9d847e5c39b7171efa04840044bbc1656a25e78a..0000000000000000000000000000000000000000
--- a/chromecast/metrics/platform_metrics_providers.h
+++ /dev/null
@@ -1,39 +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_METRICS_PLATFORM_METRICS_PROVIDERS_H_
-#define CHROMECAST_METRICS_PLATFORM_METRICS_PROVIDERS_H_
-
-#include "components/metrics/proto/system_profile.pb.h"
-
-namespace metrics {
-class MetricsService;
-}
-
-namespace chromecast {
-namespace metrics {
-
-// Build-level hook for different platforms to provide data to MetricsService.
-void RegisterPlatformMetricsProviders(
- ::metrics::MetricsService* metrics_service);
-
-// Returns the current release channel.
-::metrics::SystemProfileProto::Channel GetPlatformReleaseChannel();
-
-// Returns a string representing this build's version.
-std::string GetPlatformVersionString();
-
-// Returns whether or not metrics reporting should be on.
-bool PlatformIsReportingEnabled();
-
-// Called when the UMA client ID has been set.
-void PlatformSetClientID(const std::string& client_id);
-
-// Called when an upload has completed.
-void PlatformOnLogUploadComplete();
-
-} // namespace metrics
-} // namespace chromecast
-
-#endif // CHROMECAST_METRICS_PLATFORM_METRICS_PROVIDERS_H_
« no previous file with comments | « chromecast/metrics/cast_stability_metrics_provider.cc ('k') | chromecast/metrics/platform_metrics_providers_simple.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698