summaryrefslogtreecommitdiffstats
path: root/content/renderer/bluetooth/bluetooth_dispatcher.h
diff options
context:
space:
mode:
authorjyasskin <jyasskin@chromium.org>2015-11-13 09:46:32 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-13 17:47:40 +0000
commitecdc43285aed600c3b48ea91d0ff45931d28d62e (patch)
tree90f3dcf2648b63be7f4c2578e24c0c5dc8c8830f /content/renderer/bluetooth/bluetooth_dispatcher.h
parent59304620102f529bd5f87a8e70a80152d6a26ba0 (diff)
downloadchromium_src-ecdc43285aed600c3b48ea91d0ff45931d28d62e.zip
chromium_src-ecdc43285aed600c3b48ea91d0ff45931d28d62e.tar.gz
chromium_src-ecdc43285aed600c3b48ea91d0ff45931d28d62e.tar.bz2
Remove uses of std:: in Blink Web Bluetooth API.
Also micro-optimize to avoid a copy when rejecting in writeValue(). Review URL: https://codereview.chromium.org/1444463002 Cr-Commit-Position: refs/heads/master@{#359577}
Diffstat (limited to 'content/renderer/bluetooth/bluetooth_dispatcher.h')
-rw-r--r--content/renderer/bluetooth/bluetooth_dispatcher.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/renderer/bluetooth/bluetooth_dispatcher.h b/content/renderer/bluetooth/bluetooth_dispatcher.h
index f27d7d6..ff6a075 100644
--- a/content/renderer/bluetooth/bluetooth_dispatcher.h
+++ b/content/renderer/bluetooth/bluetooth_dispatcher.h
@@ -75,7 +75,7 @@ class BluetoothDispatcher : public WorkerThread::Observer {
void readValue(const blink::WebString& characteristic_instance_id,
blink::WebBluetoothReadValueCallbacks* callbacks);
void writeValue(const blink::WebString& characteristic_instance_id,
- const std::vector<uint8_t>& value,
+ const blink::WebVector<uint8_t>& value,
blink::WebBluetoothWriteValueCallbacks*);
void startNotifications(const blink::WebString& characteristic_instance_id,
blink::WebBluetoothGATTCharacteristic* delegate,