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

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 & solve tests Created 5 years, 3 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 #include "chrome/browser/android/preferences/autofill/autofill_profile_bridge.h" 63 #include "chrome/browser/android/preferences/autofill/autofill_profile_bridge.h"
64 #include "chrome/browser/android/preferences/pref_service_bridge.h" 64 #include "chrome/browser/android/preferences/pref_service_bridge.h"
65 #include "chrome/browser/android/preferences/website_preference_bridge.h" 65 #include "chrome/browser/android/preferences/website_preference_bridge.h"
66 #include "chrome/browser/android/profiles/profile_downloader_android.h" 66 #include "chrome/browser/android/profiles/profile_downloader_android.h"
67 #include "chrome/browser/android/provider/chrome_browser_provider.h" 67 #include "chrome/browser/android/provider/chrome_browser_provider.h"
68 #include "chrome/browser/android/rappor/rappor_service_bridge.h" 68 #include "chrome/browser/android/rappor/rappor_service_bridge.h"
69 #include "chrome/browser/android/recently_closed_tabs_bridge.h" 69 #include "chrome/browser/android/recently_closed_tabs_bridge.h"
70 #include "chrome/browser/android/rlz/revenue_stats.h" 70 #include "chrome/browser/android/rlz/revenue_stats.h"
71 #include "chrome/browser/android/shortcut_helper.h" 71 #include "chrome/browser/android/shortcut_helper.h"
72 #include "chrome/browser/android/signin/account_management_screen_helper.h" 72 #include "chrome/browser/android/signin/account_management_screen_helper.h"
73 #include "chrome/browser/android/signin/account_tracker_service_android.h"
73 #include "chrome/browser/android/signin/signin_manager_android.h" 74 #include "chrome/browser/android/signin/signin_manager_android.h"
74 #include "chrome/browser/android/tab/thumbnail_tab_helper_android.h" 75 #include "chrome/browser/android/tab/thumbnail_tab_helper_android.h"
75 #include "chrome/browser/android/tab_android.h" 76 #include "chrome/browser/android/tab_android.h"
76 #include "chrome/browser/android/tab_state.h" 77 #include "chrome/browser/android/tab_state.h"
77 #include "chrome/browser/android/url_utilities.h" 78 #include "chrome/browser/android/url_utilities.h"
78 #include "chrome/browser/android/voice_search_tab_helper.h" 79 #include "chrome/browser/android/voice_search_tab_helper.h"
79 #include "chrome/browser/android/warmup_manager.h" 80 #include "chrome/browser/android/warmup_manager.h"
80 #include "chrome/browser/android/web_contents_factory.h" 81 #include "chrome/browser/android/web_contents_factory.h"
81 #include "chrome/browser/android/webapps/add_to_homescreen_dialog_helper.h" 82 #include "chrome/browser/android/webapps/add_to_homescreen_dialog_helper.h"
82 #include "chrome/browser/autofill/android/personal_data_manager_android.h" 83 #include "chrome/browser/autofill/android/personal_data_manager_android.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 navigation_interception::RegisterNavigationInterceptionJni}, 169 navigation_interception::RegisterNavigationInterceptionJni},
169 {"Policy", policy::android::RegisterPolicy}, 170 {"Policy", policy::android::RegisterPolicy},
170 {"SafeJson", safe_json::android::RegisterSafeJsonJni}, 171 {"SafeJson", safe_json::android::RegisterSafeJsonJni},
171 {"Signin", signin::android::RegisterSigninJni}, 172 {"Signin", signin::android::RegisterSigninJni},
172 {"WebContentsDelegateAndroid", 173 {"WebContentsDelegateAndroid",
173 web_contents_delegate_android::RegisterWebContentsDelegateAndroidJni}, 174 web_contents_delegate_android::RegisterWebContentsDelegateAndroidJni},
174 // Register JNI for chrome classes. 175 // Register JNI for chrome classes.
175 {"AccessibilityUtils", AccessibilityUtil::Register}, 176 {"AccessibilityUtils", AccessibilityUtil::Register},
176 {"AccountChooserInfoBar", RegisterAccountChooserInfoBar}, 177 {"AccountChooserInfoBar", RegisterAccountChooserInfoBar},
177 {"AccountManagementScreenHelper", AccountManagementScreenHelper::Register}, 178 {"AccountManagementScreenHelper", AccountManagementScreenHelper::Register},
179 {"AccountTrackerService", AccountTrackerServiceAndroid::Register},
178 {"AddToHomescreenDialogHelper", 180 {"AddToHomescreenDialogHelper",
179 AddToHomescreenDialogHelper::RegisterAddToHomescreenDialogHelper}, 181 AddToHomescreenDialogHelper::RegisterAddToHomescreenDialogHelper},
180 {"AfterStartupTaskUtils", RegisterAfterStartupTaskUtilsJNI}, 182 {"AfterStartupTaskUtils", RegisterAfterStartupTaskUtilsJNI},
181 {"AnswersImageBridge", RegisterAnswersImageBridge}, 183 {"AnswersImageBridge", RegisterAnswersImageBridge},
182 {"AppBannerInfoBarAndroid", RegisterAppBannerInfoBarAndroid}, 184 {"AppBannerInfoBarAndroid", RegisterAppBannerInfoBarAndroid},
183 {"AppBannerInfoBarDelegateAndroid", 185 {"AppBannerInfoBarDelegateAndroid",
184 banners::RegisterAppBannerInfoBarDelegateAndroid}, 186 banners::RegisterAppBannerInfoBarDelegateAndroid},
185 {"AppBannerManagerAndroid", banners::AppBannerManagerAndroid::Register}, 187 {"AppBannerManagerAndroid", banners::AppBannerManagerAndroid::Register},
186 {"ApplicationLifetime", RegisterApplicationLifetimeAndroid}, 188 {"ApplicationLifetime", RegisterApplicationLifetimeAndroid},
187 {"AutocompleteControllerAndroid", RegisterAutocompleteControllerAndroid}, 189 {"AutocompleteControllerAndroid", RegisterAutocompleteControllerAndroid},
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 }; 344 };
343 345
344 bool RegisterBrowserJNI(JNIEnv* env) { 346 bool RegisterBrowserJNI(JNIEnv* env) {
345 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); 347 TRACE_EVENT0("startup", "chrome_android::RegisterJni");
346 return RegisterNativeMethods(env, kChromeRegisteredMethods, 348 return RegisterNativeMethods(env, kChromeRegisteredMethods,
347 arraysize(kChromeRegisteredMethods)); 349 arraysize(kChromeRegisteredMethods));
348 } 350 }
349 351
350 } // namespace android 352 } // namespace android
351 } // namespace chrome 353 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698