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

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

Issue 1256283002: GAIA ID migration for Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 4 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/after_startup_task_utils_android.h" 10 #include "chrome/browser/after_startup_task_utils_android.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 #include "chrome/browser/android/preferences/autofill/autofill_profile_bridge.h" 62 #include "chrome/browser/android/preferences/autofill/autofill_profile_bridge.h"
63 #include "chrome/browser/android/preferences/pref_service_bridge.h" 63 #include "chrome/browser/android/preferences/pref_service_bridge.h"
64 #include "chrome/browser/android/preferences/website_preference_bridge.h" 64 #include "chrome/browser/android/preferences/website_preference_bridge.h"
65 #include "chrome/browser/android/profiles/profile_downloader_android.h" 65 #include "chrome/browser/android/profiles/profile_downloader_android.h"
66 #include "chrome/browser/android/provider/chrome_browser_provider.h" 66 #include "chrome/browser/android/provider/chrome_browser_provider.h"
67 #include "chrome/browser/android/rappor/rappor_service_bridge.h" 67 #include "chrome/browser/android/rappor/rappor_service_bridge.h"
68 #include "chrome/browser/android/recently_closed_tabs_bridge.h" 68 #include "chrome/browser/android/recently_closed_tabs_bridge.h"
69 #include "chrome/browser/android/rlz/revenue_stats.h" 69 #include "chrome/browser/android/rlz/revenue_stats.h"
70 #include "chrome/browser/android/shortcut_helper.h" 70 #include "chrome/browser/android/shortcut_helper.h"
71 #include "chrome/browser/android/signin/account_management_screen_helper.h" 71 #include "chrome/browser/android/signin/account_management_screen_helper.h"
72 #include "chrome/browser/android/signin/account_tracker_service_android.h"
72 #include "chrome/browser/android/signin/signin_manager_android.h" 73 #include "chrome/browser/android/signin/signin_manager_android.h"
73 #include "chrome/browser/android/tab/thumbnail_tab_helper_android.h" 74 #include "chrome/browser/android/tab/thumbnail_tab_helper_android.h"
74 #include "chrome/browser/android/tab_android.h" 75 #include "chrome/browser/android/tab_android.h"
75 #include "chrome/browser/android/tab_state.h" 76 #include "chrome/browser/android/tab_state.h"
76 #include "chrome/browser/android/url_utilities.h" 77 #include "chrome/browser/android/url_utilities.h"
77 #include "chrome/browser/android/voice_search_tab_helper.h" 78 #include "chrome/browser/android/voice_search_tab_helper.h"
78 #include "chrome/browser/android/warmup_manager.h" 79 #include "chrome/browser/android/warmup_manager.h"
79 #include "chrome/browser/android/web_contents_factory.h" 80 #include "chrome/browser/android/web_contents_factory.h"
80 #include "chrome/browser/android/webapps/add_to_homescreen_dialog_helper.h" 81 #include "chrome/browser/android/webapps/add_to_homescreen_dialog_helper.h"
81 #include "chrome/browser/autofill/android/personal_data_manager_android.h" 82 #include "chrome/browser/autofill/android/personal_data_manager_android.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 navigation_interception::RegisterNavigationInterceptionJni}, 166 navigation_interception::RegisterNavigationInterceptionJni},
166 {"Policy", policy::android::RegisterPolicy}, 167 {"Policy", policy::android::RegisterPolicy},
167 {"SafeJson", safe_json::android::RegisterSafeJsonJni}, 168 {"SafeJson", safe_json::android::RegisterSafeJsonJni},
168 {"Signin", signin::android::RegisterSigninJni}, 169 {"Signin", signin::android::RegisterSigninJni},
169 {"WebContentsDelegateAndroid", 170 {"WebContentsDelegateAndroid",
170 web_contents_delegate_android::RegisterWebContentsDelegateAndroidJni}, 171 web_contents_delegate_android::RegisterWebContentsDelegateAndroidJni},
171 // Register JNI for chrome classes. 172 // Register JNI for chrome classes.
172 {"AccessibilityUtils", AccessibilityUtil::Register}, 173 {"AccessibilityUtils", AccessibilityUtil::Register},
173 {"AccountChooserInfoBar", RegisterAccountChooserInfoBar}, 174 {"AccountChooserInfoBar", RegisterAccountChooserInfoBar},
174 {"AccountManagementScreenHelper", AccountManagementScreenHelper::Register}, 175 {"AccountManagementScreenHelper", AccountManagementScreenHelper::Register},
176 {"AccountTrackerService", AccountTrackerServiceAndroid::Register},
175 {"AddToHomescreenDialogHelper", 177 {"AddToHomescreenDialogHelper",
176 AddToHomescreenDialogHelper::RegisterAddToHomescreenDialogHelper}, 178 AddToHomescreenDialogHelper::RegisterAddToHomescreenDialogHelper},
177 {"AfterStartupTaskUtils", RegisterAfterStartupTaskUtilsJNI}, 179 {"AfterStartupTaskUtils", RegisterAfterStartupTaskUtilsJNI},
178 {"AnswersImageBridge", RegisterAnswersImageBridge}, 180 {"AnswersImageBridge", RegisterAnswersImageBridge},
179 {"AppBannerInfoBarAndroid", RegisterAppBannerInfoBarAndroid}, 181 {"AppBannerInfoBarAndroid", RegisterAppBannerInfoBarAndroid},
180 {"AppBannerInfoBarDelegateAndroid", 182 {"AppBannerInfoBarDelegateAndroid",
181 banners::RegisterAppBannerInfoBarDelegateAndroid}, 183 banners::RegisterAppBannerInfoBarDelegateAndroid},
182 {"AppBannerManagerAndroid", banners::AppBannerManagerAndroid::Register}, 184 {"AppBannerManagerAndroid", banners::AppBannerManagerAndroid::Register},
183 {"ApplicationLifetime", RegisterApplicationLifetimeAndroid}, 185 {"ApplicationLifetime", RegisterApplicationLifetimeAndroid},
184 {"AutocompleteControllerAndroid", RegisterAutocompleteControllerAndroid}, 186 {"AutocompleteControllerAndroid", RegisterAutocompleteControllerAndroid},
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 }; 338 };
337 339
338 bool RegisterBrowserJNI(JNIEnv* env) { 340 bool RegisterBrowserJNI(JNIEnv* env) {
339 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); 341 TRACE_EVENT0("startup", "chrome_android::RegisterJni");
340 return RegisterNativeMethods(env, kChromeRegisteredMethods, 342 return RegisterNativeMethods(env, kChromeRegisteredMethods,
341 arraysize(kChromeRegisteredMethods)); 343 arraysize(kChromeRegisteredMethods));
342 } 344 }
343 345
344 } // namespace android 346 } // namespace android
345 } // namespace chrome 347 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698