Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Side by Side Diff: device/usb/usb_ids.h

Issue 1542163002: Switch to standard integer types in device/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « device/usb/usb_device_impl.cc ('k') | device/usb/usb_ids_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef DEVICE_USB_USB_IDS_H_ 5 #ifndef DEVICE_USB_USB_IDS_H_
6 #define DEVICE_USB_USB_IDS_H_ 6 #define DEVICE_USB_USB_IDS_H_
7 7
8 #include <stddef.h>
8 #include <stdint.h> 9 #include <stdint.h>
9 10
10 #include "base/macros.h" 11 #include "base/macros.h"
11 12
12 namespace device { 13 namespace device {
13 14
14 struct UsbProduct { 15 struct UsbProduct {
15 const uint16_t id; 16 const uint16_t id;
16 const char* name; 17 const char* name;
17 }; 18 };
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 // more information on how they are generated. 50 // more information on how they are generated.
50 static const size_t vendor_size_; 51 static const size_t vendor_size_;
51 static const UsbVendor vendors_[]; 52 static const UsbVendor vendors_[];
52 53
53 DISALLOW_COPY_AND_ASSIGN(UsbIds); 54 DISALLOW_COPY_AND_ASSIGN(UsbIds);
54 }; 55 };
55 56
56 } // namespace device 57 } // namespace device
57 58
58 #endif // DEVICE_USB_USB_IDS_H_ 59 #endif // DEVICE_USB_USB_IDS_H_
OLDNEW
« no previous file with comments | « device/usb/usb_device_impl.cc ('k') | device/usb/usb_ids_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698