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

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

Issue 2075973002: Revert of Move content/browser/power_save_blocker to //device/power_save_blocker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@power-save-next-2
Patch Set: Created 4 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
« no previous file with comments | « content/app/DEPS ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/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"
11 #include "base/android/jni_string.h" 11 #include "base/android/jni_string.h"
12 #include "base/base_switches.h" 12 #include "base/base_switches.h"
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
17 #include "base/trace_event/trace_event.h" 17 #include "base/trace_event/trace_event.h"
18 #include "base/tracked_objects.h" 18 #include "base/tracked_objects.h"
19 #include "components/tracing/browser/trace_config_file.h" 19 #include "components/tracing/browser/trace_config_file.h"
20 #include "components/tracing/common/trace_to_console.h" 20 #include "components/tracing/common/trace_to_console.h"
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/power_save_blocker/power_save_blocker_jni_registrar.h"
30 #include "device/usb/android/usb_jni_registrar.h" 29 #include "device/usb/android/usb_jni_registrar.h"
31 #include "media/base/android/media_jni_registrar.h" 30 #include "media/base/android/media_jni_registrar.h"
32 #include "media/capture/video/android/capture_jni_registrar.h" 31 #include "media/capture/video/android/capture_jni_registrar.h"
33 #include "media/midi/midi_jni_registrar.h" 32 #include "media/midi/midi_jni_registrar.h"
34 #include "net/android/net_jni_registrar.h" 33 #include "net/android/net_jni_registrar.h"
35 #include "ui/android/ui_android_jni_registrar.h" 34 #include "ui/android/ui_android_jni_registrar.h"
36 #include "ui/base/android/ui_base_jni_registrar.h" 35 #include "ui/base/android/ui_base_jni_registrar.h"
37 #include "ui/events/android/events_jni_registrar.h" 36 #include "ui/events/android/events_jni_registrar.h"
38 #include "ui/gfx/android/gfx_jni_registrar.h" 37 #include "ui/gfx/android/gfx_jni_registrar.h"
39 #include "ui/gl/android/gl_jni_registrar.h" 38 #include "ui/gl/android/gl_jni_registrar.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 70
72 if (!content::android::RegisterBrowserJni(env)) 71 if (!content::android::RegisterBrowserJni(env))
73 return false; 72 return false;
74 73
75 if (!content::android::RegisterAppJni(env)) 74 if (!content::android::RegisterAppJni(env))
76 return false; 75 return false;
77 76
78 if (!device::android::RegisterBluetoothJni(env)) 77 if (!device::android::RegisterBluetoothJni(env))
79 return false; 78 return false;
80 79
81 if (!device::android::RegisterPowerSaveBlockerJni(env))
82 return false;
83
84 if (!device::android::RegisterUsbJni(env)) 80 if (!device::android::RegisterUsbJni(env))
85 return false; 81 return false;
86 82
87 if (!media::RegisterJni(env)) 83 if (!media::RegisterJni(env))
88 return false; 84 return false;
89 85
90 if (!media::RegisterCaptureJni(env)) 86 if (!media::RegisterCaptureJni(env))
91 return false; 87 return false;
92 88
93 if (!media::midi::RegisterJni(env)) 89 if (!media::midi::RegisterJni(env))
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 false, // Thread ID 140 false, // Thread ID
145 false, // Timestamp 141 false, // Timestamp
146 false); // Tick count 142 false); // Tick count
147 VLOG(0) << "Chromium logging enabled: level = " << logging::GetMinLogLevel() 143 VLOG(0) << "Chromium logging enabled: level = " << logging::GetMinLogLevel()
148 << ", default verbosity = " << logging::GetVlogVerbosity(); 144 << ", default verbosity = " << logging::GetVlogVerbosity();
149 145
150 return true; 146 return true;
151 } 147 }
152 148
153 } // namespace content 149 } // namespace content
OLDNEW
« no previous file with comments | « content/app/DEPS ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698