| Index: public/platform/WebServiceWorkerProviderClient.h
|
| diff --git a/public/web/WebDOMProgressEvent.h b/public/platform/WebServiceWorkerProviderClient.h
|
| similarity index 76%
|
| copy from public/web/WebDOMProgressEvent.h
|
| copy to public/platform/WebServiceWorkerProviderClient.h
|
| index d8db15587695dfe4141eceb164456da9a03342a5..8b62f9dc9545d93b166769ef8079f96fd7aee162 100644
|
| --- a/public/web/WebDOMProgressEvent.h
|
| +++ b/public/platform/WebServiceWorkerProviderClient.h
|
| @@ -28,21 +28,21 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef WebDOMProgressEvent_h
|
| -#define WebDOMProgressEvent_h
|
| -
|
| -#include "WebDOMEvent.h"
|
| +#ifndef WebServiceWorkerProviderClient_h
|
| +#define WebServiceWorkerProviderClient_h
|
|
|
| namespace WebKit {
|
| -
|
| class WebString;
|
|
|
| -class WebDOMProgressEvent : public WebDOMEvent {
|
| +// This class catches any errors that may originate on the browser
|
| +// side and not via a DOM API call, such as errors that occur when
|
| +// loading resources through the service worker.
|
| +class WebServiceWorkerProviderClient {
|
| public:
|
| - WebDOMProgressEvent() { }
|
| - BLINK_EXPORT WebDOMProgressEvent(const WebString& type, bool lengthIsComputable, unsigned long long loaded, unsigned long long total);
|
| + virtual void didFailToStart(const WebString& message) { }
|
| + // FIXME: replace the above general error handler with more specific error handlers.
|
| };
|
|
|
| -} // namespace WebKit
|
| +};
|
|
|
| -#endif
|
| +#endif // WebServiceWorkerProviderClient_h
|
|
|