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

Unified Diff: content/browser/download/download_request_core.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/download/download_request_core.h
diff --git a/content/browser/download/download_request_core.h b/content/browser/download/download_request_core.h
index e2a9f802443e7d44c5b38b15dd654eceadd7ee4d..36bfb8d094bce7149235c9c6343d5d789a3228a4 100644
--- a/content/browser/download/download_request_core.h
+++ b/content/browser/download/download_request_core.h
@@ -18,7 +18,7 @@
#include "content/public/browser/download_interrupt_reasons.h"
#include "content/public/browser/download_save_info.h"
#include "content/public/browser/download_url_parameters.h"
-#include "device/wake_lock/public/interfaces/wake_lock_service.mojom.h"
+#include "device/wake_lock/public/interfaces/wake_lock.mojom.h"
#include "net/traffic_annotation/network_traffic_annotation.h"
namespace net {
@@ -148,7 +148,7 @@ class CONTENT_EXPORT DownloadRequestCore
// Used to keep the system from sleeping while a download is ongoing. If the
// system enters power saving mode while a URLRequest is alive, it can cause
// URLRequest to fail and the associated download will be interrupted.
- device::mojom::WakeLockServicePtr wake_lock_;
+ device::mojom::WakeLockPtr wake_lock_;
// The following are used to collect stats.
base::TimeTicks download_start_time_;
« no previous file with comments | « content/browser/devtools/render_frame_devtools_agent_host.cc ('k') | content/browser/frame_host/render_frame_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698