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

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

Issue 1835873002: Removes BatteryDispatcherProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes export settings again. Created 4 years, 9 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/battery_status.h
diff --git a/third_party/WebKit/Source/platform/battery/battery_status.h b/third_party/WebKit/Source/modules/battery/battery_status.h
similarity index 88%
rename from third_party/WebKit/Source/platform/battery/battery_status.h
rename to third_party/WebKit/Source/modules/battery/battery_status.h
index 5ae6ed95909939636eaeda0f6624cc48aea4aa8f..853e29250902701906bdbe40ef700ade53e5e257 100644
--- a/third_party/WebKit/Source/platform/battery/battery_status.h
+++ b/third_party/WebKit/Source/modules/battery/battery_status.h
@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef BLINK_PLATFORM_BATTERY_BATTERY_STATUS_H_
-#define BLINK_PLATFORM_BATTERY_BATTERY_STATUS_H_
+#ifndef BLINK_MODULES_BATTERY_BATTERY_STATUS_H_
+#define BLINK_MODULES_BATTERY_BATTERY_STATUS_H_
-#include "platform/PlatformExport.h"
+#include "modules/ModulesExport.h"
#include "wtf/Assertions.h"
#include <cmath>
@@ -14,7 +14,7 @@
namespace blink {
// Simple struct to hold the battery status. This class is copyable.
-class PLATFORM_EXPORT BatteryStatus final {
+class MODULES_EXPORT BatteryStatus final {
public:
BatteryStatus()
: charging_(true),
@@ -57,4 +57,4 @@ class PLATFORM_EXPORT BatteryStatus final {
} // namespace blink
-#endif // BLINK_PLATFORM_BATTERY_BATTERY_STATUS_H_
+#endif // BLINK_MODULES_BATTERY_BATTERY_STATUS_H_
« no previous file with comments | « third_party/WebKit/Source/modules/battery/DEPS ('k') | third_party/WebKit/Source/modules/battery/testing/InternalsBattery.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698