Chromium Code Reviews| Index: Source/modules/geofencing/Geofencing.h |
| diff --git a/Source/modules/geofencing/Geofencing.h b/Source/modules/geofencing/Geofencing.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6a5c1017389a26fdcfc4c9eb2d7db2bf68ca7767 |
| --- /dev/null |
| +++ b/Source/modules/geofencing/Geofencing.h |
| @@ -0,0 +1,39 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef Geofencing_h |
| +#define Geofencing_h |
| + |
| +#include "bindings/core/v8/ScriptWrappable.h" |
| +#include "platform/heap/Handle.h" |
| +#include "wtf/text/WTFString.h" |
| + |
| +namespace blink { |
| + |
| +class ExecutionContext; |
| +class GeofencingRegion; |
| +class ScriptPromise; |
| +class ScriptState; |
| + |
| +class Geofencing FINAL : public GarbageCollectedFinalized<Geofencing>, public ScriptWrappable { |
| +public: |
| + static Geofencing* create() |
| + { |
| + return new Geofencing(); |
| + } |
| + virtual ~Geofencing(); |
| + |
| + ScriptPromise registerRegion(ScriptState*, GeofencingRegion*); |
| + ScriptPromise unregisterRegion(ScriptState*, const String& regionId); |
| + ScriptPromise getRegisteredRegions(ScriptState*) const; |
| + |
| + void trace(Visitor*) { } |
|
Peter Beverloo
2014/07/25 09:22:19
+virtual
Marijn Kruisselbrink
2014/07/30 23:40:54
Done.
|
| + |
| +private: |
| + Geofencing(); |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // Geofencing_h |