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

Unified Diff: content/browser/webrtc/webrtc_internals.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/webrtc/webrtc_internals.h
diff --git a/content/browser/webrtc/webrtc_internals.h b/content/browser/webrtc/webrtc_internals.h
index c6dbb32142722aa82d0b3195f804dfe3a84677b8..411a0deb43d528390dd7aab6a7c14a431068d498 100644
--- a/content/browser/webrtc/webrtc_internals.h
+++ b/content/browser/webrtc/webrtc_internals.h
@@ -19,7 +19,7 @@
#include "base/values.h"
#include "content/common/content_export.h"
#include "content/public/browser/render_process_host_observer.h"
-#include "device/wake_lock/public/interfaces/wake_lock_service.mojom.h"
+#include "device/wake_lock/public/interfaces/wake_lock.mojom.h"
#include "media/media_features.h"
#include "ui/shell_dialogs/select_file_dialog.h"
@@ -118,7 +118,7 @@ class CONTENT_EXPORT WebRTCInternals : public RenderProcessHostObserver,
WebRTCInternals(int aggregate_updates_ms, bool should_block_power_saving);
~WebRTCInternals() override;
- device::mojom::WakeLockServicePtr wake_lock_service_;
+ device::mojom::WakeLockPtr wake_lock_service_;
private:
friend struct base::LazyInstanceTraitsBase<WebRTCInternals>;
@@ -167,7 +167,7 @@ class CONTENT_EXPORT WebRTCInternals : public RenderProcessHostObserver,
// saving.
void UpdateWakeLock();
- device::mojom::WakeLockService* GetWakeLockService();
+ device::mojom::WakeLock* GetWakeLockService();
blundell 2017/06/05 11:48:11 nit: GetWakeLock()
juncai 2017/06/05 18:58:25 Done.
// Called on a timer to deliver updates to javascript.
// We throttle and bulk together updates to avoid DOS like scenarios where

Powered by Google App Engine
This is Rietveld 408576698