| Index: Source/modules/geolocation/GeofencingError.h
|
| diff --git a/Source/modules/push_messaging/PushError.h b/Source/modules/geolocation/GeofencingError.h
|
| similarity index 62%
|
| copy from Source/modules/push_messaging/PushError.h
|
| copy to Source/modules/geolocation/GeofencingError.h
|
| index a340945f95979faa76192d1204e714c3a0b28077..372bbdf2d0b39c8c553440ba0efb5787c0755be4 100644
|
| --- a/Source/modules/push_messaging/PushError.h
|
| +++ b/Source/modules/geolocation/GeofencingError.h
|
| @@ -2,28 +2,28 @@
|
| // 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 WebCore {
|
|
|
| class ScriptPromiseResolver;
|
|
|
| -class PushError {
|
| - WTF_MAKE_NONCOPYABLE(PushError);
|
| +class GeofencingError {
|
| + WTF_MAKE_NONCOPYABLE(GeofencingError);
|
| public:
|
| // For CallbackPromiseAdapter.
|
| - typedef blink::WebPushError WebType;
|
| + typedef blink::WebGeofencingError WebType;
|
| static PassRefPtrWillBeRawPtr<DOMException> from(ScriptPromiseResolver*, WebType* webErrorRaw);
|
|
|
| private:
|
| - PushError() WTF_DELETED_FUNCTION;
|
| + GeofencingError() WTF_DELETED_FUNCTION;
|
| };
|
|
|
| } // namespace WebCore
|
|
|
| -#endif // PushError_h
|
| +#endif // GeofencingError_h
|
|
|