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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/metrics/UmaBridge.java

Issue 978653002: Upstream FirstRunActivity and friends. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated logos Created 5 years, 9 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: chrome/android/java/src/org/chromium/chrome/browser/metrics/UmaBridge.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/metrics/UmaBridge.java b/chrome/android/java/src/org/chromium/chrome/browser/metrics/UmaBridge.java
index 75bad02f288bdf5a8e3e5a27634aaf844e059480..10297cd5566ada0466df524320c7726d2e2649f8 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/metrics/UmaBridge.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/metrics/UmaBridge.java
@@ -93,6 +93,32 @@ public class UmaBridge {
statusChange, BandwidthReductionPreferences.DATA_REDUCTION_INDEX_BOUNDARY);
}
+ // First Run Experience (obsolete, temporarily kept to match numbers)
+ public static void freSignInAttempted() {
+ nativeRecordFreSignInAttempted();
+ }
+
+ public static void freSignInSuccessful() {
+ nativeRecordFreSignInSuccessful();
+ }
+
+ public static void freSkipSignIn() {
+ nativeRecordFreSkipSignIn();
+ }
+
+ // First Run Experience post M-37
+ public static void freSignInShown() {
+ nativeRecordFreSignInShown();
+ }
+
+ public static void freSignInAccepted(boolean showSettings, boolean useDefaultAccount) {
+ nativeRecordFreSignInAccepted(showSettings, useDefaultAccount);
+ }
+
+ public static void freSignInDeclined() {
+ nativeRecordFreSignInDeclined();
+ }
+
private static native void nativeRecordMenuShow();
private static native void nativeRecordUsingMenu(boolean isByHwButton, boolean isDragging);
private static native void nativeRecordBeamInvalidAppState();
@@ -104,4 +130,15 @@ public class UmaBridge {
private static native void nativeRecordDataReductionProxyPromoDisplayed();
private static native void nativeRecordDataReductionProxySettings(int statusChange,
int boundary);
+
+ // First Run Experience (obsolete, temporarily kept to match numbers)
+ private static native void nativeRecordFreSignInAttempted();
+ private static native void nativeRecordFreSignInSuccessful();
+ private static native void nativeRecordFreSkipSignIn();
+
+ // First Run Experience post M-37
+ private static native void nativeRecordFreSignInShown();
+ private static native void nativeRecordFreSignInAccepted(
+ boolean showSettings, boolean defaultAccount);
+ private static native void nativeRecordFreSignInDeclined();
}

Powered by Google App Engine
This is Rietveld 408576698