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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.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: content/browser/renderer_host/render_widget_host_impl.h
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index dd6b845d406965a4eecaa54d2f1582d6aa7d057a..df3c02c78bb0836707e0c97bbb97520e91277458 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -56,7 +56,7 @@
#include "ui/latency/latency_info.h"
#if defined(OS_MACOSX)
-#include "device/wake_lock/public/interfaces/wake_lock_service.mojom.h"
+#include "device/wake_lock/public/interfaces/wake_lock.mojom.h"
#endif
class SkBitmap;
@@ -763,7 +763,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl
virtual void ProcessSwapMessages(std::vector<IPC::Message> messages);
#if defined(OS_MACOSX)
- device::mojom::WakeLockService* GetWakeLockService();
+ device::mojom::WakeLock* GetWakeLockService();
#endif
// true if a renderer has once been valid. We use this flag to display a sad
@@ -963,7 +963,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl
uint32_t last_received_content_source_id_ = 0;
#if defined(OS_MACOSX)
- device::mojom::WakeLockServicePtr wake_lock_;
+ device::mojom::WakeLockPtr wake_lock_;
#endif
// These information are used to verify that the renderer does not misbehave

Powered by Google App Engine
This is Rietveld 408576698