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

Unified Diff: device/power_save_blocker/power_save_blocker_jni_registrar.cc

Issue 2075153002: Reland of 'Move content/browser/power_save_blocker to //device/power_save_blocker' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing libs for component mac 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 side-by-side diff with in-line comments
Download patch
Index: device/power_save_blocker/power_save_blocker_jni_registrar.cc
diff --git a/device/vr/android/vr_jni_registrar.cc b/device/power_save_blocker/power_save_blocker_jni_registrar.cc
similarity index 70%
copy from device/vr/android/vr_jni_registrar.cc
copy to device/power_save_blocker/power_save_blocker_jni_registrar.cc
index b66a49248138c2e9191e377b11673570f07e30a9..11afbe9b3bc7cd32d1773fa80db49a8cc24a3b87 100644
--- a/device/vr/android/vr_jni_registrar.cc
+++ b/device/power_save_blocker/power_save_blocker_jni_registrar.cc
@@ -2,24 +2,24 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "device/vr/android/vr_jni_registrar.h"
+#include "device/power_save_blocker/power_save_blocker_jni_registrar.h"
#include "base/android/jni_android.h"
#include "base/android/jni_registrar.h"
#include "base/macros.h"
-#include "device/vr/android/cardboard/cardboard_vr_device.h"
+#include "device/power_save_blocker/power_save_blocker_android.h"
namespace device {
namespace android {
namespace {
const base::android::RegistrationMethod kRegisteredMethods[] = {
- {"CardboardVRDevice", device::CardboardVRDevice::RegisterJNI},
+ {"PowerSaveBlock", device::RegisterPowerSaveBlocker},
};
} // namespace
-bool RegisterVRJni(JNIEnv* env) {
+bool RegisterPowerSaveBlockerJni(JNIEnv* env) {
return RegisterNativeMethods(env, kRegisteredMethods,
arraysize(kRegisteredMethods));
}
« no previous file with comments | « device/power_save_blocker/power_save_blocker_jni_registrar.h ('k') | device/power_save_blocker/power_save_blocker_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698