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

Unified Diff: chrome/browser/metrics/metrics_service.h

Issue 294043008: Introduce AndroidMetricsProvider class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 7 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
« no previous file with comments | « chrome/browser/metrics/android_metrics_provider.cc ('k') | chrome/browser/metrics/metrics_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/metrics_service.h
===================================================================
--- chrome/browser/metrics/metrics_service.h (revision 272124)
+++ chrome/browser/metrics/metrics_service.h (working copy)
@@ -36,10 +36,6 @@
#include "content/public/browser/user_metrics.h"
#include "net/url_request/url_fetcher_delegate.h"
-#if defined(OS_ANDROID)
-#include "chrome/browser/android/activity_type_ids.h"
-#endif
-
class ChromeBrowserMetricsServiceObserver;
class MetricsReportingScheduler;
class PrefService;
@@ -188,9 +184,6 @@
// At startup, prefs needs to be called with a list of all the pref names and
// types we'll be using.
static void RegisterPrefs(PrefRegistrySimple* registry);
-#if defined(OS_ANDROID)
- static void RegisterPrefsAndroid(PrefRegistrySimple* registry);
-#endif // defined(OS_ANDROID)
// Set up notifications which indicate that a user is performing work. This is
// useful to allow some features to sleep, until the machine becomes active,
@@ -223,18 +216,6 @@
// that session end was successful.
void RecordCompletedSessionEnd();
-#if defined(OS_ANDROID)
- // Called to log launch and crash stats to preferences.
- void LogAndroidStabilityToPrefs(PrefService* pref);
-
- // Converts crash stats stored in the preferences into histograms.
- void ConvertAndroidStabilityPrefsToHistograms(PrefService* pref);
-
- // Called when the Activity that the user interacts with is swapped out.
- void OnForegroundActivityChanged(PrefService* pref,
- ActivityTypeIds::Type type);
-#endif // defined(OS_ANDROID)
-
#if defined(OS_ANDROID) || defined(OS_IOS)
// Called when the application is going into background mode.
void OnAppEnterBackground();
« no previous file with comments | « chrome/browser/metrics/android_metrics_provider.cc ('k') | chrome/browser/metrics/metrics_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698