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" |
11 #include "blimp/client/public/android/blimp_jni_registrar.h" | 11 #include "blimp/client/public/android/blimp_jni_registrar.h" |
12 #include "chrome/browser/after_startup_task_utils_android.h" | 12 #include "chrome/browser/after_startup_task_utils_android.h" |
13 #include "chrome/browser/android/accessibility/font_size_prefs_android.h" | 13 #include "chrome/browser/android/accessibility/font_size_prefs_android.h" |
14 #include "chrome/browser/android/accessibility_util.h" | |
15 #include "chrome/browser/android/appmenu/app_menu_drag_helper.h" | 14 #include "chrome/browser/android/appmenu/app_menu_drag_helper.h" |
16 #include "chrome/browser/android/background_sync_launcher_android.h" | |
17 #include "chrome/browser/android/banners/app_banner_infobar_delegate_android.h" | 15 #include "chrome/browser/android/banners/app_banner_infobar_delegate_android.h" |
18 #include "chrome/browser/android/banners/app_banner_manager_android.h" | 16 #include "chrome/browser/android/banners/app_banner_manager_android.h" |
19 #include "chrome/browser/android/blimp/blimp_client_context_factory_android.h" | 17 #include "chrome/browser/android/blimp/blimp_client_context_factory_android.h" |
20 #include "chrome/browser/android/blimp/chrome_blimp_client_context_delegate_andr
oid.h" | 18 #include "chrome/browser/android/blimp/chrome_blimp_client_context_delegate_andr
oid.h" |
21 #include "chrome/browser/android/bookmarks/bookmark_bridge.h" | 19 #include "chrome/browser/android/bookmarks/bookmark_bridge.h" |
22 #include "chrome/browser/android/bookmarks/partner_bookmarks_reader.h" | 20 #include "chrome/browser/android/bookmarks/partner_bookmarks_reader.h" |
23 #include "chrome/browser/android/bottombar/overlay_panel_content.h" | 21 #include "chrome/browser/android/bottombar/overlay_panel_content.h" |
24 #include "chrome/browser/android/browsing_data/browsing_data_counter_bridge.h" | 22 #include "chrome/browser/android/browsing_data/browsing_data_counter_bridge.h" |
25 #include "chrome/browser/android/browsing_data/url_filter_bridge.h" | 23 #include "chrome/browser/android/browsing_data/url_filter_bridge.h" |
26 #include "chrome/browser/android/chrome_application.h" | 24 #include "chrome/browser/android/chrome_application.h" |
(...skipping 19 matching lines...) Expand all Loading... |
46 #include "chrome/browser/android/download/chrome_download_delegate.h" | 44 #include "chrome/browser/android/download/chrome_download_delegate.h" |
47 #include "chrome/browser/android/download/download_controller.h" | 45 #include "chrome/browser/android/download/download_controller.h" |
48 #include "chrome/browser/android/download/download_manager_service.h" | 46 #include "chrome/browser/android/download/download_manager_service.h" |
49 #include "chrome/browser/android/favicon_helper.h" | 47 #include "chrome/browser/android/favicon_helper.h" |
50 #include "chrome/browser/android/feature_utilities.h" | 48 #include "chrome/browser/android/feature_utilities.h" |
51 #include "chrome/browser/android/feedback/connectivity_checker.h" | 49 #include "chrome/browser/android/feedback/connectivity_checker.h" |
52 #include "chrome/browser/android/feedback/screenshot_task.h" | 50 #include "chrome/browser/android/feedback/screenshot_task.h" |
53 #include "chrome/browser/android/find_in_page/find_in_page_bridge.h" | 51 #include "chrome/browser/android/find_in_page/find_in_page_bridge.h" |
54 #include "chrome/browser/android/foreign_session_helper.h" | 52 #include "chrome/browser/android/foreign_session_helper.h" |
55 #include "chrome/browser/android/history_report/history_report_jni_bridge.h" | 53 #include "chrome/browser/android/history_report/history_report_jni_bridge.h" |
56 #include "chrome/browser/android/intent_helper.h" | |
57 #include "chrome/browser/android/java_exception_reporter.h" | 54 #include "chrome/browser/android/java_exception_reporter.h" |
58 #include "chrome/browser/android/large_icon_bridge.h" | 55 #include "chrome/browser/android/large_icon_bridge.h" |
59 #include "chrome/browser/android/location_settings_impl.h" | |
60 #include "chrome/browser/android/logo_bridge.h" | 56 #include "chrome/browser/android/logo_bridge.h" |
61 #include "chrome/browser/android/metrics/launch_metrics.h" | 57 #include "chrome/browser/android/metrics/launch_metrics.h" |
62 #include "chrome/browser/android/metrics/uma_session_stats.h" | 58 #include "chrome/browser/android/metrics/uma_session_stats.h" |
63 #include "chrome/browser/android/metrics/uma_utils.h" | 59 #include "chrome/browser/android/metrics/uma_utils.h" |
64 #include "chrome/browser/android/metrics/variations_session.h" | 60 #include "chrome/browser/android/metrics/variations_session.h" |
65 #include "chrome/browser/android/mojo/chrome_interface_registrar_android.h" | |
66 #include "chrome/browser/android/net/external_estimate_provider_android.h" | 61 #include "chrome/browser/android/net/external_estimate_provider_android.h" |
67 #include "chrome/browser/android/ntp/most_visited_sites_bridge.h" | 62 #include "chrome/browser/android/ntp/most_visited_sites_bridge.h" |
68 #include "chrome/browser/android/ntp/new_tab_page_prefs.h" | 63 #include "chrome/browser/android/ntp/new_tab_page_prefs.h" |
69 #include "chrome/browser/android/ntp/ntp_snippets_bridge.h" | 64 #include "chrome/browser/android/ntp/ntp_snippets_bridge.h" |
70 #include "chrome/browser/android/ntp/ntp_snippets_launcher.h" | |
71 #include "chrome/browser/android/offline_pages/background_scheduler_bridge.h" | 65 #include "chrome/browser/android/offline_pages/background_scheduler_bridge.h" |
72 #include "chrome/browser/android/offline_pages/downloads/offline_page_download_b
ridge.h" | 66 #include "chrome/browser/android/offline_pages/downloads/offline_page_download_b
ridge.h" |
73 #include "chrome/browser/android/offline_pages/offline_page_bridge.h" | 67 #include "chrome/browser/android/offline_pages/offline_page_bridge.h" |
74 #include "chrome/browser/android/omnibox/answers_image_bridge.h" | 68 #include "chrome/browser/android/omnibox/answers_image_bridge.h" |
75 #include "chrome/browser/android/omnibox/autocomplete_controller_android.h" | 69 #include "chrome/browser/android/omnibox/autocomplete_controller_android.h" |
76 #include "chrome/browser/android/omnibox/omnibox_prerender.h" | 70 #include "chrome/browser/android/omnibox/omnibox_prerender.h" |
77 #include "chrome/browser/android/password_ui_view_android.h" | 71 #include "chrome/browser/android/password_ui_view_android.h" |
78 #include "chrome/browser/android/policy/policy_auditor.h" | 72 #include "chrome/browser/android/policy/policy_auditor.h" |
79 #include "chrome/browser/android/precache/precache_launcher.h" | 73 #include "chrome/browser/android/precache/precache_launcher.h" |
80 #include "chrome/browser/android/preferences/autofill/autofill_profile_bridge.h" | 74 #include "chrome/browser/android/preferences/autofill/autofill_profile_bridge.h" |
81 #include "chrome/browser/android/preferences/pref_service_bridge.h" | 75 #include "chrome/browser/android/preferences/pref_service_bridge.h" |
82 #include "chrome/browser/android/preferences/website_preference_bridge.h" | 76 #include "chrome/browser/android/preferences/website_preference_bridge.h" |
83 #include "chrome/browser/android/profiles/profile_downloader_android.h" | 77 #include "chrome/browser/android/profiles/profile_downloader_android.h" |
84 #include "chrome/browser/android/provider/chrome_browser_provider.h" | 78 #include "chrome/browser/android/provider/chrome_browser_provider.h" |
85 #include "chrome/browser/android/rappor/rappor_service_bridge.h" | 79 #include "chrome/browser/android/rappor/rappor_service_bridge.h" |
86 #include "chrome/browser/android/recently_closed_tabs_bridge.h" | 80 #include "chrome/browser/android/recently_closed_tabs_bridge.h" |
87 #include "chrome/browser/android/rlz/revenue_stats.h" | 81 #include "chrome/browser/android/rlz/revenue_stats.h" |
88 #include "chrome/browser/android/safe_browsing/safe_browsing_api_handler_bridge.
h" | 82 #include "chrome/browser/android/safe_browsing/safe_browsing_api_handler_bridge.
h" |
89 #include "chrome/browser/android/service_tab_launcher.h" | 83 #include "chrome/browser/android/service_tab_launcher.h" |
90 #include "chrome/browser/android/sessions/session_tab_helper_android.h" | 84 #include "chrome/browser/android/sessions/session_tab_helper_android.h" |
91 #include "chrome/browser/android/shortcut_helper.h" | 85 #include "chrome/browser/android/shortcut_helper.h" |
92 #include "chrome/browser/android/signin/account_management_screen_helper.h" | 86 #include "chrome/browser/android/signin/account_management_screen_helper.h" |
93 #include "chrome/browser/android/signin/account_tracker_service_android.h" | 87 #include "chrome/browser/android/signin/account_tracker_service_android.h" |
94 #include "chrome/browser/android/signin/signin_investigator_android.h" | 88 #include "chrome/browser/android/signin/signin_investigator_android.h" |
95 #include "chrome/browser/android/signin/signin_manager_android.h" | 89 #include "chrome/browser/android/signin/signin_manager_android.h" |
96 #include "chrome/browser/android/signin/signin_promo_util_android.h" | |
97 #include "chrome/browser/android/tab_android.h" | 90 #include "chrome/browser/android/tab_android.h" |
98 #include "chrome/browser/android/tab_state.h" | 91 #include "chrome/browser/android/tab_state.h" |
99 #include "chrome/browser/android/tab_web_contents_delegate_android.h" | 92 #include "chrome/browser/android/tab_web_contents_delegate_android.h" |
100 #include "chrome/browser/android/url_utilities.h" | 93 #include "chrome/browser/android/url_utilities.h" |
101 #include "chrome/browser/android/voice_search_tab_helper.h" | 94 #include "chrome/browser/android/voice_search_tab_helper.h" |
102 #include "chrome/browser/android/warmup_manager.h" | 95 #include "chrome/browser/android/warmup_manager.h" |
103 #include "chrome/browser/android/web_contents_factory.h" | 96 #include "chrome/browser/android/web_contents_factory.h" |
104 #include "chrome/browser/android/webapk/manifest_upgrade_detector.h" | 97 #include "chrome/browser/android/webapk/manifest_upgrade_detector.h" |
105 #include "chrome/browser/android/webapps/add_to_homescreen_dialog_helper.h" | 98 #include "chrome/browser/android/webapps/add_to_homescreen_dialog_helper.h" |
106 #include "chrome/browser/android/webapps/webapp_registry.h" | 99 #include "chrome/browser/android/webapps/webapp_registry.h" |
107 #include "chrome/browser/autofill/android/personal_data_manager_android.h" | 100 #include "chrome/browser/autofill/android/personal_data_manager_android.h" |
108 #include "chrome/browser/dom_distiller/dom_distiller_service_factory_android.h" | 101 #include "chrome/browser/dom_distiller/dom_distiller_service_factory_android.h" |
109 #include "chrome/browser/dom_distiller/tab_utils_android.h" | 102 #include "chrome/browser/dom_distiller/tab_utils_android.h" |
110 #include "chrome/browser/history/android/sqlite_cursor.h" | 103 #include "chrome/browser/history/android/sqlite_cursor.h" |
111 #include "chrome/browser/invalidation/invalidation_service_factory_android.h" | 104 #include "chrome/browser/invalidation/invalidation_service_factory_android.h" |
112 #include "chrome/browser/lifetime/application_lifetime_android.h" | |
113 #include "chrome/browser/media/android/cdm/media_drm_credential_manager.h" | 105 #include "chrome/browser/media/android/cdm/media_drm_credential_manager.h" |
114 #include "chrome/browser/media/android/remote/record_cast_action.h" | 106 #include "chrome/browser/media/android/remote/record_cast_action.h" |
115 #include "chrome/browser/media/android/remote/remote_media_player_bridge.h" | 107 #include "chrome/browser/media/android/remote/remote_media_player_bridge.h" |
116 #include "chrome/browser/media/android/router/media_router_android.h" | 108 #include "chrome/browser/media/android/router/media_router_android.h" |
117 #include "chrome/browser/media/android/router/media_router_dialog_controller_and
roid.h" | 109 #include "chrome/browser/media/android/router/media_router_dialog_controller_and
roid.h" |
118 #include "chrome/browser/net/spdyproxy/data_reduction_promo_infobar_delegate_and
roid.h" | 110 #include "chrome/browser/net/spdyproxy/data_reduction_promo_infobar_delegate_and
roid.h" |
119 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.h" | 111 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.h" |
120 #include "chrome/browser/notifications/notification_platform_bridge_android.h" | 112 #include "chrome/browser/notifications/notification_platform_bridge_android.h" |
121 #include "chrome/browser/page_load_metrics/observers/android_page_load_metrics_o
bserver.h" | |
122 #include "chrome/browser/password_manager/account_chooser_dialog_android.h" | 113 #include "chrome/browser/password_manager/account_chooser_dialog_android.h" |
123 #include "chrome/browser/password_manager/auto_signin_first_run_dialog_android.h
" | 114 #include "chrome/browser/password_manager/auto_signin_first_run_dialog_android.h
" |
124 #include "chrome/browser/password_manager/credential_android.h" | |
125 #include "chrome/browser/permissions/permission_update_infobar_delegate_android.
h" | 115 #include "chrome/browser/permissions/permission_update_infobar_delegate_android.
h" |
126 #include "chrome/browser/platform_util.h" | |
127 #include "chrome/browser/prerender/external_prerender_handler_android.h" | 116 #include "chrome/browser/prerender/external_prerender_handler_android.h" |
128 #include "chrome/browser/profiles/profile_android.h" | 117 #include "chrome/browser/profiles/profile_android.h" |
129 #include "chrome/browser/push_messaging/push_messaging_service_observer_android.
h" | |
130 #include "chrome/browser/search_engines/template_url_service_android.h" | 118 #include "chrome/browser/search_engines/template_url_service_android.h" |
131 #include "chrome/browser/signin/oauth2_token_service_delegate_android.h" | 119 #include "chrome/browser/signin/oauth2_token_service_delegate_android.h" |
132 #include "chrome/browser/speech/tts_android.h" | 120 #include "chrome/browser/speech/tts_android.h" |
133 #include "chrome/browser/spellchecker/spellchecker_session_bridge_android.h" | 121 #include "chrome/browser/spellchecker/spellchecker_session_bridge_android.h" |
134 #include "chrome/browser/ssl/security_state_model_android.h" | 122 #include "chrome/browser/ssl/security_state_model_android.h" |
135 #include "chrome/browser/supervised_user/child_accounts/child_account_feedback_r
eporter_android.h" | |
136 #include "chrome/browser/supervised_user/child_accounts/child_account_service_an
droid.h" | 123 #include "chrome/browser/supervised_user/child_accounts/child_account_service_an
droid.h" |
137 #include "chrome/browser/supervised_user/supervised_user_content_provider_androi
d.h" | 124 #include "chrome/browser/supervised_user/supervised_user_content_provider_androi
d.h" |
138 #include "chrome/browser/sync/profile_sync_service_android.h" | 125 #include "chrome/browser/sync/profile_sync_service_android.h" |
139 #include "chrome/browser/sync/sync_sessions_metrics_android.h" | 126 #include "chrome/browser/sync/sync_sessions_metrics_android.h" |
140 #include "chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.h" | 127 #include "chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.h" |
141 #include "chrome/browser/ui/android/autofill/autofill_logger_android.h" | |
142 #include "chrome/browser/ui/android/autofill/autofill_popup_view_android.h" | 128 #include "chrome/browser/ui/android/autofill/autofill_popup_view_android.h" |
143 #include "chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.h" | 129 #include "chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.h" |
144 #include "chrome/browser/ui/android/autofill/credit_card_scanner_view_android.h" | 130 #include "chrome/browser/ui/android/autofill/credit_card_scanner_view_android.h" |
145 #include "chrome/browser/ui/android/autofill/password_generation_popup_view_andr
oid.h" | 131 #include "chrome/browser/ui/android/autofill/password_generation_popup_view_andr
oid.h" |
146 #include "chrome/browser/ui/android/bluetooth_chooser_android.h" | 132 #include "chrome/browser/ui/android/bluetooth_chooser_android.h" |
147 #include "chrome/browser/ui/android/certificate_viewer_android.h" | 133 #include "chrome/browser/ui/android/certificate_viewer_android.h" |
148 #include "chrome/browser/ui/android/chrome_http_auth_handler.h" | 134 #include "chrome/browser/ui/android/chrome_http_auth_handler.h" |
149 #include "chrome/browser/ui/android/connection_info_popup_android.h" | 135 #include "chrome/browser/ui/android/connection_info_popup_android.h" |
150 #include "chrome/browser/ui/android/context_menu_helper.h" | 136 #include "chrome/browser/ui/android/context_menu_helper.h" |
151 #include "chrome/browser/ui/android/infobars/app_banner_infobar_android.h" | |
152 #include "chrome/browser/ui/android/infobars/autofill_save_card_infobar.h" | 137 #include "chrome/browser/ui/android/infobars/autofill_save_card_infobar.h" |
153 #include "chrome/browser/ui/android/infobars/confirm_infobar.h" | |
154 #include "chrome/browser/ui/android/infobars/download_overwrite_infobar.h" | |
155 #include "chrome/browser/ui/android/infobars/generated_password_saved_infobar.h" | |
156 #include "chrome/browser/ui/android/infobars/grouped_permission_infobar.h" | 138 #include "chrome/browser/ui/android/infobars/grouped_permission_infobar.h" |
157 #include "chrome/browser/ui/android/infobars/infobar_android.h" | 139 #include "chrome/browser/ui/android/infobars/infobar_android.h" |
158 #include "chrome/browser/ui/android/infobars/infobar_container_android.h" | 140 #include "chrome/browser/ui/android/infobars/infobar_container_android.h" |
159 #include "chrome/browser/ui/android/infobars/save_password_infobar.h" | |
160 #include "chrome/browser/ui/android/infobars/simple_confirm_infobar_builder.h" | 141 #include "chrome/browser/ui/android/infobars/simple_confirm_infobar_builder.h" |
161 #include "chrome/browser/ui/android/infobars/translate_infobar.h" | 142 #include "chrome/browser/ui/android/infobars/translate_infobar.h" |
162 #include "chrome/browser/ui/android/infobars/update_password_infobar.h" | |
163 #include "chrome/browser/ui/android/javascript_app_modal_dialog_android.h" | 143 #include "chrome/browser/ui/android/javascript_app_modal_dialog_android.h" |
164 #include "chrome/browser/ui/android/omnibox/omnibox_url_emphasizer.h" | 144 #include "chrome/browser/ui/android/omnibox/omnibox_url_emphasizer.h" |
165 #include "chrome/browser/ui/android/omnibox/omnibox_view_util.h" | 145 #include "chrome/browser/ui/android/omnibox/omnibox_view_util.h" |
166 #include "chrome/browser/ui/android/snackbars/auto_signin_prompt_controller.h" | 146 #include "chrome/browser/ui/android/snackbars/auto_signin_prompt_controller.h" |
167 #include "chrome/browser/ui/android/ssl_client_certificate_request.h" | 147 #include "chrome/browser/ui/android/ssl_client_certificate_request.h" |
168 #include "chrome/browser/ui/android/tab_model/single_tab_model.h" | 148 #include "chrome/browser/ui/android/tab_model/single_tab_model.h" |
169 #include "chrome/browser/ui/android/tab_model/tab_model_jni_bridge.h" | 149 #include "chrome/browser/ui/android/tab_model/tab_model_jni_bridge.h" |
170 #include "chrome/browser/ui/android/toolbar/toolbar_model_android.h" | 150 #include "chrome/browser/ui/android/toolbar/toolbar_model_android.h" |
171 #include "chrome/browser/ui/android/usb_chooser_dialog_android.h" | 151 #include "chrome/browser/ui/android/usb_chooser_dialog_android.h" |
172 #include "chrome/browser/ui/android/website_settings_popup_android.h" | 152 #include "chrome/browser/ui/android/website_settings_popup_android.h" |
173 #include "components/bookmarks/common/android/component_jni_registrar.h" | |
174 #include "components/dom_distiller/android/component_jni_registrar.h" | 153 #include "components/dom_distiller/android/component_jni_registrar.h" |
175 #include "components/gcm_driver/android/component_jni_registrar.h" | 154 #include "components/gcm_driver/android/component_jni_registrar.h" |
176 #include "components/gcm_driver/instance_id/android/component_jni_registrar.h" | 155 #include "components/gcm_driver/instance_id/android/component_jni_registrar.h" |
177 #include "components/invalidation/impl/android/component_jni_registrar.h" | 156 #include "components/invalidation/impl/android/component_jni_registrar.h" |
178 #include "components/navigation_interception/component_jni_registrar.h" | |
179 #include "components/ntp_tiles/most_visited_sites.h" | |
180 #include "components/policy/core/browser/android/component_jni_registrar.h" | 157 #include "components/policy/core/browser/android/component_jni_registrar.h" |
181 #include "components/safe_json/android/component_jni_registrar.h" | 158 #include "components/safe_json/android/component_jni_registrar.h" |
182 #include "components/signin/core/browser/android/component_jni_registrar.h" | 159 #include "components/signin/core/browser/android/component_jni_registrar.h" |
183 #include "components/sync/android/sync_jni_registrar.h" | 160 #include "components/sync/android/sync_jni_registrar.h" |
184 #include "components/variations/android/component_jni_registrar.h" | 161 #include "components/variations/android/component_jni_registrar.h" |
185 #include "components/variations/android/variations_seed_bridge.h" | |
186 #include "components/web_contents_delegate_android/component_jni_registrar.h" | 162 #include "components/web_contents_delegate_android/component_jni_registrar.h" |
187 | 163 |
188 #if defined(ENABLE_PRINTING) && !defined(ENABLE_PRINT_PREVIEW) | 164 #if defined(ENABLE_PRINTING) && !defined(ENABLE_PRINT_PREVIEW) |
189 #include "printing/printing_context_android.h" | 165 #include "printing/printing_context_android.h" |
190 #endif | 166 #endif |
191 | 167 |
192 namespace chrome { | 168 namespace chrome { |
193 namespace android { | 169 namespace android { |
194 | 170 |
195 static base::android::RegistrationMethod kChromeRegisteredMethods[] = { | 171 static base::android::RegistrationMethod kChromeRegisteredMethods[] = { |
196 // Register JNI for components we depend on. | 172 // Register JNI for components we depend on. |
197 {"AppMenuDragHelper", RegisterAppMenuDragHelper}, | 173 {"AppMenuDragHelper", RegisterAppMenuDragHelper}, |
198 {"Bookmarks", bookmarks::android::RegisterBookmarks}, | |
199 {"DomDistiller", dom_distiller::android::RegisterDomDistiller}, | 174 {"DomDistiller", dom_distiller::android::RegisterDomDistiller}, |
200 {"ChromeDownloadDelegate", RegisterChromeDownloadDelegate}, | 175 {"ChromeDownloadDelegate", RegisterChromeDownloadDelegate}, |
201 {"GCMDriver", gcm::android::RegisterGCMDriverJni}, | 176 {"GCMDriver", gcm::android::RegisterGCMDriverJni}, |
202 {"InstanceID", instance_id::android::RegisterInstanceIDJni}, | 177 {"InstanceID", instance_id::android::RegisterInstanceIDJni}, |
203 {"Invalidation", invalidation::android::RegisterInvalidationJni}, | 178 {"Invalidation", invalidation::android::RegisterInvalidationJni}, |
204 {"NavigationInterception", | |
205 navigation_interception::RegisterNavigationInterceptionJni}, | |
206 {"NTPTiles", ntp_tiles::MostVisitedSites::Register}, | |
207 {"Policy", policy::android::RegisterPolicy}, | 179 {"Policy", policy::android::RegisterPolicy}, |
208 {"SafeJson", safe_json::android::RegisterSafeJsonJni}, | 180 {"SafeJson", safe_json::android::RegisterSafeJsonJni}, |
209 {"Signin", signin::android::RegisterSigninJni}, | 181 {"Signin", signin::android::RegisterSigninJni}, |
210 {"WebContentsDelegateAndroid", | 182 {"WebContentsDelegateAndroid", |
211 web_contents_delegate_android::RegisterWebContentsDelegateAndroidJni}, | 183 web_contents_delegate_android::RegisterWebContentsDelegateAndroidJni}, |
212 // Register JNI for chrome classes. | 184 // Register JNI for chrome classes. |
213 {"AccessibilityUtils", AccessibilityUtil::Register}, | |
214 {"AccountChooserDialogAndroid", RegisterAccountChooserDialogAndroid}, | 185 {"AccountChooserDialogAndroid", RegisterAccountChooserDialogAndroid}, |
215 {"AutoSigninFirstRunDialogAndroid", | 186 {"AutoSigninFirstRunDialogAndroid", |
216 RegisterAutoSigninFirstRunDialogAndroid}, | 187 RegisterAutoSigninFirstRunDialogAndroid}, |
217 {"AccountManagementScreenHelper", AccountManagementScreenHelper::Register}, | 188 {"AccountManagementScreenHelper", AccountManagementScreenHelper::Register}, |
218 {"AccountTrackerService", signin::android::RegisterAccountTrackerService}, | 189 {"AccountTrackerService", signin::android::RegisterAccountTrackerService}, |
219 {"AddToHomescreenDialogHelper", | 190 {"AddToHomescreenDialogHelper", |
220 AddToHomescreenDialogHelper::RegisterAddToHomescreenDialogHelper}, | 191 AddToHomescreenDialogHelper::RegisterAddToHomescreenDialogHelper}, |
221 {"AfterStartupTaskUtils", RegisterAfterStartupTaskUtilsJNI}, | 192 {"AfterStartupTaskUtils", RegisterAfterStartupTaskUtilsJNI}, |
222 {"AnswersImageBridge", RegisterAnswersImageBridge}, | 193 {"AnswersImageBridge", RegisterAnswersImageBridge}, |
223 {"AppBannerInfoBarAndroid", RegisterAppBannerInfoBarAndroid}, | |
224 {"AppBannerInfoBarDelegateAndroid", | 194 {"AppBannerInfoBarDelegateAndroid", |
225 banners::RegisterAppBannerInfoBarDelegateAndroid}, | 195 banners::RegisterAppBannerInfoBarDelegateAndroid}, |
226 {"AppBannerManagerAndroid", banners::AppBannerManagerAndroid::Register}, | 196 {"AppBannerManagerAndroid", banners::AppBannerManagerAndroid::Register}, |
227 {"ApplicationLifetime", RegisterApplicationLifetimeAndroid}, | |
228 {"AutocompleteControllerAndroid", RegisterAutocompleteControllerAndroid}, | 197 {"AutocompleteControllerAndroid", RegisterAutocompleteControllerAndroid}, |
229 {"AutofillSaveCardInfoBar", AutofillSaveCardInfoBar::Register}, | 198 {"AutofillSaveCardInfoBar", AutofillSaveCardInfoBar::Register}, |
230 {"AutofillKeyboardAccessory", autofill::AutofillKeyboardAccessoryView:: | 199 {"AutofillKeyboardAccessory", autofill::AutofillKeyboardAccessoryView:: |
231 RegisterAutofillKeyboardAccessoryView}, | 200 RegisterAutofillKeyboardAccessoryView}, |
232 {"AutofillLoggerAndroid", autofill::AutofillLoggerAndroid::Register}, | |
233 {"AutofillPopup", | 201 {"AutofillPopup", |
234 autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid}, | 202 autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid}, |
235 {"AutofillProfileBridge", autofill::RegisterAutofillProfileBridge}, | 203 {"AutofillProfileBridge", autofill::RegisterAutofillProfileBridge}, |
236 {"AutoSigninSnackbarController", RegisterAutoSigninSnackbarController}, | |
237 {"BackgroundSchedulerBridge", | 204 {"BackgroundSchedulerBridge", |
238 offline_pages::android::RegisterBackgroundSchedulerBridge}, | 205 offline_pages::android::RegisterBackgroundSchedulerBridge}, |
239 {"BackgroundSyncLauncherAndroid", | |
240 BackgroundSyncLauncherAndroid::RegisterLauncher}, | |
241 {"BlimpClientContextFactory", RegisterBlimpClientContextFactoryJni}, | 206 {"BlimpClientContextFactory", RegisterBlimpClientContextFactoryJni}, |
242 {"Blimp", blimp::client::RegisterBlimpJni}, | 207 {"Blimp", blimp::client::RegisterBlimpJni}, |
243 {"BluetoothChooserAndroid", BluetoothChooserAndroid::Register}, | 208 {"BluetoothChooserAndroid", BluetoothChooserAndroid::Register}, |
244 {"BookmarkBridge", BookmarkBridge::RegisterBookmarkBridge}, | 209 {"BookmarkBridge", BookmarkBridge::RegisterBookmarkBridge}, |
245 {"BrowsingDataCounterBridge", BrowsingDataCounterBridge::Register}, | 210 {"BrowsingDataCounterBridge", BrowsingDataCounterBridge::Register}, |
246 {"CardUnmaskPrompt", autofill::CardUnmaskPromptViewAndroid::Register}, | 211 {"CardUnmaskPrompt", autofill::CardUnmaskPromptViewAndroid::Register}, |
247 {"CertificateViewer", RegisterCertificateViewer}, | 212 {"CertificateViewer", RegisterCertificateViewer}, |
248 {"ChildAccountFeedbackReporter", RegisterChildAccountFeedbackReporter}, | |
249 {"ChildAccountService", RegisterChildAccountService}, | 213 {"ChildAccountService", RegisterChildAccountService}, |
250 {"ChromeApplication", ChromeApplication::RegisterBindings}, | 214 {"ChromeApplication", ChromeApplication::RegisterBindings}, |
251 {"ChromeBlimpClientContextDelegate", | 215 {"ChromeBlimpClientContextDelegate", |
252 ChromeBlimpClientContextDelegateAndroid::RegisterJni}, | 216 ChromeBlimpClientContextDelegateAndroid::RegisterJni}, |
253 {"ChromeBrowserProvider", | 217 {"ChromeBrowserProvider", |
254 ChromeBrowserProvider::RegisterChromeBrowserProvider}, | 218 ChromeBrowserProvider::RegisterChromeBrowserProvider}, |
255 {"ChromeFeatureList", RegisterChromeFeatureListJni}, | 219 {"ChromeFeatureList", RegisterChromeFeatureListJni}, |
256 {"ChromeHttpAuthHandler", | 220 {"ChromeHttpAuthHandler", |
257 ChromeHttpAuthHandler::RegisterChromeHttpAuthHandler}, | 221 ChromeHttpAuthHandler::RegisterChromeHttpAuthHandler}, |
258 {"ChromeInterfaceRegistrar", ChromeInterfaceRegistrarAndroid::Register}, | |
259 #if defined(ENABLE_MEDIA_ROUTER) | 222 #if defined(ENABLE_MEDIA_ROUTER) |
260 {"ChromeMediaRouter", media_router::MediaRouterAndroid::Register}, | 223 {"ChromeMediaRouter", media_router::MediaRouterAndroid::Register}, |
261 {"ChromeMediaRouterDialogController", | 224 {"ChromeMediaRouterDialogController", |
262 media_router::MediaRouterDialogControllerAndroid::Register}, | 225 media_router::MediaRouterDialogControllerAndroid::Register}, |
263 #endif | 226 #endif |
264 {"CompositorView", RegisterCompositorView}, | 227 {"CompositorView", RegisterCompositorView}, |
265 {"ConfirmInfoBar", RegisterConfirmInfoBar}, | |
266 {"ConnectionInfoPopupAndroid", | 228 {"ConnectionInfoPopupAndroid", |
267 ConnectionInfoPopupAndroid::RegisterConnectionInfoPopupAndroid}, | 229 ConnectionInfoPopupAndroid::RegisterConnectionInfoPopupAndroid}, |
268 {"SecurityStateModel", RegisterSecurityStateModelAndroid}, | 230 {"SecurityStateModel", RegisterSecurityStateModelAndroid}, |
269 {"ConnectivityChecker", RegisterConnectivityChecker}, | 231 {"ConnectivityChecker", RegisterConnectivityChecker}, |
270 {"ContextMenuHelper", RegisterContextMenuHelper}, | 232 {"ContextMenuHelper", RegisterContextMenuHelper}, |
271 {"ContextualSearchManager", RegisterContextualSearchManager}, | 233 {"ContextualSearchManager", RegisterContextualSearchManager}, |
272 {"ContextualSearchSceneLayer", RegisterContextualSearchSceneLayer}, | 234 {"ContextualSearchSceneLayer", RegisterContextualSearchSceneLayer}, |
273 {"ContextualSearchTabHelper", RegisterContextualSearchTabHelper}, | 235 {"ContextualSearchTabHelper", RegisterContextualSearchTabHelper}, |
274 {"CookiesFetcher", RegisterCookiesFetcher}, | 236 {"CookiesFetcher", RegisterCookiesFetcher}, |
275 {"Credential", RegisterCredential}, | |
276 {"CreditCardScanner", autofill::CreditCardScannerViewAndroid::Register}, | 237 {"CreditCardScanner", autofill::CreditCardScannerViewAndroid::Register}, |
277 {"DataReductionPromoInfoBarDelegate", | 238 {"DataReductionPromoInfoBarDelegate", |
278 DataReductionPromoInfoBarDelegateAndroid::Register}, | 239 DataReductionPromoInfoBarDelegateAndroid::Register}, |
279 {"DataReductionProxySettings", DataReductionProxySettingsAndroid::Register}, | 240 {"DataReductionProxySettings", DataReductionProxySettingsAndroid::Register}, |
280 {"DataUseTabUIManager", RegisterDataUseTabUIManager}, | 241 {"DataUseTabUIManager", RegisterDataUseTabUIManager}, |
281 {"DevToolsServer", RegisterDevToolsServer}, | 242 {"DevToolsServer", RegisterDevToolsServer}, |
282 {"DocumentWebContentsDelegate", DocumentWebContentsDelegate::Register}, | 243 {"DocumentWebContentsDelegate", DocumentWebContentsDelegate::Register}, |
283 {"DomDistillerServiceFactory", | 244 {"DomDistillerServiceFactory", |
284 dom_distiller::android::DomDistillerServiceFactoryAndroid::Register}, | 245 dom_distiller::android::DomDistillerServiceFactoryAndroid::Register}, |
285 {"DomDistillerTabUtils", RegisterDomDistillerTabUtils}, | 246 {"DomDistillerTabUtils", RegisterDomDistillerTabUtils}, |
286 {"DownloadController", DownloadController::RegisterDownloadController}, | 247 {"DownloadController", DownloadController::RegisterDownloadController}, |
287 {"DownloadManagerService", | 248 {"DownloadManagerService", |
288 DownloadManagerService::RegisterDownloadManagerService}, | 249 DownloadManagerService::RegisterDownloadManagerService}, |
289 {"DownloadOverwriteInfoBarDelegate", | |
290 RegisterDownloadOverwriteInfoBarDelegate}, | |
291 {"ExternalDataUseObserverBridge", RegisterExternalDataUseObserver}, | 250 {"ExternalDataUseObserverBridge", RegisterExternalDataUseObserver}, |
292 {"ExternalPrerenderRequestHandler", | 251 {"ExternalPrerenderRequestHandler", |
293 prerender::ExternalPrerenderHandlerAndroid:: | 252 prerender::ExternalPrerenderHandlerAndroid:: |
294 RegisterExternalPrerenderHandlerAndroid}, | 253 RegisterExternalPrerenderHandlerAndroid}, |
295 {"FaviconHelper", FaviconHelper::RegisterFaviconHelper}, | 254 {"FaviconHelper", FaviconHelper::RegisterFaviconHelper}, |
296 {"FeatureUtilities", RegisterFeatureUtilities}, | 255 {"FeatureUtilities", RegisterFeatureUtilities}, |
297 {"DomDistillerUIUtils", dom_distiller::android::RegisterUIHandle}, | |
298 {"FindInPageBridge", FindInPageBridge::RegisterFindInPageBridge}, | 256 {"FindInPageBridge", FindInPageBridge::RegisterFindInPageBridge}, |
299 {"FontSizePrefsAndroid", FontSizePrefsAndroid::Register}, | 257 {"FontSizePrefsAndroid", FontSizePrefsAndroid::Register}, |
300 {"ForeignSessionHelper", | 258 {"ForeignSessionHelper", |
301 ForeignSessionHelper::RegisterForeignSessionHelper}, | 259 ForeignSessionHelper::RegisterForeignSessionHelper}, |
302 {"GeneratedPasswordSavedInfoBarDelegate", | |
303 RegisterGeneratedPasswordSavedInfoBarDelegate}, | |
304 {"GroupedPermissionInfoBar", GroupedPermissionInfoBar::Register}, | 260 {"GroupedPermissionInfoBar", GroupedPermissionInfoBar::Register}, |
305 {"HistoryReportJniBridge", history_report::RegisterHistoryReportJniBridge}, | 261 {"HistoryReportJniBridge", history_report::RegisterHistoryReportJniBridge}, |
306 {"InfoBarContainer", RegisterInfoBarContainer}, | 262 {"InfoBarContainer", RegisterInfoBarContainer}, |
307 {"InvalidationServiceFactory", | 263 {"InvalidationServiceFactory", |
308 invalidation::InvalidationServiceFactoryAndroid::Register}, | 264 invalidation::InvalidationServiceFactoryAndroid::Register}, |
309 {"SimpleConfirmInfoBarBuilder", RegisterSimpleConfirmInfoBarBuilder}, | 265 {"SimpleConfirmInfoBarBuilder", RegisterSimpleConfirmInfoBarBuilder}, |
310 {"ShortcutHelper", ShortcutHelper::RegisterShortcutHelper}, | 266 {"ShortcutHelper", ShortcutHelper::RegisterShortcutHelper}, |
311 {"IntentHelper", RegisterIntentHelper}, | |
312 {"JavaExceptionReporter", RegisterJavaExceptionReporterJni}, | 267 {"JavaExceptionReporter", RegisterJavaExceptionReporterJni}, |
313 {"JavascriptAppModalDialog", | 268 {"JavascriptAppModalDialog", |
314 JavascriptAppModalDialogAndroid::RegisterJavascriptAppModalDialog}, | 269 JavascriptAppModalDialogAndroid::RegisterJavascriptAppModalDialog}, |
315 {"LargeIconBridge", LargeIconBridge::RegisterLargeIconBridge}, | 270 {"LargeIconBridge", LargeIconBridge::RegisterLargeIconBridge}, |
316 {"LaunchMetrics", metrics::RegisterLaunchMetrics}, | 271 {"LaunchMetrics", metrics::RegisterLaunchMetrics}, |
317 {"LayerTitleCache", chrome::android::RegisterLayerTitleCache}, | 272 {"LayerTitleCache", chrome::android::RegisterLayerTitleCache}, |
318 {"LocationSettings", LocationSettingsImpl::Register}, | |
319 {"LogoBridge", RegisterLogoBridge}, | 273 {"LogoBridge", RegisterLogoBridge}, |
320 {"ManifestUpgradeDetector", ManifestUpgradeDetector::Register}, | 274 {"ManifestUpgradeDetector", ManifestUpgradeDetector::Register}, |
321 {"MediaDrmCredentialManager", | 275 {"MediaDrmCredentialManager", |
322 MediaDrmCredentialManager::RegisterMediaDrmCredentialManager}, | 276 MediaDrmCredentialManager::RegisterMediaDrmCredentialManager}, |
323 {"MostVisitedSites", MostVisitedSitesBridge::Register}, | 277 {"MostVisitedSites", MostVisitedSitesBridge::Register}, |
324 {"NativeInfoBar", RegisterNativeInfoBar}, | 278 {"NativeInfoBar", RegisterNativeInfoBar}, |
325 {"ExternalEstimateProviderAndroid", | 279 {"ExternalEstimateProviderAndroid", |
326 RegisterExternalEstimateProviderAndroid}, | 280 RegisterExternalEstimateProviderAndroid}, |
327 {"NewTabPagePrefs", NewTabPagePrefs::RegisterNewTabPagePrefs}, | 281 {"NewTabPagePrefs", NewTabPagePrefs::RegisterNewTabPagePrefs}, |
328 {"NotificationPlatformBridge", | 282 {"NotificationPlatformBridge", |
329 NotificationPlatformBridgeAndroid::RegisterNotificationPlatformBridge}, | 283 NotificationPlatformBridgeAndroid::RegisterNotificationPlatformBridge}, |
330 {"NTPSnippetsBridge", NTPSnippetsBridge::Register}, | 284 {"NTPSnippetsBridge", NTPSnippetsBridge::Register}, |
331 {"NTPSnippetsLauncher", NTPSnippetsLauncher::Register}, | |
332 {"OAuth2TokenServiceDelegateAndroid", | 285 {"OAuth2TokenServiceDelegateAndroid", |
333 OAuth2TokenServiceDelegateAndroid::Register}, | 286 OAuth2TokenServiceDelegateAndroid::Register}, |
334 {"OfflinePageBridge", offline_pages::android::RegisterOfflinePageBridge}, | 287 {"OfflinePageBridge", offline_pages::android::RegisterOfflinePageBridge}, |
335 {"OfflinePageDownloadBridge", | 288 {"OfflinePageDownloadBridge", |
336 offline_pages::android::OfflinePageDownloadBridge::Register}, | 289 offline_pages::android::OfflinePageDownloadBridge::Register}, |
337 {"OmniboxPrerender", RegisterOmniboxPrerender}, | 290 {"OmniboxPrerender", RegisterOmniboxPrerender}, |
338 {"OmniboxUrlEmphasizer", | 291 {"OmniboxUrlEmphasizer", |
339 OmniboxUrlEmphasizer::RegisterOmniboxUrlEmphasizer}, | 292 OmniboxUrlEmphasizer::RegisterOmniboxUrlEmphasizer}, |
340 {"OmniboxViewUtil", OmniboxViewUtil::RegisterOmniboxViewUtil}, | 293 {"OmniboxViewUtil", OmniboxViewUtil::RegisterOmniboxViewUtil}, |
341 {"OverlayPanelContent", RegisterOverlayPanelContent}, | 294 {"OverlayPanelContent", RegisterOverlayPanelContent}, |
342 {"PlatformUtil", platform_util::RegisterPlatformUtil}, | |
343 {"PageLoadMetrics", RegisterPageLoadMetricsBindings}, | |
344 {"PartnerBookmarksReader", | 295 {"PartnerBookmarksReader", |
345 PartnerBookmarksReader::RegisterPartnerBookmarksReader}, | 296 PartnerBookmarksReader::RegisterPartnerBookmarksReader}, |
346 {"PasswordGenerationPopup", | 297 {"PasswordGenerationPopup", |
347 autofill::PasswordGenerationPopupViewAndroid::Register}, | 298 autofill::PasswordGenerationPopupViewAndroid::Register}, |
348 {"PasswordUIViewAndroid", | 299 {"PasswordUIViewAndroid", |
349 PasswordUIViewAndroid::RegisterPasswordUIViewAndroid}, | 300 PasswordUIViewAndroid::RegisterPasswordUIViewAndroid}, |
350 {"PermissionUpdateInfoBarDelegate", | 301 {"PermissionUpdateInfoBarDelegate", |
351 PermissionUpdateInfoBarDelegate::RegisterPermissionUpdateInfoBarDelegate}, | 302 PermissionUpdateInfoBarDelegate::RegisterPermissionUpdateInfoBarDelegate}, |
352 {"PersonalDataManagerAndroid", | 303 {"PersonalDataManagerAndroid", |
353 autofill::PersonalDataManagerAndroid::Register}, | 304 autofill::PersonalDataManagerAndroid::Register}, |
354 {"PolicyAuditor", RegisterPolicyAuditor}, | 305 {"PolicyAuditor", RegisterPolicyAuditor}, |
355 {"PrecacheLauncher", RegisterPrecacheLauncher}, | 306 {"PrecacheLauncher", RegisterPrecacheLauncher}, |
356 {"PrefServiceBridge", PrefServiceBridge::RegisterPrefServiceBridge}, | 307 {"PrefServiceBridge", PrefServiceBridge::RegisterPrefServiceBridge}, |
357 {"ProfileAndroid", ProfileAndroid::RegisterProfileAndroid}, | 308 {"ProfileAndroid", ProfileAndroid::RegisterProfileAndroid}, |
358 {"ProfileDownloader", RegisterProfileDownloader}, | 309 {"ProfileDownloader", RegisterProfileDownloader}, |
359 {"ProfileSyncService", ProfileSyncServiceAndroid::Register}, | 310 {"ProfileSyncService", ProfileSyncServiceAndroid::Register}, |
360 {"PushMessagingServiceObserver", | |
361 PushMessagingServiceObserverAndroid::RegisterJni}, | |
362 {"RapporServiceBridge", rappor::RegisterRapporServiceBridge}, | 311 {"RapporServiceBridge", rappor::RegisterRapporServiceBridge}, |
363 {"RecentlyClosedBridge", RecentlyClosedTabsBridge::Register}, | 312 {"RecentlyClosedBridge", RecentlyClosedTabsBridge::Register}, |
364 {"RecordCastAction", remote_media::RegisterRecordCastAction}, | 313 {"RecordCastAction", remote_media::RegisterRecordCastAction}, |
365 {"ReaderModeSceneLayer", RegisterReaderModeSceneLayer}, | 314 {"ReaderModeSceneLayer", RegisterReaderModeSceneLayer}, |
366 {"RemoteMediaPlayerBridge", | 315 {"RemoteMediaPlayerBridge", |
367 remote_media::RemoteMediaPlayerBridge::RegisterRemoteMediaPlayerBridge}, | 316 remote_media::RemoteMediaPlayerBridge::RegisterRemoteMediaPlayerBridge}, |
368 {"RevenueStats", RegisterRevenueStats}, | 317 {"RevenueStats", RegisterRevenueStats}, |
369 {"SafeBrowsingApiBridge", safe_browsing::RegisterSafeBrowsingApiBridge}, | 318 {"SafeBrowsingApiBridge", safe_browsing::RegisterSafeBrowsingApiBridge}, |
370 {"SavePasswordInfoBar", SavePasswordInfoBar::Register}, | |
371 {"SceneLayer", chrome::android::RegisterSceneLayer}, | 319 {"SceneLayer", chrome::android::RegisterSceneLayer}, |
372 {"ScreenshotTask", RegisterScreenshotTask}, | 320 {"ScreenshotTask", RegisterScreenshotTask}, |
373 {"ServiceTabLauncher", ServiceTabLauncher::Register}, | 321 {"ServiceTabLauncher", ServiceTabLauncher::Register}, |
374 {"SessionTabHelper", RegisterSessionTabHelper}, | 322 {"SessionTabHelper", RegisterSessionTabHelper}, |
375 {"SigninInvestigator", SigninInvestigatorAndroid::Register}, | 323 {"SigninInvestigator", SigninInvestigatorAndroid::Register}, |
376 {"SigninManager", SigninManagerAndroid::Register}, | 324 {"SigninManager", SigninManagerAndroid::Register}, |
377 {"SigninPromoUtil", SigninPromoUtilAndroid::Register}, | |
378 {"SingleTabModel", RegisterSingleTabModel}, | 325 {"SingleTabModel", RegisterSingleTabModel}, |
379 {"SpellCheckerSessionBridge", SpellCheckerSessionBridge::RegisterJNI}, | 326 {"SpellCheckerSessionBridge", SpellCheckerSessionBridge::RegisterJNI}, |
380 {"SqliteCursor", SQLiteCursor::RegisterSqliteCursor}, | 327 {"SqliteCursor", SQLiteCursor::RegisterSqliteCursor}, |
381 {"SSLClientCertificateRequest", RegisterSSLClientCertificateRequestAndroid}, | 328 {"SSLClientCertificateRequest", RegisterSSLClientCertificateRequestAndroid}, |
382 {"StartupMetricUtils", RegisterStartupMetricUtils}, | 329 {"StartupMetricUtils", RegisterStartupMetricUtils}, |
383 {"StaticTabSceneLayer", chrome::android::RegisterStaticTabSceneLayer}, | 330 {"StaticTabSceneLayer", chrome::android::RegisterStaticTabSceneLayer}, |
384 {"SupervisedUserContentProvider", SupervisedUserContentProvider::Register}, | 331 {"SupervisedUserContentProvider", SupervisedUserContentProvider::Register}, |
385 {"Sync", syncer::RegisterSyncJni}, | 332 {"Sync", syncer::RegisterSyncJni}, |
386 {"SyncSessionsMetrics", SyncSessionsMetricsAndroid::Register}, | 333 {"SyncSessionsMetrics", SyncSessionsMetricsAndroid::Register}, |
387 {"TabAndroid", TabAndroid::RegisterTabAndroid}, | 334 {"TabAndroid", TabAndroid::RegisterTabAndroid}, |
388 {"TabContentManager", chrome::android::RegisterTabContentManager}, | 335 {"TabContentManager", chrome::android::RegisterTabContentManager}, |
389 {"TabListSceneLayer", RegisterTabListSceneLayer}, | 336 {"TabListSceneLayer", RegisterTabListSceneLayer}, |
390 {"TabModelJniBridge", TabModelJniBridge::Register}, | 337 {"TabModelJniBridge", TabModelJniBridge::Register}, |
391 {"TabState", RegisterTabState}, | 338 {"TabState", RegisterTabState}, |
392 {"TabStripSceneLayer", RegisterTabStripSceneLayer}, | 339 {"TabStripSceneLayer", RegisterTabStripSceneLayer}, |
393 {"TabWebContentsDelegateAndroid", RegisterTabWebContentsDelegateAndroid}, | 340 {"TabWebContentsDelegateAndroid", RegisterTabWebContentsDelegateAndroid}, |
394 {"TemplateUrlServiceAndroid", TemplateUrlServiceAndroid::Register}, | 341 {"TemplateUrlServiceAndroid", TemplateUrlServiceAndroid::Register}, |
395 {"ToolbarModelAndroid", ToolbarModelAndroid::RegisterToolbarModelAndroid}, | 342 {"ToolbarModelAndroid", ToolbarModelAndroid::RegisterToolbarModelAndroid}, |
396 {"ToolbarSceneLayer", RegisterToolbarSceneLayer}, | 343 {"ToolbarSceneLayer", RegisterToolbarSceneLayer}, |
397 {"TranslateInfoBarDelegate", RegisterTranslateInfoBarDelegate}, | 344 {"TranslateInfoBarDelegate", RegisterTranslateInfoBarDelegate}, |
398 {"TtsPlatformImpl", TtsPlatformImplAndroid::Register}, | 345 {"TtsPlatformImpl", TtsPlatformImplAndroid::Register}, |
399 {"UmaSessionStats", RegisterUmaSessionStats}, | 346 {"UmaSessionStats", RegisterUmaSessionStats}, |
400 {"UpdatePasswordInfoBar", UpdatePasswordInfoBar::Register}, | |
401 {"UrlFilterBridge", UrlFilterBridge::Register}, | 347 {"UrlFilterBridge", UrlFilterBridge::Register}, |
402 {"UrlUtilities", RegisterUrlUtilities}, | 348 {"UrlUtilities", RegisterUrlUtilities}, |
403 {"UsbChooserDialogAndroid", UsbChooserDialogAndroid::Register}, | 349 {"UsbChooserDialogAndroid", UsbChooserDialogAndroid::Register}, |
404 {"Variations", variations::android::RegisterVariations}, | 350 {"Variations", variations::android::RegisterVariations}, |
405 {"VariationsSeedBridge", variations::android::RegisterVariationsSeedBridge}, | |
406 {"VariationsSession", chrome::android::RegisterVariationsSession}, | 351 {"VariationsSession", chrome::android::RegisterVariationsSession}, |
407 {"WarmupManager", RegisterWarmupManager}, | 352 {"WarmupManager", RegisterWarmupManager}, |
408 {"WebappRegistry", WebappRegistry::RegisterWebappRegistry}, | 353 {"WebappRegistry", WebappRegistry::RegisterWebappRegistry}, |
409 {"WebContentsFactory", RegisterWebContentsFactory}, | 354 {"WebContentsFactory", RegisterWebContentsFactory}, |
410 {"WebsitePreferenceBridge", RegisterWebsitePreferenceBridge}, | 355 {"WebsitePreferenceBridge", RegisterWebsitePreferenceBridge}, |
411 {"WebsiteSettingsPopupAndroid", | 356 {"WebsiteSettingsPopupAndroid", |
412 WebsiteSettingsPopupAndroid::RegisterWebsiteSettingsPopupAndroid}, | 357 WebsiteSettingsPopupAndroid::RegisterWebsiteSettingsPopupAndroid}, |
413 #if defined(ENABLE_PRINTING) && !defined(ENABLE_PRINT_PREVIEW) | 358 #if defined(ENABLE_PRINTING) && !defined(ENABLE_PRINT_PREVIEW) |
414 {"PrintingContext", | 359 {"PrintingContext", |
415 printing::PrintingContextAndroid::RegisterPrintingContext}, | 360 printing::PrintingContextAndroid::RegisterPrintingContext}, |
416 #endif | 361 #endif |
417 }; | 362 }; |
418 | 363 |
419 bool RegisterBrowserJNI(JNIEnv* env) { | 364 bool RegisterBrowserJNI(JNIEnv* env) { |
420 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); | 365 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); |
421 return RegisterNativeMethods(env, kChromeRegisteredMethods, | 366 return RegisterNativeMethods(env, kChromeRegisteredMethods, |
422 arraysize(kChromeRegisteredMethods)); | 367 arraysize(kChromeRegisteredMethods)); |
423 } | 368 } |
424 | 369 |
425 } // namespace android | 370 } // namespace android |
426 } // namespace chrome | 371 } // namespace chrome |
OLD | NEW |