summaryrefslogtreecommitdiffstats
path: root/extensions/browser/api
diff options
context:
space:
mode:
authormfomitchev <mfomitchev@chromium.org>2016-01-28 08:46:28 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-28 16:47:16 +0000
commit12b8eae75903716455b44d2c25236e183cebbeb7 (patch)
tree2d3299aad482456e6f78c285dc5cc390de9a6af6 /extensions/browser/api
parentcf82bf409d647e793c5c60aeb3dbf9f4aa13ced7 (diff)
downloadchromium_src-12b8eae75903716455b44d2c25236e183cebbeb7.zip
chromium_src-12b8eae75903716455b44d2c25236e183cebbeb7.tar.gz
chromium_src-12b8eae75903716455b44d2c25236e183cebbeb7.tar.bz2
Remove the code added to make extensions compile on Aura Android.
BUG=NONE Review URL: https://codereview.chromium.org/1551423003 Cr-Commit-Position: refs/heads/master@{#372106}
Diffstat (limited to 'extensions/browser/api')
-rw-r--r--extensions/browser/api/serial/serial_api.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/extensions/browser/api/serial/serial_api.cc b/extensions/browser/api/serial/serial_api.cc
index d80008e4..0d477be 100644
--- a/extensions/browser/api/serial/serial_api.cc
+++ b/extensions/browser/api/serial/serial_api.cc
@@ -86,14 +86,11 @@ bool SerialGetDevicesFunction::Prepare() {
void SerialGetDevicesFunction::Work() {
DCHECK_CURRENTLY_ON(BrowserThread::FILE);
-// TODO(moshayedi): crbug.com/549257. Add USB support for Aura on Android.
-#if !defined(OS_ANDROID)
scoped_ptr<device::SerialDeviceEnumerator> enumerator =
device::SerialDeviceEnumerator::Create();
mojo::Array<device::serial::DeviceInfoPtr> devices = enumerator->GetDevices();
results_ = serial::GetDevices::Results::Create(
devices.To<std::vector<linked_ptr<serial::DeviceInfo> > >());
-#endif
}
SerialConnectFunction::SerialConnectFunction() {