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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.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: 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..60affdc8f223f8a03ffd33c9c08e6b7eb0495770 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* GetWakeLock();
#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
« no previous file with comments | « content/browser/media/media_web_contents_observer.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698