summaryrefslogtreecommitdiffstats
path: root/device/usb/mojo/device_impl.h
diff options
context:
space:
mode:
authorreillyg <reillyg@chromium.org>2016-03-15 12:47:06 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-15 19:48:11 +0000
commitcc9b0c5fa36368bb012b4b4d572ada52ceb1146b (patch)
tree5cd24491c7188fb4702d69a9e08053ad3c53eb16 /device/usb/mojo/device_impl.h
parent8b58c0d445772371cba4da0000f78917a12c79bc (diff)
downloadchromium_src-cc9b0c5fa36368bb012b4b4d572ada52ceb1146b.zip
chromium_src-cc9b0c5fa36368bb012b4b4d572ada52ceb1146b.tar.gz
chromium_src-cc9b0c5fa36368bb012b4b4d572ada52ceb1146b.tar.bz2
Track USB device configuration state in Blink.
Blink now tracks the currently selected device configuration and can thus provide it as an IDL attribute without a getConfiguration() method which has been removed. This continues the trend of being able to handle errors in Blink before calling methods on the Mojo interface. BUG=593164 R=juncai@chromium.org TBR=dgozman@chromium.org Review URL: https://codereview.chromium.org/1784733002 Cr-Commit-Position: refs/heads/master@{#381288}
Diffstat (limited to 'device/usb/mojo/device_impl.h')
-rw-r--r--device/usb/mojo/device_impl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/device/usb/mojo/device_impl.h b/device/usb/mojo/device_impl.h
index 6c77d38..a0a4cfc 100644
--- a/device/usb/mojo/device_impl.h
+++ b/device/usb/mojo/device_impl.h
@@ -55,7 +55,6 @@ class DeviceImpl : public Device, public device::UsbDevice::Observer {
// Device implementation:
void GetDeviceInfo(const GetDeviceInfoCallback& callback) override;
- void GetConfiguration(const GetConfigurationCallback& callback) override;
void Open(const OpenCallback& callback) override;
void Close(const CloseCallback& callback) override;
void SetConfiguration(uint8_t value,