| Index: third_party/WebKit/Source/modules/geofencing/GeofencingError.cpp
|
| diff --git a/third_party/WebKit/Source/modules/geofencing/GeofencingError.cpp b/third_party/WebKit/Source/modules/geofencing/GeofencingError.cpp
|
| deleted file mode 100644
|
| index 3be02211e6078825ba3893e485533f5415d4c411..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/Source/modules/geofencing/GeofencingError.cpp
|
| +++ /dev/null
|
| @@ -1,24 +0,0 @@
|
| -// 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 "modules/geofencing/GeofencingError.h"
|
| -
|
| -#include "core/dom/DOMException.h"
|
| -#include "core/dom/ExceptionCode.h"
|
| -
|
| -namespace blink {
|
| -
|
| -DOMException* GeofencingError::take(ScriptPromiseResolver*, const WebGeofencingError& webError)
|
| -{
|
| - switch (webError.errorType) {
|
| - case WebGeofencingError::ErrorTypeAbort:
|
| - return DOMException::create(AbortError, webError.message);
|
| - case WebGeofencingError::ErrorTypeUnknown:
|
| - return DOMException::create(UnknownError, webError.message);
|
| - }
|
| - ASSERT_NOT_REACHED();
|
| - return DOMException::create(UnknownError);
|
| -}
|
| -
|
| -} // namespace blink
|
|
|