| Index: public/platform/WebServiceWorkerError.h
|
| diff --git a/public/platform/WebServiceWorkerError.h b/public/platform/WebServiceWorkerError.h
|
| index dc7590de369f17cebbf0781a19d23529f69109e6..a2b0fa8a903f492cf21ff15d56baa905585d5548 100644
|
| --- a/public/platform/WebServiceWorkerError.h
|
| +++ b/public/platform/WebServiceWorkerError.h
|
| @@ -28,35 +28,4 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef WebServiceWorkerError_h
|
| -#define WebServiceWorkerError_h
|
| -
|
| -#include "WebString.h"
|
| -
|
| -namespace blink {
|
| -
|
| -struct WebServiceWorkerError {
|
| - enum ErrorType {
|
| - ErrorTypeAbort = 0,
|
| - ErrorTypeActivate,
|
| - ErrorTypeDisabled,
|
| - ErrorTypeInstall,
|
| - ErrorTypeNetwork,
|
| - ErrorTypeNotFound,
|
| - ErrorTypeSecurity,
|
| - ErrorTypeState,
|
| - ErrorTypeTimeout,
|
| - ErrorTypeUnknown,
|
| - ErrorTypeLast = ErrorTypeUnknown
|
| - };
|
| -
|
| - WebServiceWorkerError(ErrorType errorType, const WebString& message)
|
| - : errorType(errorType), message(message) { }
|
| -
|
| - ErrorType errorType;
|
| - WebString message;
|
| -};
|
| -
|
| -} // namespace blink
|
| -
|
| -#endif
|
| +#include "public/platform/modules/serviceworker/WebServiceWorkerError.h"
|
|
|