| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef WebBluetoothError_h | |
| 6 #define WebBluetoothError_h | |
| 7 | |
| 8 #include "public/platform/modules/bluetooth/web_bluetooth.mojom.h" | |
| 9 | |
| 10 namespace blink { | |
| 11 | |
| 12 // Errors that can occur during Web Bluetooth execution, which are transformed | |
| 13 // to a DOMException in Source/modules/bluetooth/BluetoothError.cpp. | |
| 14 // | |
| 15 // These errors all produce constant message strings. If a particular message | |
| 16 // needs a dynamic component, we should add a separate enum so type-checking the
IPC | |
| 17 // ensures the dynamic component is passed. | |
| 18 using WebBluetoothError = mojom::WebBluetoothError; | |
| 19 } // namespace blink | |
| 20 | |
| 21 #endif // WebBluetoothError_h | |
| OLD | NEW |