| Index: Source/modules/geofencing/GeofencingError.h
|
| diff --git a/Source/modules/push_messaging/PushError.h b/Source/modules/geofencing/GeofencingError.h
|
| similarity index 64%
|
| copy from Source/modules/push_messaging/PushError.h
|
| copy to Source/modules/geofencing/GeofencingError.h
|
| index 78aed14cf3dc0c6b5f6f88320b6d6e3bc12efb9d..7368d3e8ce52bbd19f0b2ced7beeafb3ef2de3ec 100644
|
| --- a/Source/modules/push_messaging/PushError.h
|
| +++ b/Source/modules/geofencing/GeofencingError.h
|
| @@ -2,29 +2,29 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef PushError_h
|
| -#define PushError_h
|
| +#ifndef GeofencingError_h
|
| +#define GeofencingError_h
|
|
|
| #include "core/dom/DOMException.h"
|
| #include "platform/heap/Handle.h"
|
| -#include "public/platform/WebPushError.h"
|
| +#include "public/platform/WebGeofencingError.h"
|
|
|
| namespace blink {
|
|
|
| class ScriptPromiseResolver;
|
|
|
| -class PushError {
|
| - WTF_MAKE_NONCOPYABLE(PushError);
|
| +class GeofencingError {
|
| + WTF_MAKE_NONCOPYABLE(GeofencingError);
|
| public:
|
| // For CallbackPromiseAdapter.
|
| - typedef WebPushError WebType;
|
| + typedef blink::WebGeofencingError WebType;
|
| static PassRefPtrWillBeRawPtr<DOMException> take(ScriptPromiseResolver*, WebType* webErrorRaw);
|
| static void dispose(WebType* webErrorRaw);
|
|
|
| private:
|
| - PushError() WTF_DELETED_FUNCTION;
|
| + GeofencingError() WTF_DELETED_FUNCTION;
|
| };
|
|
|
| } // namespace blink
|
|
|
| -#endif // PushError_h
|
| +#endif // GeofencingError_h
|
|
|