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

Side by Side Diff: content/browser/android/browser_jni_registrar.cc

Issue 22691002: Allow overlapping sync and async startup requests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Allow overlapping sync and async startup requests - fix code review Nits Created 7 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 "content/browser/android/browser_jni_registrar.h" 5 #include "content/browser/android/browser_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 "content/browser/accessibility/browser_accessibility_android.h" 9 #include "content/browser/accessibility/browser_accessibility_android.h"
10 #include "content/browser/accessibility/browser_accessibility_manager_android.h" 10 #include "content/browser/accessibility/browser_accessibility_manager_android.h"
11 #include "content/browser/android/android_browser_process.h"
12 #include "content/browser/android/browser_startup_controller.h" 11 #include "content/browser/android/browser_startup_controller.h"
13 #include "content/browser/android/child_process_launcher_android.h" 12 #include "content/browser/android/child_process_launcher_android.h"
14 #include "content/browser/android/content_settings.h" 13 #include "content/browser/android/content_settings.h"
15 #include "content/browser/android/content_video_view.h" 14 #include "content/browser/android/content_video_view.h"
16 #include "content/browser/android/content_view_core_impl.h" 15 #include "content/browser/android/content_view_core_impl.h"
17 #include "content/browser/android/content_view_render_view.h" 16 #include "content/browser/android/content_view_render_view.h"
18 #include "content/browser/android/content_view_statics.h" 17 #include "content/browser/android/content_view_statics.h"
19 #include "content/browser/android/date_time_chooser_android.h" 18 #include "content/browser/android/date_time_chooser_android.h"
20 #include "content/browser/android/download_controller_android_impl.h" 19 #include "content/browser/android/download_controller_android_impl.h"
21 #include "content/browser/android/interstitial_page_delegate_android.h" 20 #include "content/browser/android/interstitial_page_delegate_android.h"
(...skipping 10 matching lines...) Expand all
32 #include "content/browser/renderer_host/ime_adapter_android.h" 31 #include "content/browser/renderer_host/ime_adapter_android.h"
33 #include "content/browser/renderer_host/java/java_bound_object.h" 32 #include "content/browser/renderer_host/java/java_bound_object.h"
34 #include "content/browser/speech/speech_recognizer_impl_android.h" 33 #include "content/browser/speech/speech_recognizer_impl_android.h"
35 34
36 using content::SurfaceTexturePeerBrowserImpl; 35 using content::SurfaceTexturePeerBrowserImpl;
37 36
38 namespace { 37 namespace {
39 base::android::RegistrationMethod kContentRegisteredMethods[] = { 38 base::android::RegistrationMethod kContentRegisteredMethods[] = {
40 {"AndroidLocationApiAdapter", 39 {"AndroidLocationApiAdapter",
41 content::AndroidLocationApiAdapter::RegisterGeolocationService}, 40 content::AndroidLocationApiAdapter::RegisterGeolocationService},
42 {"AndroidBrowserProcess", content::RegisterAndroidBrowserProcess},
43 {"BrowserAccessibilityManager", 41 {"BrowserAccessibilityManager",
44 content::RegisterBrowserAccessibilityManager}, 42 content::RegisterBrowserAccessibilityManager},
45 {"BrowserStartupController", content::RegisterBrowserStartupController}, 43 {"BrowserStartupController", content::RegisterBrowserStartupController},
46 {"ChildProcessLauncher", content::RegisterChildProcessLauncher}, 44 {"ChildProcessLauncher", content::RegisterChildProcessLauncher},
47 {"ContentSettings", content::ContentSettings::RegisterContentSettings}, 45 {"ContentSettings", content::ContentSettings::RegisterContentSettings},
48 {"ContentViewRenderView", 46 {"ContentViewRenderView",
49 content::ContentViewRenderView::RegisterContentViewRenderView}, 47 content::ContentViewRenderView::RegisterContentViewRenderView},
50 {"ContentVideoView", content::ContentVideoView::RegisterContentVideoView}, 48 {"ContentVideoView", content::ContentVideoView::RegisterContentVideoView},
51 {"ContentViewCore", content::RegisterContentViewCore}, 49 {"ContentViewCore", content::RegisterContentViewCore},
52 {"DataFetcherImplAndroid", content::DataFetcherImplAndroid::Register}, 50 {"DataFetcherImplAndroid", content::DataFetcherImplAndroid::Register},
(...skipping 21 matching lines...) Expand all
74 namespace content { 72 namespace content {
75 namespace android { 73 namespace android {
76 74
77 bool RegisterBrowserJni(JNIEnv* env) { 75 bool RegisterBrowserJni(JNIEnv* env) {
78 return RegisterNativeMethods(env, kContentRegisteredMethods, 76 return RegisterNativeMethods(env, kContentRegisteredMethods,
79 arraysize(kContentRegisteredMethods)); 77 arraysize(kContentRegisteredMethods));
80 } 78 }
81 79
82 } // namespace android 80 } // namespace android
83 } // namespace content 81 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/android/android_browser_process.cc ('k') | content/browser/android/browser_startup_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698