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

Unified Diff: services/device/device_service.h

Issue 2801173004: Add '.mojom' suffix for battery mojom modules. (Closed)
Patch Set: Rebase only Created 3 years, 8 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: services/device/device_service.h
diff --git a/services/device/device_service.h b/services/device/device_service.h
index 4291e7f25668253853457e105cb96eda214d563e..5b66d3e48e3e308dab30e69bdf84cfd81ce9227b 100644
--- a/services/device/device_service.h
+++ b/services/device/device_service.h
@@ -53,7 +53,7 @@ class DeviceService
mojom::OrientationAbsoluteSensor>,
#if !defined(OS_ANDROID)
// On Android the Device Service provides BatteryMonitor via Java.
- public service_manager::InterfaceFactory<BatteryMonitor>,
+ public service_manager::InterfaceFactory<mojom::BatteryMonitor>,
// On Android the Device Service provides VibrationManager via Java.
public service_manager::InterfaceFactory<mojom::VibrationManager>,
#endif
@@ -101,9 +101,9 @@ class DeviceService
mojom::OrientationAbsoluteSensorRequest request) override;
#if !defined(OS_ANDROID)
- // InterfaceFactory<BatteryMonitor>:
+ // InterfaceFactory<mojom::BatteryMonitor>:
void Create(const service_manager::Identity& remote_identity,
- BatteryMonitorRequest request) override;
+ mojom::BatteryMonitorRequest request) override;
// InterfaceFactory<mojom::VibrationManager>:
void Create(const service_manager::Identity& remote_identity,
mojom::VibrationManagerRequest request) override;

Powered by Google App Engine
This is Rietveld 408576698