| 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..e4f4c4b3871934f22e1cb5466d9128483522d0e6
|
| --- /dev/null
|
| +++ b/Source/modules/geofencing/Geofencing.cpp
|
| @@ -0,0 +1,38 @@
|
| +// 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);
|
| +}
|
| +
|
| +Geofencing::~Geofencing()
|
| +{
|
| +}
|
| +
|
| +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
|
|
|