| Index: public/platform/WebBluetoothError.h
|
| diff --git a/public/platform/WebPushError.h b/public/platform/WebBluetoothError.h
|
| similarity index 60%
|
| copy from public/platform/WebPushError.h
|
| copy to public/platform/WebBluetoothError.h
|
| index 408254b5cc7e8d252bbd2fee13f6b1476459a881..9bcb8bf9a472e1236c7787c316d0908559001c86 100644
|
| --- a/public/platform/WebPushError.h
|
| +++ b/public/platform/WebBluetoothError.h
|
| @@ -2,21 +2,20 @@
|
| // 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 WebBluetoothError_h
|
| +#define WebBluetoothError_h
|
|
|
| #include "WebString.h"
|
|
|
| namespace blink {
|
|
|
| -struct WebPushError {
|
| +struct WebBluetoothError {
|
| enum ErrorType {
|
| - ErrorTypeAbort = 0,
|
| - ErrorTypeUnknown,
|
| - ErrorTypeLast = ErrorTypeUnknown
|
| + NotFoundError,
|
| + SecurityError
|
| };
|
|
|
| - WebPushError(ErrorType errorType, const WebString& message)
|
| + WebBluetoothError(ErrorType errorType, const WebString& message)
|
| : errorType(errorType)
|
| , message(message)
|
| {
|
| @@ -28,4 +27,4 @@ struct WebPushError {
|
|
|
| } // namespace blink
|
|
|
| -#endif // WebPushError_h
|
| +#endif // WebBluetoothError_h
|
|
|