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

Unified Diff: device/wake_lock/wake_lock_provider.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 | « device/wake_lock/wake_lock_for_testing.cc ('k') | device/wake_lock/wake_lock_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/wake_lock/wake_lock_provider.h
diff --git a/device/wake_lock/wake_lock_provider.h b/device/wake_lock/wake_lock_provider.h
index b3bc9c0321dc31f8f96e29e98789db4b5bfa3009..297c0ee7858903f0bf0479af486ffc36082dd959 100644
--- a/device/wake_lock/wake_lock_provider.h
+++ b/device/wake_lock/wake_lock_provider.h
@@ -9,7 +9,7 @@
#include "base/single_thread_task_runner.h"
#include "device/wake_lock/public/interfaces/wake_lock_context.mojom.h"
#include "device/wake_lock/public/interfaces/wake_lock_provider.mojom.h"
-#include "device/wake_lock/wake_lock_service_context.h"
+#include "device/wake_lock/wake_lock_context.h"
#include "mojo/public/cpp/bindings/interface_request.h"
#include "ui/gfx/native_widget_types.h"
@@ -32,13 +32,12 @@ class WakeLockProvider : public mojom::WakeLockProvider {
int context_id,
mojo::InterfaceRequest<mojom::WakeLockContext> request) override;
- void GetWakeLockWithoutContext(
- mojom::WakeLockType type,
- mojom::WakeLockReason reason,
- const std::string& description,
- mojom::WakeLockServiceRequest request) override;
+ void GetWakeLockWithoutContext(mojom::WakeLockType type,
+ mojom::WakeLockReason reason,
+ const std::string& description,
+ mojom::WakeLockRequest request) override;
- static bool is_in_service_unittest_;
+ static bool is_in_unittest_;
private:
scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_;
« no previous file with comments | « device/wake_lock/wake_lock_for_testing.cc ('k') | device/wake_lock/wake_lock_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698