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

Unified Diff: content/browser/loader/wake_lock_resource_throttle.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/loader/wake_lock_resource_throttle.h
diff --git a/content/browser/loader/wake_lock_resource_throttle.h b/content/browser/loader/wake_lock_resource_throttle.h
index 1bef48cfe39b23691482ca25eae1ea956ef2bdd6..5caf2a277461457401f2c8d9099345e978661fd4 100644
--- a/content/browser/loader/wake_lock_resource_throttle.h
+++ b/content/browser/loader/wake_lock_resource_throttle.h
@@ -12,7 +12,7 @@
#include "base/macros.h"
#include "base/timer/timer.h"
#include "content/public/browser/resource_throttle.h"
-#include "device/wake_lock/public/interfaces/wake_lock_service.mojom.h"
+#include "device/wake_lock/public/interfaces/wake_lock.mojom.h"
namespace content {
@@ -34,9 +34,9 @@ class WakeLockResourceThrottle : public ResourceThrottle {
base::OneShotTimer timer_;
// Destruction of wake_lock_ will trigger
- // WakeLockServicImpl::OnConnectionError on the service side, so there is no
+ // WakeLock::OnConnectionError on the service side, so there is no
// need to call CancelWakeLock() in the destructor.
- device::mojom::WakeLockServicePtr wake_lock_;
+ device::mojom::WakeLockPtr wake_lock_;
DISALLOW_COPY_AND_ASSIGN(WakeLockResourceThrottle);
};
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/media/capture/aura_window_capture_machine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698