Chromium Code Reviews| Index: third_party/WebKit/Source/modules/bluetooth/BluetoothError.h |
| diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothError.h b/third_party/WebKit/Source/modules/bluetooth/BluetoothError.h |
| index c9374283b4cf3b0de64c4c7daa985b68ac74b147..30903834f43f70fb9c9813a5043dcb018bd03790 100644 |
| --- a/third_party/WebKit/Source/modules/bluetooth/BluetoothError.h |
| +++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothError.h |
| @@ -12,7 +12,6 @@ |
| namespace blink { |
| class DOMException; |
| -class ScriptPromiseResolver; |
| // BluetoothError is used with CallbackPromiseAdapter to receive |
| // WebBluetoothResult responses. See CallbackPromiseAdapter class comments. |
| @@ -20,9 +19,9 @@ class BluetoothError { |
| STATIC_ONLY(BluetoothError); |
| public: |
| - // Interface required by CallbackPromiseAdapter: |
| - static DOMException* take(ScriptPromiseResolver*, |
| - mojom::blink::WebBluetoothResult); |
| + static DOMException* CreateDOMException( |
|
dcheng
2017/02/09 19:16:41
Nit: Blink naming convention is createDOMException
perja
2017/02/10 13:28:16
Done.
|
| + mojom::blink::WebBluetoothResult error, |
| + String detailedMessage = String()); |
|
dcheng
2017/02/09 19:16:41
const String&
perja
2017/02/10 13:28:16
Done.
|
| }; |
| } // namespace blink |