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

Unified Diff: device/wake_lock/wake_lock_service_context.cc

Issue 2389743002: Content Modularization Project: Move Wake Lock to //device (Closed)
Patch Set: Eliminate frame reference Created 4 years, 2 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/wake_lock/wake_lock_service_context.cc
diff --git a/content/browser/wake_lock/wake_lock_service_context.cc b/device/wake_lock/wake_lock_service_context.cc
similarity index 92%
rename from content/browser/wake_lock/wake_lock_service_context.cc
rename to device/wake_lock/wake_lock_service_context.cc
index 7603595259aa3fbfba6a9a213bb30ee87136e3d6..e6b8c5059e176ff1ee0b2b92a701684836ffb6ee 100644
--- a/content/browser/wake_lock/wake_lock_service_context.cc
+++ b/device/wake_lock/wake_lock_service_context.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/browser/wake_lock/wake_lock_service_context.h"
+#include "device/wake_lock/wake_lock_service_context.h"
#include <utility>
@@ -12,7 +12,7 @@
#include "device/power_save_blocker/power_save_blocker.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
-namespace content {
+namespace device {
WakeLockServiceContext::WakeLockServiceContext(
scoped_refptr<base::SingleThreadTaskRunner> file_task_runner,
@@ -26,7 +26,7 @@ WakeLockServiceContext::WakeLockServiceContext(
WakeLockServiceContext::~WakeLockServiceContext() {}
void WakeLockServiceContext::CreateService(
- mojo::InterfaceRequest<blink::mojom::WakeLockService> request) {
+ mojo::InterfaceRequest<mojom::WakeLockService> request) {
mojo::MakeStrongBinding(
base::MakeUnique<WakeLockServiceImpl>(weak_factory_.GetWeakPtr()),
std::move(request));
@@ -79,4 +79,4 @@ void WakeLockServiceContext::UpdateWakeLock() {
}
}
-} // namespace content
+} // namespace device
« no previous file with comments | « device/wake_lock/wake_lock_service_context.h ('k') | device/wake_lock/wake_lock_service_context_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698