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

Unified Diff: device/wake_lock/wake_lock_service_impl.h

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_context_unittest.cc ('k') | device/wake_lock/wake_lock_service_impl.cc » ('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.h
diff --git a/content/browser/wake_lock/wake_lock_service_impl.h b/device/wake_lock/wake_lock_service_impl.h
similarity index 64%
rename from content/browser/wake_lock/wake_lock_service_impl.h
rename to device/wake_lock/wake_lock_service_impl.h
index 495e2c04a4c01ae1148f0ae6ad717852db7c121b..87a9b004b163fa5e7517c66c7eb38d394bb7891b 100644
--- a/content/browser/wake_lock/wake_lock_service_impl.h
+++ b/device/wake_lock/wake_lock_service_impl.h
@@ -2,19 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_WAKE_LOCK_WAKE_LOCK_SERVICE_IMPL_H_
-#define CONTENT_BROWSER_WAKE_LOCK_WAKE_LOCK_SERVICE_IMPL_H_
+#ifndef DEVICE_WAKE_LOCK_WAKE_LOCK_SERVICE_IMPL_H_
+#define DEVICE_WAKE_LOCK_WAKE_LOCK_SERVICE_IMPL_H_
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
+#include "device/wake_lock/public/interfaces/wake_lock_service.mojom.h"
#include "mojo/public/cpp/bindings/interface_request.h"
-#include "third_party/WebKit/public/platform/modules/wake_lock/wake_lock_service.mojom.h"
-namespace content {
+namespace device {
class WakeLockServiceContext;
-class WakeLockServiceImpl : public blink::mojom::WakeLockService {
+class WakeLockServiceImpl : public mojom::WakeLockService {
public:
explicit WakeLockServiceImpl(base::WeakPtr<WakeLockServiceContext> context);
~WakeLockServiceImpl() override;
@@ -30,6 +30,6 @@ class WakeLockServiceImpl : public blink::mojom::WakeLockService {
DISALLOW_COPY_AND_ASSIGN(WakeLockServiceImpl);
};
-} // namespace content
+} // namespace device
-#endif // CONTENT_BROWSER_WAKE_LOCK_WAKE_LOCK_SERVICE_IMPL_H_
+#endif // DEVICE_WAKE_LOCK_WAKE_LOCK_SERVICE_IMPL_H_
« no previous file with comments | « device/wake_lock/wake_lock_service_context_unittest.cc ('k') | device/wake_lock/wake_lock_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698