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

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

Issue 2132163002: Add BlimpClientContext and factory with real and dummy implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-blimp-client-core-public-to-blimp-client
Patch Set: git merge origin/master before CQ for good measure Created 4 years, 5 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/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 "chrome/browser/after_startup_task_utils_android.h" 12 #include "chrome/browser/after_startup_task_utils_android.h"
12 #include "chrome/browser/android/accessibility/font_size_prefs_android.h" 13 #include "chrome/browser/android/accessibility/font_size_prefs_android.h"
13 #include "chrome/browser/android/accessibility_util.h" 14 #include "chrome/browser/android/accessibility_util.h"
14 #include "chrome/browser/android/appmenu/app_menu_drag_helper.h" 15 #include "chrome/browser/android/appmenu/app_menu_drag_helper.h"
15 #include "chrome/browser/android/background_sync_launcher_android.h" 16 #include "chrome/browser/android/background_sync_launcher_android.h"
16 #include "chrome/browser/android/banners/app_banner_infobar_delegate_android.h" 17 #include "chrome/browser/android/banners/app_banner_infobar_delegate_android.h"
17 #include "chrome/browser/android/banners/app_banner_manager_android.h" 18 #include "chrome/browser/android/banners/app_banner_manager_android.h"
19 #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/bookmarks/bookmark_bridge.h" 21 #include "chrome/browser/android/bookmarks/bookmark_bridge.h"
19 #include "chrome/browser/android/bookmarks/partner_bookmarks_reader.h" 22 #include "chrome/browser/android/bookmarks/partner_bookmarks_reader.h"
20 #include "chrome/browser/android/bottombar/overlay_panel_content.h" 23 #include "chrome/browser/android/bottombar/overlay_panel_content.h"
21 #include "chrome/browser/android/browsing_data/browsing_data_counter_bridge.h" 24 #include "chrome/browser/android/browsing_data/browsing_data_counter_bridge.h"
22 #include "chrome/browser/android/chrome_application.h" 25 #include "chrome/browser/android/chrome_application.h"
23 #include "chrome/browser/android/chrome_feature_list.h" 26 #include "chrome/browser/android/chrome_feature_list.h"
24 #include "chrome/browser/android/compositor/compositor_view.h" 27 #include "chrome/browser/android/compositor/compositor_view.h"
25 #include "chrome/browser/android/compositor/layer_title_cache.h" 28 #include "chrome/browser/android/compositor/layer_title_cache.h"
26 #include "chrome/browser/android/compositor/scene_layer/contextual_search_scene_ layer.h" 29 #include "chrome/browser/android/compositor/scene_layer/contextual_search_scene_ layer.h"
27 #include "chrome/browser/android/compositor/scene_layer/reader_mode_scene_layer. h" 30 #include "chrome/browser/android/compositor/scene_layer/reader_mode_scene_layer. h"
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 {"AutocompleteControllerAndroid", RegisterAutocompleteControllerAndroid}, 221 {"AutocompleteControllerAndroid", RegisterAutocompleteControllerAndroid},
219 {"AutofillSaveCardInfoBar", AutofillSaveCardInfoBar::Register}, 222 {"AutofillSaveCardInfoBar", AutofillSaveCardInfoBar::Register},
220 {"AutofillKeyboardAccessory", autofill::AutofillKeyboardAccessoryView:: 223 {"AutofillKeyboardAccessory", autofill::AutofillKeyboardAccessoryView::
221 RegisterAutofillKeyboardAccessoryView}, 224 RegisterAutofillKeyboardAccessoryView},
222 {"AutofillLoggerAndroid", autofill::AutofillLoggerAndroid::Register}, 225 {"AutofillLoggerAndroid", autofill::AutofillLoggerAndroid::Register},
223 {"AutofillPopup", 226 {"AutofillPopup",
224 autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid}, 227 autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid},
225 {"AutofillProfileBridge", autofill::RegisterAutofillProfileBridge}, 228 {"AutofillProfileBridge", autofill::RegisterAutofillProfileBridge},
226 {"AutoSigninSnackbarController", RegisterAutoSigninSnackbarController}, 229 {"AutoSigninSnackbarController", RegisterAutoSigninSnackbarController},
227 {"BackgroundSchedulerBridge", 230 {"BackgroundSchedulerBridge",
228 offline_pages::android::RegisterBackgroundSchedulerBridge}, 231 offline_pages::android::RegisterBackgroundSchedulerBridge},
229 {"BackgroundSyncLauncherAndroid", 232 {"BackgroundSyncLauncherAndroid",
230 BackgroundSyncLauncherAndroid::RegisterLauncher}, 233 BackgroundSyncLauncherAndroid::RegisterLauncher},
234 {"BlimpClientContextFactory", RegisterBlimpClientContextFactoryJni},
235 {"Blimp", blimp::client::RegisterBlimpJni},
231 {"BluetoothChooserAndroid", BluetoothChooserAndroid::Register}, 236 {"BluetoothChooserAndroid", BluetoothChooserAndroid::Register},
232 {"BookmarkBridge", BookmarkBridge::RegisterBookmarkBridge}, 237 {"BookmarkBridge", BookmarkBridge::RegisterBookmarkBridge},
233 {"BrowsingDataCounterBridge", BrowsingDataCounterBridge::Register}, 238 {"BrowsingDataCounterBridge", BrowsingDataCounterBridge::Register},
234 {"CardUnmaskPrompt", autofill::CardUnmaskPromptViewAndroid::Register}, 239 {"CardUnmaskPrompt", autofill::CardUnmaskPromptViewAndroid::Register},
235 {"CertificateViewer", RegisterCertificateViewer}, 240 {"CertificateViewer", RegisterCertificateViewer},
236 {"ChildAccountFeedbackReporter", RegisterChildAccountFeedbackReporter}, 241 {"ChildAccountFeedbackReporter", RegisterChildAccountFeedbackReporter},
237 {"ChildAccountService", RegisterChildAccountService}, 242 {"ChildAccountService", RegisterChildAccountService},
238 {"ChromeApplication", ChromeApplication::RegisterBindings}, 243 {"ChromeApplication", ChromeApplication::RegisterBindings},
244 {"ChromeBlimpClientContextDelegate",
245 ChromeBlimpClientContextDelegateAndroid::RegisterJni},
239 {"ChromeBrowserProvider", 246 {"ChromeBrowserProvider",
240 ChromeBrowserProvider::RegisterChromeBrowserProvider}, 247 ChromeBrowserProvider::RegisterChromeBrowserProvider},
241 {"ChromeFeatureList", RegisterChromeFeatureListJni}, 248 {"ChromeFeatureList", RegisterChromeFeatureListJni},
242 {"ChromeHttpAuthHandler", 249 {"ChromeHttpAuthHandler",
243 ChromeHttpAuthHandler::RegisterChromeHttpAuthHandler}, 250 ChromeHttpAuthHandler::RegisterChromeHttpAuthHandler},
244 #if defined(ENABLE_MEDIA_ROUTER) 251 #if defined(ENABLE_MEDIA_ROUTER)
245 {"ChromeMediaRouter", media_router::MediaRouterAndroid::Register}, 252 {"ChromeMediaRouter", media_router::MediaRouterAndroid::Register},
246 {"ChromeMediaRouterDialogController", 253 {"ChromeMediaRouterDialogController",
247 media_router::MediaRouterDialogControllerAndroid::Register}, 254 media_router::MediaRouterDialogControllerAndroid::Register},
248 #endif 255 #endif
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 }; 404 };
398 405
399 bool RegisterBrowserJNI(JNIEnv* env) { 406 bool RegisterBrowserJNI(JNIEnv* env) {
400 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); 407 TRACE_EVENT0("startup", "chrome_android::RegisterJni");
401 return RegisterNativeMethods(env, kChromeRegisteredMethods, 408 return RegisterNativeMethods(env, kChromeRegisteredMethods,
402 arraysize(kChromeRegisteredMethods)); 409 arraysize(kChromeRegisteredMethods));
403 } 410 }
404 411
405 } // namespace android 412 } // namespace android
406 } // namespace chrome 413 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/android/blimp/chrome_blimp_client_context_delegate_android.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698