Index: device/power_save_blocker/power_save_blocker_android.cc |
diff --git a/content/browser/power_save_blocker_android.cc b/device/power_save_blocker/power_save_blocker_android.cc |
similarity index 95% |
rename from content/browser/power_save_blocker_android.cc |
rename to device/power_save_blocker/power_save_blocker_android.cc |
index 6b46bc3dd8d79fa9d389285f4e0988d6764cfc92..534ed5d4cb8843a35106bc2176467b9e5de0e157 100644 |
--- a/content/browser/power_save_blocker_android.cc |
+++ b/device/power_save_blocker/power_save_blocker_android.cc |
@@ -7,11 +7,11 @@ |
#include "base/location.h" |
#include "base/logging.h" |
#include "base/macros.h" |
-#include "content/browser/power_save_blocker_impl.h" |
+#include "device/power_save_blocker/power_save_blocker_impl.h" |
#include "jni/PowerSaveBlocker_jni.h" |
#include "ui/android/view_android.h" |
-namespace content { |
+namespace device { |
using base::android::AttachCurrentThread; |
@@ -46,8 +46,7 @@ PowerSaveBlockerImpl::Delegate::Delegate( |
java_power_save_blocker_.Reset(Java_PowerSaveBlocker_create(env)); |
} |
-PowerSaveBlockerImpl::Delegate::~Delegate() { |
-} |
+PowerSaveBlockerImpl::Delegate::~Delegate() {} |
void PowerSaveBlockerImpl::Delegate::ApplyBlock() { |
DCHECK(ui_task_runner_->RunsTasksOnCurrentThread()); |
@@ -102,4 +101,4 @@ bool RegisterPowerSaveBlocker(JNIEnv* env) { |
return RegisterNativesImpl(env); |
} |
-} // namespace content |
+} // namespace device |