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

Unified Diff: device/wake_lock/wake_lock_service_impl.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
« no previous file with comments | « device/wake_lock/wake_lock_service_impl.h ('k') | third_party/WebKit/Source/modules/wake_lock/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/wake_lock/wake_lock_service_impl.cc
diff --git a/content/browser/wake_lock/wake_lock_service_impl.cc b/device/wake_lock/wake_lock_service_impl.cc
similarity index 82%
rename from content/browser/wake_lock/wake_lock_service_impl.cc
rename to device/wake_lock/wake_lock_service_impl.cc
index 6e0d159f631129bcfac9eb61e55cff994585b5ce..34bcca251d4815be1162b28302ced742dc0ef882 100644
--- a/content/browser/wake_lock/wake_lock_service_impl.cc
+++ b/device/wake_lock/wake_lock_service_impl.cc
@@ -2,13 +2,13 @@
// 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_impl.h"
+#include "device/wake_lock/wake_lock_service_impl.h"
#include <utility>
-#include "content/browser/wake_lock/wake_lock_service_context.h"
+#include "device/wake_lock/wake_lock_service_context.h"
-namespace content {
+namespace device {
WakeLockServiceImpl::WakeLockServiceImpl(
base::WeakPtr<WakeLockServiceContext> context)
@@ -34,4 +34,4 @@ void WakeLockServiceImpl::CancelWakeLock() {
context_->CancelWakeLock();
}
-} // namespace content
+} // namespace device
« no previous file with comments | « device/wake_lock/wake_lock_service_impl.h ('k') | third_party/WebKit/Source/modules/wake_lock/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698