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

Unified Diff: third_party/WebKit/Source/modules/battery/BatteryDispatcher.h

Issue 1963973002: Makes BatteryDispatcher use the blink style mojo bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: third_party/WebKit/Source/modules/battery/BatteryDispatcher.h
diff --git a/third_party/WebKit/Source/modules/battery/BatteryDispatcher.h b/third_party/WebKit/Source/modules/battery/BatteryDispatcher.h
index 5e7df9d15b9651d7feb02db9695c2160ab2f0815..134b4840b36699727b5484537da5018256276828 100644
--- a/third_party/WebKit/Source/modules/battery/BatteryDispatcher.h
+++ b/third_party/WebKit/Source/modules/battery/BatteryDispatcher.h
@@ -6,7 +6,7 @@
#define BatteryDispatcher_h
#include "core/frame/PlatformEventDispatcher.h"
-#include "device/battery/battery_monitor.mojom.h"
+#include "device/battery/battery_monitor.mojom-blink.h"
#include "modules/ModulesExport.h"
#include "modules/battery/BatteryManager.h"
#include "modules/battery/battery_status.h"
@@ -29,14 +29,14 @@ private:
BatteryDispatcher();
void queryNextStatus();
- void onDidChange(device::BatteryStatusPtr);
+ void onDidChange(device::blink::BatteryStatusPtr);
void updateBatteryStatus(const BatteryStatus&);
// Inherited from PlatformEventDispatcher.
void startListening() override;
void stopListening() override;
- device::BatteryMonitorPtr m_monitor;
+ device::blink::BatteryMonitorPtr m_monitor;
BatteryStatus m_batteryStatus;
bool m_hasLatestData;
};
« no previous file with comments | « third_party/WebKit/Source/modules/BUILD.gn ('k') | third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698