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

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

Issue 1093103003: [cleanup, battery] Don't include unneeded headers. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix tim's comments 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
Index: third_party/WebKit/Source/modules/battery/NavigatorBattery.h
diff --git a/third_party/WebKit/Source/modules/battery/NavigatorBattery.h b/third_party/WebKit/Source/modules/battery/NavigatorBattery.h
index 0f9630d8f210dd2d4a663cc0cca90a448933b40d..7826e49a4cb2733ea58439e94c31aa484554ef03 100644
--- a/third_party/WebKit/Source/modules/battery/NavigatorBattery.h
+++ b/third_party/WebKit/Source/modules/battery/NavigatorBattery.h
@@ -5,8 +5,6 @@
#ifndef NavigatorBattery_h
#define NavigatorBattery_h
-#include "bindings/core/v8/ScriptPromise.h"
-#include "core/frame/Navigator.h"
#include "platform/Supplementable.h"
#include "platform/heap/Handle.h"
@@ -14,6 +12,8 @@ namespace blink {
class BatteryManager;
class Navigator;
+class ScriptPromise;
+class ScriptState;
class NavigatorBattery final : public GarbageCollected<NavigatorBattery>,
public Supplement<Navigator> {

Powered by Google App Engine
This is Rietveld 408576698