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

Unified Diff: third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.h

Issue 2921823002: Rationalize WakeLock naming conventions (Closed)
Patch Set: fix Mac compile error Created 3 years, 7 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: third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.h
diff --git a/third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.h b/third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.h
index b9a6124127b03a20ac7f8dfee511920df2fdceb9..5f8026a1398b51fb4066202b3f62150ff4c77179 100644
--- a/third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.h
+++ b/third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.h
@@ -8,7 +8,7 @@
#include "core/dom/ContextLifecycleObserver.h"
#include "core/frame/LocalFrame.h"
#include "core/page/PageVisibilityObserver.h"
-#include "device/wake_lock/public/interfaces/wake_lock_service.mojom-blink.h"
+#include "device/wake_lock/public/interfaces/wake_lock.mojom-blink.h"
#include "modules/ModulesExport.h"
#include "platform/wtf/Noncopyable.h"
@@ -51,7 +51,7 @@ class MODULES_EXPORT ScreenWakeLock final
static ScreenWakeLock* FromScreen(Screen&);
void NotifyService();
- device::mojom::blink::WakeLockServicePtr service_;
+ device::mojom::blink::WakeLockPtr service_;
bool keep_awake_;
};

Powered by Google App Engine
This is Rietveld 408576698