| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 // Copyright 2015 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 #include "config.h" | 
|  | 6 #include "modules/webusb/USBDevice.h" | 
|  | 7 | 
|  | 8 #include "modules/webusb/USBConfiguration.h" | 
|  | 9 | 
|  | 10 namespace blink { | 
|  | 11 | 
|  | 12 HeapVector<Member<USBConfiguration>> USBDevice::configurations() const | 
|  | 13 { | 
|  | 14     HeapVector<Member<USBConfiguration>> configurations; | 
|  | 15     for (size_t i = 0; i < info().configurations.size(); ++i) | 
|  | 16         configurations.append(USBConfiguration::create(this, i)); | 
|  | 17     return configurations; | 
|  | 18 } | 
|  | 19 | 
|  | 20 } // namespace blink | 
| OLD | NEW | 
|---|