Index: Source/modules/geofencing/Geofencing.cpp |
diff --git a/Source/modules/geofencing/Geofencing.cpp b/Source/modules/geofencing/Geofencing.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..59d8b975755550e0b2f48b7a08e7fda81d16acc8 |
--- /dev/null |
+++ b/Source/modules/geofencing/Geofencing.cpp |
@@ -0,0 +1,34 @@ |
+// 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. |
+ |
+#include "config.h" |
+#include "modules/geofencing/Geofencing.h" |
+ |
+#include "bindings/core/v8/ScriptPromise.h" |
+#include "core/dom/DOMException.h" |
+#include "core/dom/ExceptionCode.h" |
+ |
+namespace blink { |
+ |
+Geofencing::Geofencing() |
+{ |
+ ScriptWrappable::init(this); |
+} |
+ |
+ScriptPromise Geofencing::registerRegion(ScriptState* scriptState, GeofencingRegion* region) |
+{ |
+ return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(NotSupportedError)); |
+} |
+ |
+ScriptPromise Geofencing::unregisterRegion(ScriptState* scriptState, const String& regionId) |
+{ |
+ return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(NotSupportedError)); |
+} |
+ |
+ScriptPromise Geofencing::getRegisteredRegions(ScriptState* scriptState) const |
+{ |
+ return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(NotSupportedError)); |
+} |
+ |
+} // namespace blink |