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

Side by Side Diff: chrome/browser/android/chrome_jni_registrar.cc

Issue 1032273004: Revert of precache: Move the java files into //components/precache/android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 unified diff | Download patch
OLDNEW
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/trace_event/trace_event.h" 9 #include "base/trace_event/trace_event.h"
10 #include "chrome/browser/android/accessibility/font_size_prefs_android.h" 10 #include "chrome/browser/android/accessibility/font_size_prefs_android.h"
(...skipping 26 matching lines...) Expand all
37 #include "chrome/browser/android/metrics/uma_bridge.h" 37 #include "chrome/browser/android/metrics/uma_bridge.h"
38 #include "chrome/browser/android/metrics/uma_session_stats.h" 38 #include "chrome/browser/android/metrics/uma_session_stats.h"
39 #include "chrome/browser/android/metrics/uma_utils.h" 39 #include "chrome/browser/android/metrics/uma_utils.h"
40 #include "chrome/browser/android/metrics/variations_session.h" 40 #include "chrome/browser/android/metrics/variations_session.h"
41 #include "chrome/browser/android/most_visited_sites.h" 41 #include "chrome/browser/android/most_visited_sites.h"
42 #include "chrome/browser/android/new_tab_page_prefs.h" 42 #include "chrome/browser/android/new_tab_page_prefs.h"
43 #include "chrome/browser/android/omnibox/answers_image_bridge.h" 43 #include "chrome/browser/android/omnibox/answers_image_bridge.h"
44 #include "chrome/browser/android/omnibox/autocomplete_controller_android.h" 44 #include "chrome/browser/android/omnibox/autocomplete_controller_android.h"
45 #include "chrome/browser/android/omnibox/omnibox_prerender.h" 45 #include "chrome/browser/android/omnibox/omnibox_prerender.h"
46 #include "chrome/browser/android/password_ui_view_android.h" 46 #include "chrome/browser/android/password_ui_view_android.h"
47 #include "chrome/browser/android/precache/precache_launcher.h"
48 #include "chrome/browser/android/preferences/autofill/autofill_profile_bridge.h" 47 #include "chrome/browser/android/preferences/autofill/autofill_profile_bridge.h"
49 #include "chrome/browser/android/preferences/pref_service_bridge.h" 48 #include "chrome/browser/android/preferences/pref_service_bridge.h"
50 #include "chrome/browser/android/preferences/website_preference_bridge.h" 49 #include "chrome/browser/android/preferences/website_preference_bridge.h"
51 #include "chrome/browser/android/profiles/profile_downloader_android.h" 50 #include "chrome/browser/android/profiles/profile_downloader_android.h"
52 #include "chrome/browser/android/provider/chrome_browser_provider.h" 51 #include "chrome/browser/android/provider/chrome_browser_provider.h"
53 #include "chrome/browser/android/recently_closed_tabs_bridge.h" 52 #include "chrome/browser/android/recently_closed_tabs_bridge.h"
54 #include "chrome/browser/android/service_tab_launcher.h" 53 #include "chrome/browser/android/service_tab_launcher.h"
55 #include "chrome/browser/android/shortcut_helper.h" 54 #include "chrome/browser/android/shortcut_helper.h"
56 #include "chrome/browser/android/signin/account_management_screen_helper.h" 55 #include "chrome/browser/android/signin/account_management_screen_helper.h"
57 #include "chrome/browser/android/signin/signin_manager_android.h" 56 #include "chrome/browser/android/signin/signin_manager_android.h"
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 OmniboxUrlEmphasizer::RegisterOmniboxUrlEmphasizer}, 216 OmniboxUrlEmphasizer::RegisterOmniboxUrlEmphasizer},
218 {"OmniboxViewUtil", OmniboxViewUtil::RegisterOmniboxViewUtil}, 217 {"OmniboxViewUtil", OmniboxViewUtil::RegisterOmniboxViewUtil},
219 {"PartnerBookmarksReader", 218 {"PartnerBookmarksReader",
220 PartnerBookmarksReader::RegisterPartnerBookmarksReader}, 219 PartnerBookmarksReader::RegisterPartnerBookmarksReader},
221 {"PasswordGenerationPopup", 220 {"PasswordGenerationPopup",
222 autofill::PasswordGenerationPopupViewAndroid::Register}, 221 autofill::PasswordGenerationPopupViewAndroid::Register},
223 {"PasswordUIViewAndroid", 222 {"PasswordUIViewAndroid",
224 PasswordUIViewAndroid::RegisterPasswordUIViewAndroid}, 223 PasswordUIViewAndroid::RegisterPasswordUIViewAndroid},
225 {"PersonalDataManagerAndroid", 224 {"PersonalDataManagerAndroid",
226 autofill::PersonalDataManagerAndroid::Register}, 225 autofill::PersonalDataManagerAndroid::Register},
227 {"PrecacheLauncher", RegisterPrecacheLauncher},
228 {"PrefServiceBridge", RegisterPrefServiceBridge}, 226 {"PrefServiceBridge", RegisterPrefServiceBridge},
229 {"ProfileAndroid", ProfileAndroid::RegisterProfileAndroid}, 227 {"ProfileAndroid", ProfileAndroid::RegisterProfileAndroid},
230 {"ProfileDownloader", RegisterProfileDownloader}, 228 {"ProfileDownloader", RegisterProfileDownloader},
231 {"ProfileSyncService", ProfileSyncServiceAndroid::Register}, 229 {"ProfileSyncService", ProfileSyncServiceAndroid::Register},
232 {"RecentlyClosedBridge", RecentlyClosedTabsBridge::Register}, 230 {"RecentlyClosedBridge", RecentlyClosedTabsBridge::Register},
233 {"SavePasswordInfoBar", SavePasswordInfoBar::Register}, 231 {"SavePasswordInfoBar", SavePasswordInfoBar::Register},
234 {"SceneLayer", chrome::android::RegisterSceneLayer}, 232 {"SceneLayer", chrome::android::RegisterSceneLayer},
235 {"ServiceTabLauncher", ServiceTabLauncher::RegisterServiceTabLauncher}, 233 {"ServiceTabLauncher", ServiceTabLauncher::RegisterServiceTabLauncher},
236 {"SigninManager", SigninManagerAndroid::Register}, 234 {"SigninManager", SigninManagerAndroid::Register},
237 {"SqliteCursor", SQLiteCursor::RegisterSqliteCursor}, 235 {"SqliteCursor", SQLiteCursor::RegisterSqliteCursor},
(...skipping 25 matching lines...) Expand all
263 }; 261 };
264 262
265 bool RegisterBrowserJNI(JNIEnv* env) { 263 bool RegisterBrowserJNI(JNIEnv* env) {
266 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); 264 TRACE_EVENT0("startup", "chrome_android::RegisterJni");
267 return RegisterNativeMethods(env, kChromeRegisteredMethods, 265 return RegisterNativeMethods(env, kChromeRegisteredMethods,
268 arraysize(kChromeRegisteredMethods)); 266 arraysize(kChromeRegisteredMethods));
269 } 267 }
270 268
271 } // namespace android 269 } // namespace android
272 } // namespace chrome 270 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/android/shell/java/AndroidManifest.xml.jinja2 ('k') | chrome/browser/android/precache/precache_launcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698