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

Unified Diff: chrome/browser/media/cast_transport_host_filter.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
« no previous file with comments | « no previous file | chrome/browser/media/cast_transport_host_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/cast_transport_host_filter.h
diff --git a/chrome/browser/media/cast_transport_host_filter.h b/chrome/browser/media/cast_transport_host_filter.h
index 56dc3ff27cf58f3a8d55abc57cdb0e0f58dc3b29..6103ecd1fd8ebce3ad255baf93520a66f1b149b2 100644
--- a/chrome/browser/media/cast_transport_host_filter.h
+++ b/chrome/browser/media/cast_transport_host_filter.h
@@ -15,7 +15,7 @@
#include "base/time/default_tick_clock.h"
#include "chrome/browser/media/cast_remoting_sender.h"
#include "content/public/browser/browser_message_filter.h"
-#include "device/wake_lock/public/interfaces/wake_lock_service.mojom.h"
+#include "device/wake_lock/public/interfaces/wake_lock.mojom.h"
#include "media/cast/cast_sender.h"
#include "media/cast/logging/logging_defines.h"
#include "media/cast/net/cast_transport.h"
@@ -90,7 +90,7 @@ class CastTransportHostFilter : public content::BrowserMessageFilter {
int32_t channel_id,
const std::vector<media::cast::FrameEvent>& events);
- device::mojom::WakeLockService* GetWakeLockService();
+ device::mojom::WakeLock* GetWakeLock();
IDMap<std::unique_ptr<media::cast::CastTransport>> id_map_;
@@ -101,7 +101,7 @@ class CastTransportHostFilter : public content::BrowserMessageFilter {
// hold a wake lock. This prevents Chrome from being suspended while remoting
// content. If any wake lock is held upon destruction, it's implicitly
// canceled when this object is destroyed.
- device::mojom::WakeLockServicePtr wake_lock_;
+ device::mojom::WakeLockPtr wake_lock_;
// This map records all active remoting senders. It uses the unique RTP
// stream ID as the key.
« no previous file with comments | « no previous file | chrome/browser/media/cast_transport_host_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698