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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 #include "chrome/browser/ui/android/tab_model/tab_model_selector_base.h" | 163 #include "chrome/browser/ui/android/tab_model/tab_model_selector_base.h" |
164 #include "chrome/browser/ui/android/toolbar/toolbar_model_android.h" | 164 #include "chrome/browser/ui/android/toolbar/toolbar_model_android.h" |
165 #include "chrome/browser/ui/android/usb_chooser_dialog_android.h" | 165 #include "chrome/browser/ui/android/usb_chooser_dialog_android.h" |
166 #include "components/dom_distiller/content/browser/android/content_jni_registrar
.h" | 166 #include "components/dom_distiller/content/browser/android/content_jni_registrar
.h" |
167 #include "components/dom_distiller/core/android/core_jni_registrar.h" | 167 #include "components/dom_distiller/core/android/core_jni_registrar.h" |
168 #include "components/gcm_driver/android/component_jni_registrar.h" | 168 #include "components/gcm_driver/android/component_jni_registrar.h" |
169 #include "components/gcm_driver/instance_id/android/component_jni_registrar.h" | 169 #include "components/gcm_driver/instance_id/android/component_jni_registrar.h" |
170 #include "components/invalidation/impl/android/component_jni_registrar.h" | 170 #include "components/invalidation/impl/android/component_jni_registrar.h" |
171 #include "components/payments/content/android/currency_formatter_android.h" | 171 #include "components/payments/content/android/currency_formatter_android.h" |
172 #include "components/payments/content/android/payment_details_validation_android
.h" | 172 #include "components/payments/content/android/payment_details_validation_android
.h" |
| 173 #include "components/payments/content/android/payment_manifest_downloader_androi
d.h" |
| 174 #include "components/payments/content/android/payment_manifest_parser_android.h" |
173 #include "components/policy/core/browser/android/component_jni_registrar.h" | 175 #include "components/policy/core/browser/android/component_jni_registrar.h" |
174 #include "components/safe_browsing_db/android/jni_registrar.h" | 176 #include "components/safe_browsing_db/android/jni_registrar.h" |
175 #include "components/safe_json/android/component_jni_registrar.h" | 177 #include "components/safe_json/android/component_jni_registrar.h" |
176 #include "components/signin/core/browser/android/component_jni_registrar.h" | 178 #include "components/signin/core/browser/android/component_jni_registrar.h" |
177 #include "components/spellcheck/browser/android/component_jni_registrar.h" | 179 #include "components/spellcheck/browser/android/component_jni_registrar.h" |
178 #include "components/spellcheck/spellcheck_build_features.h" | 180 #include "components/spellcheck/spellcheck_build_features.h" |
179 #include "components/sync/android/sync_jni_registrar.h" | 181 #include "components/sync/android/sync_jni_registrar.h" |
180 #include "components/url_formatter/android/component_jni_registrar.h" | 182 #include "components/url_formatter/android/component_jni_registrar.h" |
181 #include "components/variations/android/component_jni_registrar.h" | 183 #include "components/variations/android/component_jni_registrar.h" |
182 #include "components/web_contents_delegate_android/component_jni_registrar.h" | 184 #include "components/web_contents_delegate_android/component_jni_registrar.h" |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 {"OmniboxUrlEmphasizer", | 338 {"OmniboxUrlEmphasizer", |
337 OmniboxUrlEmphasizer::RegisterOmniboxUrlEmphasizer}, | 339 OmniboxUrlEmphasizer::RegisterOmniboxUrlEmphasizer}, |
338 {"OmniboxViewUtil", OmniboxViewUtil::RegisterOmniboxViewUtil}, | 340 {"OmniboxViewUtil", OmniboxViewUtil::RegisterOmniboxViewUtil}, |
339 {"OverlayPanelContent", RegisterOverlayPanelContent}, | 341 {"OverlayPanelContent", RegisterOverlayPanelContent}, |
340 {"PartnerBookmarksReader", | 342 {"PartnerBookmarksReader", |
341 PartnerBookmarksReader::RegisterPartnerBookmarksReader}, | 343 PartnerBookmarksReader::RegisterPartnerBookmarksReader}, |
342 {"PasswordGenerationPopup", | 344 {"PasswordGenerationPopup", |
343 autofill::PasswordGenerationPopupViewAndroid::Register}, | 345 autofill::PasswordGenerationPopupViewAndroid::Register}, |
344 {"PasswordUIViewAndroid", | 346 {"PasswordUIViewAndroid", |
345 PasswordUIViewAndroid::RegisterPasswordUIViewAndroid}, | 347 PasswordUIViewAndroid::RegisterPasswordUIViewAndroid}, |
346 {"PaymentValidator", RegisterPaymentValidator}, | 348 {"PaymentManifestDownloader", payments::RegisterPaymentManifestDownloader}, |
| 349 {"PaymentManifestParser", payments::RegisterPaymentManifestParser}, |
| 350 {"PaymentValidator", payments::RegisterPaymentValidator}, |
347 {"PermissionDialogDelegate", | 351 {"PermissionDialogDelegate", |
348 PermissionDialogDelegate::RegisterPermissionDialogDelegate}, | 352 PermissionDialogDelegate::RegisterPermissionDialogDelegate}, |
349 {"PermissionUpdateInfoBarDelegate", | 353 {"PermissionUpdateInfoBarDelegate", |
350 PermissionUpdateInfoBarDelegate::RegisterPermissionUpdateInfoBarDelegate}, | 354 PermissionUpdateInfoBarDelegate::RegisterPermissionUpdateInfoBarDelegate}, |
351 {"PersonalDataManagerAndroid", | 355 {"PersonalDataManagerAndroid", |
352 autofill::PersonalDataManagerAndroid::Register}, | 356 autofill::PersonalDataManagerAndroid::Register}, |
353 {"PhysicalWebDataSourceAndroid", | 357 {"PhysicalWebDataSourceAndroid", |
354 PhysicalWebDataSourceAndroid::RegisterPhysicalWebDataSource}, | 358 PhysicalWebDataSourceAndroid::RegisterPhysicalWebDataSource}, |
355 {"PolicyAuditor", RegisterPolicyAuditor}, | 359 {"PolicyAuditor", RegisterPolicyAuditor}, |
356 {"PrecacheLauncher", RegisterPrecacheLauncher}, | 360 {"PrecacheLauncher", RegisterPrecacheLauncher}, |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 #endif | 436 #endif |
433 }; | 437 }; |
434 | 438 |
435 bool RegisterBrowserJNI(JNIEnv* env) { | 439 bool RegisterBrowserJNI(JNIEnv* env) { |
436 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); | 440 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); |
437 return RegisterNativeMethods(env, kChromeRegisteredMethods, | 441 return RegisterNativeMethods(env, kChromeRegisteredMethods, |
438 arraysize(kChromeRegisteredMethods)); | 442 arraysize(kChromeRegisteredMethods)); |
439 } | 443 } |
440 | 444 |
441 } // namespace android | 445 } // namespace android |
OLD | NEW |