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

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

Issue 2921823002: Rationalize WakeLock naming conventions (Closed)
Patch Set: rebase Created 3 years, 6 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_;
};
« no previous file with comments | « services/device/wake_lock/wake_lock_unittest.cc ('k') | third_party/WebKit/Source/web/tests/ScreenWakeLockTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698