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

Unified Diff: chrome/browser/android/chrome_jni_registrar.cc

Issue 23443009: [Android] Support startup histogram. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [Android] Support startup histogram; remove unnecessary change to AwShellApplication.java Created 7 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: chrome/browser/android/chrome_jni_registrar.cc
diff --git a/chrome/browser/android/chrome_jni_registrar.cc b/chrome/browser/android/chrome_jni_registrar.cc
index b1afd291b00ca65a2e6e62cf475fd91971cad1a9..299ae2471eb79800e2421c31e81b4ad301ec81ef 100644
--- a/chrome/browser/android/chrome_jni_registrar.cc
+++ b/chrome/browser/android/chrome_jni_registrar.cc
@@ -38,6 +38,7 @@
#include "chrome/browser/ui/android/ssl_client_certificate_request.h"
#include "chrome/browser/ui/android/validation_message_bubble_android.h"
#include "chrome/browser/ui/android/website_settings_popup_android.h"
+#include "chrome/common/android/startup_metric_utils_android.h"
#include "components/autofill/core/browser/android/component_jni_registrar.h"
#include "components/navigation_interception/component_jni_registrar.h"
#include "components/web_contents_delegate_android/component_jni_registrar.h"
@@ -93,6 +94,7 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
{ "SigninManager", SigninManagerAndroid::Register },
{ "SqliteCursor", SQLiteCursor::RegisterSqliteCursor },
{ "SSLClientCertificateRequest", RegisterSSLClientCertificateRequestAndroid },
+ { "StartupMetricUtils", RegisterStartupMetricUtils },
Yaron 2013/08/27 20:42:30 Hmm. This is only used by the browser process but
aberent 2013/08/28 15:53:05 I don't want to create a common jni register only
{ "TabAndroid", TabAndroid::RegisterTabAndroid },
{ "TemplateUrlServiceAndroid", TemplateUrlServiceAndroid::Register },
{ "TtsPlatformImpl", TtsPlatformImplAndroid::Register },

Powered by Google App Engine
This is Rietveld 408576698