Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1401)

Unified Diff: public/platform/WebServiceWorkerError.h

Issue 1262943002: Move ServiceWorker public headers to public/{web,platform}/modules/serviceworker (1/3) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased 2 Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « public/platform/WebServiceWorkerClientsInfo.h ('k') | public/platform/WebServiceWorkerEventResult.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
« no previous file with comments | « public/platform/WebServiceWorkerClientsInfo.h ('k') | public/platform/WebServiceWorkerEventResult.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698