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

Side by Side Diff: content/app/android/content_jni_registrar.cc

Issue 10540094: Add RemoteDebuggingController.java and its (native) dependencies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move devtools_server.h to content/public Created 8 years, 6 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 | Annotate | Revision Log
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/app/android/content_jni_registrar.h" 5 #include "content/app/android/content_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/app/android/content_main.h" 9 #include "content/app/android/content_main.h"
10 #include "content/app/android/sandboxed_process_service.h" 10 #include "content/app/android/sandboxed_process_service.h"
11 #include "content/browser/android/android_browser_process.h" 11 #include "content/browser/android/android_browser_process.h"
12 #include "content/browser/android/command_line.h" 12 #include "content/browser/android/command_line.h"
13 #include "content/browser/android/content_view_client.h" 13 #include "content/browser/android/content_view_client.h"
14 #include "content/browser/android/device_info.h" 14 #include "content/browser/android/device_info.h"
15 #include "content/browser/android/download_controller.h" 15 #include "content/browser/android/download_controller.h"
16 #include "content/browser/android/jni_helper.h" 16 #include "content/browser/android/jni_helper.h"
17 #include "content/browser/android/remote_debugging_controller.h"
17 #include "content/browser/android/sandboxed_process_launcher.h" 18 #include "content/browser/android/sandboxed_process_launcher.h"
18 #include "content/browser/android/trace_event_binding.h" 19 #include "content/browser/android/trace_event_binding.h"
19 #include "content/browser/android/content_view_impl.h" 20 #include "content/browser/android/content_view_impl.h"
20 #include "content/common/android/surface_callback.h" 21 #include "content/common/android/surface_callback.h"
21 22
22 namespace content { 23 namespace content {
23 namespace android { 24 namespace android {
24 25
25 base::android::RegistrationMethod kContentRegisteredMethods[] = { 26 base::android::RegistrationMethod kContentRegisteredMethods[] = {
26 { "AndroidBrowserProcess", content::RegisterAndroidBrowserProcess }, 27 { "AndroidBrowserProcess", content::RegisterAndroidBrowserProcess },
27 { "CommandLine", RegisterCommandLine }, 28 { "CommandLine", RegisterCommandLine },
28 { "ContentView", RegisterContentView }, 29 { "ContentView", RegisterContentView },
29 { "ContentViewClient", RegisterContentViewClient }, 30 { "ContentViewClient", RegisterContentViewClient },
30 { "ContentMain", content::RegisterContentMain }, 31 { "ContentMain", content::RegisterContentMain },
31 { "DeviceInfo", RegisterDeviceInfo }, 32 { "DeviceInfo", RegisterDeviceInfo },
32 { "DownloadController", DownloadController::RegisterDownloadController }, 33 { "DownloadController", DownloadController::RegisterDownloadController },
33 { "JniHelper", RegisterJniHelper }, 34 { "JniHelper", RegisterJniHelper },
35 { "RemoteDebuggingController", RegisterRemoteDebuggingController },
34 { "SandboxedProcessLauncher", content::RegisterSandboxedProcessLauncher }, 36 { "SandboxedProcessLauncher", content::RegisterSandboxedProcessLauncher },
35 { "SandboxedProcessService", content::RegisterSandboxedProcessService }, 37 { "SandboxedProcessService", content::RegisterSandboxedProcessService },
36 { "SurfaceCallback", content::RegisterSurfaceCallback }, 38 { "SurfaceCallback", content::RegisterSurfaceCallback },
37 { "TraceEvent", RegisterTraceEvent }, 39 { "TraceEvent", RegisterTraceEvent },
38 }; 40 };
39 41
40 bool RegisterJni(JNIEnv* env) { 42 bool RegisterJni(JNIEnv* env) {
41 return RegisterNativeMethods(env, kContentRegisteredMethods, 43 return RegisterNativeMethods(env, kContentRegisteredMethods,
42 arraysize(kContentRegisteredMethods)); 44 arraysize(kContentRegisteredMethods));
43 } 45 }
44 46
45 } // namespace android 47 } // namespace android
46 } // namespace content 48 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/browser/android/devtools_server.cc » ('j') | content/browser/android/remote_debugging_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698