OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/android/chrome_jni_registrar.h" | 5 #include "chrome/browser/android/chrome_jni_registrar.h" |
6 | 6 |
7 #include "base/android/jni_android.h" | 7 #include "base/android/jni_android.h" |
8 #include "base/android/jni_registrar.h" | 8 #include "base/android/jni_registrar.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/trace_event/trace_event.h" | 10 #include "base/trace_event/trace_event.h" |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 #include "chrome/browser/ui/android/tab_model/tab_model_jni_bridge.h" | 165 #include "chrome/browser/ui/android/tab_model/tab_model_jni_bridge.h" |
166 #include "chrome/browser/ui/android/tab_model/tab_model_selector_base.h" | 166 #include "chrome/browser/ui/android/tab_model/tab_model_selector_base.h" |
167 #include "chrome/browser/ui/android/toolbar/toolbar_model_android.h" | 167 #include "chrome/browser/ui/android/toolbar/toolbar_model_android.h" |
168 #include "chrome/browser/ui/android/usb_chooser_dialog_android.h" | 168 #include "chrome/browser/ui/android/usb_chooser_dialog_android.h" |
169 #include "components/dom_distiller/content/browser/android/content_jni_registrar
.h" | 169 #include "components/dom_distiller/content/browser/android/content_jni_registrar
.h" |
170 #include "components/dom_distiller/core/android/core_jni_registrar.h" | 170 #include "components/dom_distiller/core/android/core_jni_registrar.h" |
171 #include "components/gcm_driver/android/component_jni_registrar.h" | 171 #include "components/gcm_driver/android/component_jni_registrar.h" |
172 #include "components/gcm_driver/instance_id/android/component_jni_registrar.h" | 172 #include "components/gcm_driver/instance_id/android/component_jni_registrar.h" |
173 #include "components/invalidation/impl/android/component_jni_registrar.h" | 173 #include "components/invalidation/impl/android/component_jni_registrar.h" |
174 #include "components/payments/content/android/currency_formatter_android.h" | 174 #include "components/payments/content/android/currency_formatter_android.h" |
| 175 #include "components/payments/content/android/journey_logger_android.h" |
175 #include "components/payments/content/android/payment_details_validation_android
.h" | 176 #include "components/payments/content/android/payment_details_validation_android
.h" |
176 #include "components/payments/content/android/payment_manifest_downloader_androi
d.h" | 177 #include "components/payments/content/android/payment_manifest_downloader_androi
d.h" |
177 #include "components/payments/content/android/payment_manifest_parser_android.h" | 178 #include "components/payments/content/android/payment_manifest_parser_android.h" |
178 #include "components/policy/core/browser/android/component_jni_registrar.h" | 179 #include "components/policy/core/browser/android/component_jni_registrar.h" |
179 #include "components/safe_browsing_db/android/jni_registrar.h" | 180 #include "components/safe_browsing_db/android/jni_registrar.h" |
180 #include "components/safe_json/android/component_jni_registrar.h" | 181 #include "components/safe_json/android/component_jni_registrar.h" |
181 #include "components/signin/core/browser/android/component_jni_registrar.h" | 182 #include "components/signin/core/browser/android/component_jni_registrar.h" |
182 #include "components/spellcheck/browser/android/component_jni_registrar.h" | 183 #include "components/spellcheck/browser/android/component_jni_registrar.h" |
183 #include "components/spellcheck/spellcheck_build_features.h" | 184 #include "components/spellcheck/spellcheck_build_features.h" |
184 #include "components/sync/android/sync_jni_registrar.h" | 185 #include "components/sync/android/sync_jni_registrar.h" |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 {"HistoryReportJniBridge", history_report::RegisterHistoryReportJniBridge}, | 309 {"HistoryReportJniBridge", history_report::RegisterHistoryReportJniBridge}, |
309 {"InfoBarContainer", RegisterInfoBarContainer}, | 310 {"InfoBarContainer", RegisterInfoBarContainer}, |
310 {"InstantAppsInfobarDelegate", RegisterInstantAppsInfoBarDelegate}, | 311 {"InstantAppsInfobarDelegate", RegisterInstantAppsInfoBarDelegate}, |
311 {"InstantAppsSettings", RegisterInstantAppsSettings}, | 312 {"InstantAppsSettings", RegisterInstantAppsSettings}, |
312 {"InvalidationServiceFactory", | 313 {"InvalidationServiceFactory", |
313 invalidation::InvalidationServiceFactoryAndroid::Register}, | 314 invalidation::InvalidationServiceFactoryAndroid::Register}, |
314 {"SimpleConfirmInfoBarBuilder", RegisterSimpleConfirmInfoBarBuilder}, | 315 {"SimpleConfirmInfoBarBuilder", RegisterSimpleConfirmInfoBarBuilder}, |
315 {"ShortcutHelper", ShortcutHelper::RegisterShortcutHelper}, | 316 {"ShortcutHelper", ShortcutHelper::RegisterShortcutHelper}, |
316 {"JavascriptAppModalDialog", | 317 {"JavascriptAppModalDialog", |
317 JavascriptAppModalDialogAndroid::RegisterJavascriptAppModalDialog}, | 318 JavascriptAppModalDialogAndroid::RegisterJavascriptAppModalDialog}, |
| 319 {"JourneyLogger", payments::JourneyLoggerAndroid::Register}, |
318 {"LargeIconBridge", LargeIconBridge::RegisterLargeIconBridge}, | 320 {"LargeIconBridge", LargeIconBridge::RegisterLargeIconBridge}, |
319 {"LaunchMetrics", metrics::RegisterLaunchMetrics}, | 321 {"LaunchMetrics", metrics::RegisterLaunchMetrics}, |
320 {"LayerTitleCache", RegisterLayerTitleCache}, | 322 {"LayerTitleCache", RegisterLayerTitleCache}, |
321 {"SpecialLocaleHandler", RegisterSpecialLocaleHandler}, | 323 {"SpecialLocaleHandler", RegisterSpecialLocaleHandler}, |
322 {"LocationSettingsImpl", LocationSettingsImpl::Register}, | 324 {"LocationSettingsImpl", LocationSettingsImpl::Register}, |
323 {"LogoBridge", RegisterLogoBridge}, | 325 {"LogoBridge", RegisterLogoBridge}, |
324 {"MediaDrmCredentialManager", | 326 {"MediaDrmCredentialManager", |
325 MediaDrmCredentialManager::RegisterMediaDrmCredentialManager}, | 327 MediaDrmCredentialManager::RegisterMediaDrmCredentialManager}, |
326 {"MostVisitedSites", MostVisitedSitesBridge::Register}, | 328 {"MostVisitedSites", MostVisitedSitesBridge::Register}, |
327 {"NativeInfoBar", RegisterNativeInfoBar}, | 329 {"NativeInfoBar", RegisterNativeInfoBar}, |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 #endif | 445 #endif |
444 }; | 446 }; |
445 | 447 |
446 bool RegisterBrowserJNI(JNIEnv* env) { | 448 bool RegisterBrowserJNI(JNIEnv* env) { |
447 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); | 449 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); |
448 return RegisterNativeMethods(env, kChromeRegisteredMethods, | 450 return RegisterNativeMethods(env, kChromeRegisteredMethods, |
449 arraysize(kChromeRegisteredMethods)); | 451 arraysize(kChromeRegisteredMethods)); |
450 } | 452 } |
451 | 453 |
452 } // namespace android | 454 } // namespace android |
OLD | NEW |