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

Unified Diff: content/browser/webrtc/webrtc_internals.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 | « content/browser/web_contents/web_contents_impl.cc ('k') | content/browser/webrtc/webrtc_internals.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..7fee34635287445ba76522cedee3514b35a3e388 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_;
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* GetWakeLock();
// Called on a timer to deliver updates to javascript.
// We throttle and bulk together updates to avoid DOS like scenarios where
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/browser/webrtc/webrtc_internals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698