Index: public/platform/WebServiceWorkerError.h |
diff --git a/public/web/WebDOMProgressEvent.h b/public/platform/WebServiceWorkerError.h |
similarity index 82% |
copy from public/web/WebDOMProgressEvent.h |
copy to public/platform/WebServiceWorkerError.h |
index d8db15587695dfe4141eceb164456da9a03342a5..084510723bd4b23b875b65305903b824b87696ce 100644 |
--- a/public/web/WebDOMProgressEvent.h |
+++ b/public/platform/WebServiceWorkerError.h |
@@ -28,19 +28,21 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef WebDOMProgressEvent_h |
-#define WebDOMProgressEvent_h |
+#ifndef WebServiceWorkerError_h |
+#define WebServiceWorkerError_h |
-#include "WebDOMEvent.h" |
+#include "WebString.h" |
namespace WebKit { |
-class WebString; |
- |
-class WebDOMProgressEvent : public WebDOMEvent { |
+class WebServiceWorkerError { |
public: |
- WebDOMProgressEvent() { } |
- BLINK_EXPORT WebDOMProgressEvent(const WebString& type, bool lengthIsComputable, unsigned long long loaded, unsigned long long total); |
+ enum ErrorType { |
+ RegistrationError = 0, |
+ }; |
+ virtual ~WebServiceWorkerError() { }; |
+ ErrorType errorType() { return RegistrationError; } |
+ virtual const WebString message() { return WebString(); } |
kinuko
2013/10/15 23:44:44
Do we want to have implementation of this interfac
|
}; |
} // namespace WebKit |