Index: public/platform/modules/background_sync/WebSyncError.h |
diff --git a/public/platform/modules/push_messaging/WebPushError.h b/public/platform/modules/background_sync/WebSyncError.h |
similarity index 64% |
copy from public/platform/modules/push_messaging/WebPushError.h |
copy to public/platform/modules/background_sync/WebSyncError.h |
index 912e30bedd4eea1cd8a561717ae1c15b98627586..cf537ad304dd119a19d82831846dafced3270600 100644 |
--- a/public/platform/modules/push_messaging/WebPushError.h |
+++ b/public/platform/modules/background_sync/WebSyncError.h |
@@ -1,24 +1,24 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef WebPushError_h |
-#define WebPushError_h |
+#ifndef WebSyncError_h |
+#define WebSyncError_h |
#include "public/platform/WebString.h" |
namespace blink { |
-struct WebPushError { |
+struct WebSyncError { |
enum ErrorType { |
ErrorTypeAbort = 0, |
- ErrorTypeNetwork, |
+ ErrorTypeNoPermission, |
ErrorTypeNotFound, |
ErrorTypeUnknown, |
ErrorTypeLast = ErrorTypeUnknown |
}; |
- WebPushError(ErrorType errorType, const WebString& message) |
+ WebSyncError(ErrorType errorType, const WebString& message) |
: errorType(errorType) |
, message(message) |
{ |
@@ -30,4 +30,4 @@ struct WebPushError { |
} // namespace blink |
-#endif // WebPushError_h |
+#endif // WebSyncError_h |