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

Unified Diff: Source/modules/battery/BatteryDispatcher.cpp

Issue 464353002: Cleanup blink:: prefix usage in Source/core/modules/[battery/*.cpp to indexeddb/*.cpp] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 4 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 | « no previous file | Source/modules/device_light/DeviceLightDispatcher.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/battery/BatteryDispatcher.cpp
diff --git a/Source/modules/battery/BatteryDispatcher.cpp b/Source/modules/battery/BatteryDispatcher.cpp
index 29cef399b8422c94fc84d21e2a263040019f3810..f71d9c6f2c773866d946e807d80c29f4255e291b 100644
--- a/Source/modules/battery/BatteryDispatcher.cpp
+++ b/Source/modules/battery/BatteryDispatcher.cpp
@@ -25,7 +25,7 @@ BatteryDispatcher::~BatteryDispatcher()
{
}
-void BatteryDispatcher::updateBatteryStatus(const blink::WebBatteryStatus& batteryStatus)
+void BatteryDispatcher::updateBatteryStatus(const WebBatteryStatus& batteryStatus)
{
m_batteryStatus = BatteryStatus::create(batteryStatus.charging, batteryStatus.chargingTime, batteryStatus.dischargingTime, batteryStatus.level);
notifyControllers();
@@ -38,13 +38,13 @@ BatteryStatus* BatteryDispatcher::latestData()
void BatteryDispatcher::startListening()
{
- blink::Platform::current()->startListening(WebPlatformEventBattery, this);
+ Platform::current()->startListening(WebPlatformEventBattery, this);
}
void BatteryDispatcher::stopListening()
{
- blink::Platform::current()->stopListening(WebPlatformEventBattery);
+ Platform::current()->stopListening(WebPlatformEventBattery);
m_batteryStatus.clear();
}
-}
+} // namespace blink
« no previous file with comments | « no previous file | Source/modules/device_light/DeviceLightDispatcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698