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

Side by Side Diff: extensions/browser/api/usb/usb_guid_map.h

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
Patch Set: Created 4 years, 12 months 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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 EXTENSIONS_BROWSER_API_USB_USB_GUID_MAP_H_ 5 #ifndef EXTENSIONS_BROWSER_API_USB_USB_GUID_MAP_H_
6 #define EXTENSIONS_BROWSER_API_USB_USB_GUID_MAP_H_ 6 #define EXTENSIONS_BROWSER_API_USB_USB_GUID_MAP_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h"
11 #include "base/scoped_observer.h" 12 #include "base/scoped_observer.h"
12 #include "device/usb/usb_service.h" 13 #include "device/usb/usb_service.h"
13 #include "extensions/browser/browser_context_keyed_api_factory.h" 14 #include "extensions/browser/browser_context_keyed_api_factory.h"
14 #include "extensions/common/api/usb.h" 15 #include "extensions/common/api/usb.h"
15 16
16 namespace device { 17 namespace device {
17 class UsbDevice; 18 class UsbDevice;
18 } 19 }
19 20
20 namespace extensions { 21 namespace extensions {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 std::map<int, std::string> id_to_guid_map_; 66 std::map<int, std::string> id_to_guid_map_;
66 67
67 ScopedObserver<device::UsbService, device::UsbService::Observer> observer_; 68 ScopedObserver<device::UsbService, device::UsbService::Observer> observer_;
68 69
69 DISALLOW_COPY_AND_ASSIGN(UsbGuidMap); 70 DISALLOW_COPY_AND_ASSIGN(UsbGuidMap);
70 }; 71 };
71 72
72 } // namespace extensions 73 } // namespace extensions
73 74
74 #endif // EXTENSIONS_BROWSER_API_USB_USB_GUID_MAP_H_ 75 #endif // EXTENSIONS_BROWSER_API_USB_USB_GUID_MAP_H_
OLDNEW
« no previous file with comments | « extensions/browser/api/usb/usb_event_router.h ('k') | extensions/browser/api/vpn_provider/vpn_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698