Index: public/platform/WebBluetoothError.h |
diff --git a/public/platform/WebGeofencingError.h b/public/platform/WebBluetoothError.h |
similarity index 56% |
copy from public/platform/WebGeofencingError.h |
copy to public/platform/WebBluetoothError.h |
index ccdc743c8d9e46c45f717d8d44b7d50410ff4a87..e706124af3340e3a95704f737dc3ef2cbb0b5abe 100644 |
--- a/public/platform/WebGeofencingError.h |
+++ b/public/platform/WebBluetoothError.h |
@@ -2,21 +2,21 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef WebGeofencingError_h |
-#define WebGeofencingError_h |
+#ifndef WebBluetoothError_h |
+#define WebBluetoothError_h |
#include "WebString.h" |
namespace blink { |
-struct WebGeofencingError { |
+// Error object when a bluetooth request can not be satisfied. |
+struct WebBluetoothError { |
enum ErrorType { |
- ErrorTypeAbort = 0, |
- ErrorTypeUnknown, |
- ErrorTypeLast = ErrorTypeUnknown |
+ NotFoundError, |
+ SecurityError |
}; |
- WebGeofencingError(ErrorType errorType, const WebString& message) |
+ WebBluetoothError(ErrorType errorType, const WebString& message) |
: errorType(errorType) |
, message(message) |
{ |
@@ -28,4 +28,4 @@ struct WebGeofencingError { |
} // namespace blink |
-#endif // WebGeofencingError_h |
+#endif // WebBluetoothError_h |