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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 #include "chrome/browser/android/download/chrome_download_delegate.h" | 46 #include "chrome/browser/android/download/chrome_download_delegate.h" |
47 #include "chrome/browser/android/download/download_controller.h" | 47 #include "chrome/browser/android/download/download_controller.h" |
48 #include "chrome/browser/android/download/download_manager_service.h" | 48 #include "chrome/browser/android/download/download_manager_service.h" |
49 #include "chrome/browser/android/download/ui/thumbnail_provider.h" | 49 #include "chrome/browser/android/download/ui/thumbnail_provider.h" |
50 #include "chrome/browser/android/favicon_helper.h" | 50 #include "chrome/browser/android/favicon_helper.h" |
51 #include "chrome/browser/android/feature_utilities.h" | 51 #include "chrome/browser/android/feature_utilities.h" |
52 #include "chrome/browser/android/feedback/connectivity_checker.h" | 52 #include "chrome/browser/android/feedback/connectivity_checker.h" |
53 #include "chrome/browser/android/feedback/screenshot_task.h" | 53 #include "chrome/browser/android/feedback/screenshot_task.h" |
54 #include "chrome/browser/android/find_in_page/find_in_page_bridge.h" | 54 #include "chrome/browser/android/find_in_page/find_in_page_bridge.h" |
55 #include "chrome/browser/android/foreign_session_helper.h" | 55 #include "chrome/browser/android/foreign_session_helper.h" |
| 56 #include "chrome/browser/android/history/browsing_history_bridge.h" |
56 #include "chrome/browser/android/history_report/history_report_jni_bridge.h" | 57 #include "chrome/browser/android/history_report/history_report_jni_bridge.h" |
57 #include "chrome/browser/android/instantapps/instant_apps_infobar_delegate.h" | 58 #include "chrome/browser/android/instantapps/instant_apps_infobar_delegate.h" |
58 #include "chrome/browser/android/instantapps/instant_apps_settings.h" | 59 #include "chrome/browser/android/instantapps/instant_apps_settings.h" |
59 #include "chrome/browser/android/java_exception_reporter.h" | 60 #include "chrome/browser/android/java_exception_reporter.h" |
60 #include "chrome/browser/android/large_icon_bridge.h" | 61 #include "chrome/browser/android/large_icon_bridge.h" |
61 #include "chrome/browser/android/locale/special_locale_handler.h" | 62 #include "chrome/browser/android/locale/special_locale_handler.h" |
62 #include "chrome/browser/android/logo_bridge.h" | 63 #include "chrome/browser/android/logo_bridge.h" |
63 #include "chrome/browser/android/metrics/launch_metrics.h" | 64 #include "chrome/browser/android/metrics/launch_metrics.h" |
64 #include "chrome/browser/android/metrics/uma_session_stats.h" | 65 #include "chrome/browser/android/metrics/uma_session_stats.h" |
65 #include "chrome/browser/android/metrics/uma_utils.h" | 66 #include "chrome/browser/android/metrics/uma_utils.h" |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 {"AutofillPopup", | 232 {"AutofillPopup", |
232 autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid}, | 233 autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid}, |
233 {"AutofillProfileBridge", autofill::RegisterAutofillProfileBridge}, | 234 {"AutofillProfileBridge", autofill::RegisterAutofillProfileBridge}, |
234 {"BackgroundSchedulerBridge", | 235 {"BackgroundSchedulerBridge", |
235 offline_pages::android::RegisterBackgroundSchedulerBridge}, | 236 offline_pages::android::RegisterBackgroundSchedulerBridge}, |
236 {"BlimpClientContextFactory", RegisterBlimpClientContextFactoryJni}, | 237 {"BlimpClientContextFactory", RegisterBlimpClientContextFactoryJni}, |
237 {"Blimp", blimp::client::RegisterBlimpJni}, | 238 {"Blimp", blimp::client::RegisterBlimpJni}, |
238 {"BluetoothChooserAndroid", BluetoothChooserAndroid::Register}, | 239 {"BluetoothChooserAndroid", BluetoothChooserAndroid::Register}, |
239 {"BookmarkBridge", BookmarkBridge::RegisterBookmarkBridge}, | 240 {"BookmarkBridge", BookmarkBridge::RegisterBookmarkBridge}, |
240 {"BrowsingDataCounterBridge", BrowsingDataCounterBridge::Register}, | 241 {"BrowsingDataCounterBridge", BrowsingDataCounterBridge::Register}, |
| 242 {"BrowsingHistoryBridge", RegisterBrowsingHistoryBridge}, |
241 {"CardUnmaskPrompt", autofill::CardUnmaskPromptViewAndroid::Register}, | 243 {"CardUnmaskPrompt", autofill::CardUnmaskPromptViewAndroid::Register}, |
242 {"CertificateViewer", RegisterCertificateViewer}, | 244 {"CertificateViewer", RegisterCertificateViewer}, |
243 {"ChildAccountService", RegisterChildAccountService}, | 245 {"ChildAccountService", RegisterChildAccountService}, |
244 {"ChromeApplication", chrome::android::ChromeApplication::RegisterBindings}, | 246 {"ChromeApplication", chrome::android::ChromeApplication::RegisterBindings}, |
245 {"ChromeBackupAgent", chrome::android::RegisterBackupAgent}, | 247 {"ChromeBackupAgent", chrome::android::RegisterBackupAgent}, |
246 {"ChromeBlimpClientContextDelegate", | 248 {"ChromeBlimpClientContextDelegate", |
247 ChromeBlimpClientContextDelegateAndroid::RegisterJni}, | 249 ChromeBlimpClientContextDelegateAndroid::RegisterJni}, |
248 {"ChromeBrowserProvider", | 250 {"ChromeBrowserProvider", |
249 ChromeBrowserProvider::RegisterChromeBrowserProvider}, | 251 ChromeBrowserProvider::RegisterChromeBrowserProvider}, |
250 {"ChromeFeatureList", chrome::android::RegisterChromeFeatureListJni}, | 252 {"ChromeFeatureList", chrome::android::RegisterChromeFeatureListJni}, |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 #endif | 427 #endif |
426 }; | 428 }; |
427 | 429 |
428 bool RegisterBrowserJNI(JNIEnv* env) { | 430 bool RegisterBrowserJNI(JNIEnv* env) { |
429 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); | 431 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); |
430 return RegisterNativeMethods(env, kChromeRegisteredMethods, | 432 return RegisterNativeMethods(env, kChromeRegisteredMethods, |
431 arraysize(kChromeRegisteredMethods)); | 433 arraysize(kChromeRegisteredMethods)); |
432 } | 434 } |
433 | 435 |
434 } // namespace android | 436 } // namespace android |
OLD | NEW |