Index: Source/modules/geolocation/GeofencingRegion.h |
diff --git a/Source/modules/geolocation/GeofencingRegion.h b/Source/modules/geolocation/GeofencingRegion.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6a0256ee8f88fb666deb74fde13a0d42473bca39 |
--- /dev/null |
+++ b/Source/modules/geolocation/GeofencingRegion.h |
@@ -0,0 +1,32 @@ |
+// 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 GeofencingRegion_h |
+#define GeofencingRegion_h |
+ |
+#include "bindings/core/v8/ScriptWrappable.h" |
+#include "platform/heap/Handle.h" |
+#include "wtf/text/WTFString.h" |
+ |
+namespace WebCore { |
+ |
+class GeofencingRegion : public GarbageCollectedFinalized<GeofencingRegion>, public ScriptWrappable { |
+ WTF_MAKE_NONCOPYABLE(GeofencingRegion); |
+public: |
+ virtual ~GeofencingRegion() { } |
+ |
+ String id() const { return m_id; } |
+ |
+ virtual void trace(Visitor*) { } |
+ |
+protected: |
+ GeofencingRegion(const String& id) : m_id(id) { } |
+ |
+private: |
+ String m_id; |
+}; |
+ |
+} // namespace WebCore |
+ |
+#endif |