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

Side by Side Diff: third_party/WebKit/Source/modules/sensor/SensorProxy.h

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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef SensorProxy_h 5 #ifndef SensorProxy_h
6 #define SensorProxy_h 6 #define SensorProxy_h
7 7
8 #include "core/dom/ExceptionCode.h" 8 #include "core/dom/ExceptionCode.h"
9 #include "core/page/PageVisibilityObserver.h" 9 #include "core/page/PageVisibilityObserver.h"
10 #include "device/generic_sensor/public/cpp/sensor_reading.h" 10 #include "device/generic_sensor/public/cpp/sensor_reading.h"
11 #include "device/generic_sensor/public/interfaces/sensor.mojom-blink.h" 11 #include "device/generic_sensor/public/interfaces/sensor.mojom-blink.h"
12 #include "device/generic_sensor/public/interfaces/sensor_provider.mojom-blink.h" 12 #include "device/generic_sensor/public/interfaces/sensor_provider.mojom-blink.h"
13 #include "mojo/public/cpp/bindings/binding.h" 13 #include "mojo/public/cpp/bindings/binding.h"
14 #include "platform/Supplementable.h" 14 #include "platform/Supplementable.h"
15 #include "platform/heap/Handle.h" 15 #include "platform/heap/Handle.h"
16 #include "wtf/Vector.h" 16 #include "platform/wtf/Vector.h"
17 17
18 namespace blink { 18 namespace blink {
19 19
20 class SensorProviderProxy; 20 class SensorProviderProxy;
21 class SensorReading; 21 class SensorReading;
22 class SensorReadingUpdater; 22 class SensorReadingUpdater;
23 23
24 // This class wraps 'Sensor' mojo interface and used by multiple 24 // This class wraps 'Sensor' mojo interface and used by multiple
25 // JS sensor instances of the same type (within a single frame). 25 // JS sensor instances of the same type (within a single frame).
26 class SensorProxy final : public GarbageCollectedFinalized<SensorProxy>, 26 class SensorProxy final : public GarbageCollectedFinalized<SensorProxy>,
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 using ReadingBuffer = device::SensorReadingSharedBuffer; 156 using ReadingBuffer = device::SensorReadingSharedBuffer;
157 static_assert( 157 static_assert(
158 sizeof(ReadingBuffer) == 158 sizeof(ReadingBuffer) ==
159 device::mojom::blink::SensorInitParams::kReadBufferSizeForTests, 159 device::mojom::blink::SensorInitParams::kReadBufferSizeForTests,
160 "Check reading buffer size for tests"); 160 "Check reading buffer size for tests");
161 }; 161 };
162 162
163 } // namespace blink 163 } // namespace blink
164 164
165 #endif // SensorProxy_h 165 #endif // SensorProxy_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698