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

Side by Side Diff: third_party/WebKit/Source/modules/battery/BatteryManager.cpp

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "modules/battery/BatteryManager.h" 5 #include "modules/battery/BatteryManager.h"
6 6
7 #include "core/dom/DOMException.h" 7 #include "core/dom/DOMException.h"
8 #include "core/dom/Document.h" 8 #include "core/dom/Document.h"
9 #include "core/events/Event.h" 9 #include "core/events/Event.h"
10 #include "modules/battery/BatteryDispatcher.h" 10 #include "modules/battery/BatteryDispatcher.h"
11 #include "wtf/Assertions.h" 11 #include "platform/wtf/Assertions.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 BatteryManager* BatteryManager::Create(ExecutionContext* context) { 15 BatteryManager* BatteryManager::Create(ExecutionContext* context) {
16 BatteryManager* battery_manager = new BatteryManager(context); 16 BatteryManager* battery_manager = new BatteryManager(context);
17 battery_manager->SuspendIfNeeded(); 17 battery_manager->SuspendIfNeeded();
18 return battery_manager; 18 return battery_manager;
19 } 19 }
20 20
21 BatteryManager::~BatteryManager() {} 21 BatteryManager::~BatteryManager() {}
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 } 118 }
119 119
120 DEFINE_TRACE(BatteryManager) { 120 DEFINE_TRACE(BatteryManager) {
121 visitor->Trace(battery_property_); 121 visitor->Trace(battery_property_);
122 PlatformEventController::Trace(visitor); 122 PlatformEventController::Trace(visitor);
123 EventTargetWithInlineData::Trace(visitor); 123 EventTargetWithInlineData::Trace(visitor);
124 SuspendableObject::Trace(visitor); 124 SuspendableObject::Trace(visitor);
125 } 125 }
126 126
127 } // namespace blink 127 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698