Index: device/power_save_blocker/power_save_blocker_win.cc |
diff --git a/content/browser/power_save_blocker_win.cc b/device/power_save_blocker/power_save_blocker_win.cc |
similarity index 97% |
rename from content/browser/power_save_blocker_win.cc |
rename to device/power_save_blocker/power_save_blocker_win.cc |
index e9650a5cc1f634eb827387d6828e81444e0c5fcb..8464c21015151f491e9eaef541368082e2837ba8 100644 |
--- a/content/browser/power_save_blocker_win.cc |
+++ b/device/power_save_blocker/power_save_blocker_win.cc |
@@ -10,9 +10,9 @@ |
#include "base/strings/utf_string_conversions.h" |
#include "base/win/scoped_handle.h" |
#include "base/win/windows_version.h" |
-#include "content/browser/power_save_blocker_impl.h" |
+#include "device/power_save_blocker/power_save_blocker_impl.h" |
-namespace content { |
+namespace device { |
namespace { |
int g_blocker_count[2]; |
@@ -57,8 +57,7 @@ void DeletePowerRequest(POWER_REQUEST_TYPE type, HANDLE handle) { |
DCHECK(success); |
} |
-void ApplySimpleBlock(PowerSaveBlocker::PowerSaveBlockerType type, |
- int delta) { |
+void ApplySimpleBlock(PowerSaveBlocker::PowerSaveBlockerType type, int delta) { |
g_blocker_count[type] += delta; |
DCHECK_GE(g_blocker_count[type], 0); |
@@ -157,4 +156,4 @@ PowerSaveBlockerImpl::~PowerSaveBlockerImpl() { |
base::Bind(&Delegate::RemoveBlock, delegate_)); |
} |
-} // namespace content |
+} // namespace device |