OLD | NEW |
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/library_loader_hooks.h" | 5 #include "content/app/android/library_loader_hooks.h" |
6 | 6 |
7 #include "base/android/base_jni_registrar.h" | 7 #include "base/android/base_jni_registrar.h" |
8 #include "base/android/command_line_android.h" | 8 #include "base/android/command_line_android.h" |
9 #include "base/android/jni_android.h" | 9 #include "base/android/jni_android.h" |
10 #include "base/android/jni_registrar.h" | 10 #include "base/android/jni_registrar.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "components/tracing/common/tracing_switches.h" | 21 #include "components/tracing/common/tracing_switches.h" |
22 #include "content/app/android/app_jni_registrar.h" | 22 #include "content/app/android/app_jni_registrar.h" |
23 #include "content/browser/android/browser_jni_registrar.h" | 23 #include "content/browser/android/browser_jni_registrar.h" |
24 #include "content/common/android/common_jni_registrar.h" | 24 #include "content/common/android/common_jni_registrar.h" |
25 #include "content/common/content_constants_internal.h" | 25 #include "content/common/content_constants_internal.h" |
26 #include "content/public/common/content_switches.h" | 26 #include "content/public/common/content_switches.h" |
27 #include "content/public/common/result_codes.h" | 27 #include "content/public/common/result_codes.h" |
28 #include "device/bluetooth/android/bluetooth_jni_registrar.h" | 28 #include "device/bluetooth/android/bluetooth_jni_registrar.h" |
29 #include "device/gamepad/android/gamepad_jni_registrar.h" | 29 #include "device/gamepad/android/gamepad_jni_registrar.h" |
30 #include "device/geolocation/android/geolocation_jni_registrar.h" | 30 #include "device/geolocation/android/geolocation_jni_registrar.h" |
31 #include "device/power_save_blocker/power_save_blocker_jni_registrar.h" | |
32 #include "device/usb/android/usb_jni_registrar.h" | 31 #include "device/usb/android/usb_jni_registrar.h" |
33 #include "media/base/android/media_jni_registrar.h" | 32 #include "media/base/android/media_jni_registrar.h" |
34 #include "media/capture/content/android/screen_capture_jni_registrar.h" | 33 #include "media/capture/content/android/screen_capture_jni_registrar.h" |
35 #include "media/capture/video/android/capture_jni_registrar.h" | 34 #include "media/capture/video/android/capture_jni_registrar.h" |
36 #include "media/midi/midi_jni_registrar.h" | 35 #include "media/midi/midi_jni_registrar.h" |
37 #include "net/android/net_jni_registrar.h" | 36 #include "net/android/net_jni_registrar.h" |
38 #include "ui/android/ui_android_jni_registrar.h" | 37 #include "ui/android/ui_android_jni_registrar.h" |
39 #include "ui/base/android/ui_base_jni_registrar.h" | 38 #include "ui/base/android/ui_base_jni_registrar.h" |
40 #include "ui/gfx/android/gfx_jni_registrar.h" | 39 #include "ui/gfx/android/gfx_jni_registrar.h" |
41 #include "ui/gl/android/gl_jni_registrar.h" | 40 #include "ui/gl/android/gl_jni_registrar.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 75 |
77 if (!device::android::RegisterBluetoothJni(env)) | 76 if (!device::android::RegisterBluetoothJni(env)) |
78 return false; | 77 return false; |
79 | 78 |
80 if (!device::android::RegisterGamepadJni(env)) | 79 if (!device::android::RegisterGamepadJni(env)) |
81 return false; | 80 return false; |
82 | 81 |
83 if (!device::android::RegisterGeolocationJni(env)) | 82 if (!device::android::RegisterGeolocationJni(env)) |
84 return false; | 83 return false; |
85 | 84 |
86 if (!device::android::RegisterPowerSaveBlockerJni(env)) | |
87 return false; | |
88 | |
89 if (!device::android::RegisterUsbJni(env)) | 85 if (!device::android::RegisterUsbJni(env)) |
90 return false; | 86 return false; |
91 | 87 |
92 if (!media::RegisterJni(env)) | 88 if (!media::RegisterJni(env)) |
93 return false; | 89 return false; |
94 | 90 |
95 if (!media::RegisterCaptureJni(env)) | 91 if (!media::RegisterCaptureJni(env)) |
96 return false; | 92 return false; |
97 | 93 |
98 if (!media::midi::RegisterJni(env)) | 94 if (!media::midi::RegisterJni(env)) |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 false, // Thread ID | 148 false, // Thread ID |
153 false, // Timestamp | 149 false, // Timestamp |
154 false); // Tick count | 150 false); // Tick count |
155 VLOG(0) << "Chromium logging enabled: level = " << logging::GetMinLogLevel() | 151 VLOG(0) << "Chromium logging enabled: level = " << logging::GetMinLogLevel() |
156 << ", default verbosity = " << logging::GetVlogVerbosity(); | 152 << ", default verbosity = " << logging::GetVlogVerbosity(); |
157 | 153 |
158 return true; | 154 return true; |
159 } | 155 } |
160 | 156 |
161 } // namespace content | 157 } // namespace content |
OLD | NEW |