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

Side by Side Diff: extensions/browser/api/device_permissions_prompt.h

Issue 2615353002: Typemap device.usb.DeviceFilter to device::UsbDeviceFilter. (Closed)
Patch Set: Addressed juncai@'s feedback. Created 3 years, 11 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
« no previous file with comments | « device/usb/usb_device_filter_unittest.cc ('k') | extensions/browser/api/usb/usb_api.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_DEVICE_PERMISSIONS_PROMPT_H_ 5 #ifndef EXTENSIONS_BROWSER_DEVICE_PERMISSIONS_PROMPT_H_
6 #define EXTENSIONS_BROWSER_DEVICE_PERMISSIONS_PROMPT_H_ 6 #define EXTENSIONS_BROWSER_DEVICE_PERMISSIONS_PROMPT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/callback_forward.h" 13 #include "base/callback_forward.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
17 #include "base/strings/string16.h" 17 #include "base/strings/string16.h"
18 18
19 namespace content { 19 namespace content {
20 class BrowserContext; 20 class BrowserContext;
21 class WebContents; 21 class WebContents;
22 } 22 }
23 23
24 namespace device { 24 namespace device {
25 class HidDeviceFilter; 25 class HidDeviceFilter;
26 class HidDeviceInfo; 26 class HidDeviceInfo;
27 class UsbDevice; 27 class UsbDevice;
28 class UsbDeviceFilter; 28 struct UsbDeviceFilter;
29 } 29 }
30 30
31 namespace extensions { 31 namespace extensions {
32 32
33 class Extension; 33 class Extension;
34 34
35 // Platform-independent interface for displaing a UI for choosing devices 35 // Platform-independent interface for displaing a UI for choosing devices
36 // (similar to choosing files). 36 // (similar to choosing files).
37 class DevicePermissionsPrompt { 37 class DevicePermissionsPrompt {
38 public: 38 public:
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 157
158 // Parameters available to the UI implementation. 158 // Parameters available to the UI implementation.
159 scoped_refptr<Prompt> prompt_; 159 scoped_refptr<Prompt> prompt_;
160 160
161 DISALLOW_COPY_AND_ASSIGN(DevicePermissionsPrompt); 161 DISALLOW_COPY_AND_ASSIGN(DevicePermissionsPrompt);
162 }; 162 };
163 163
164 } // namespace extensions 164 } // namespace extensions
165 165
166 #endif // EXTENSIONS_BROWSER_API_DEVICE_PERMISSIONS_PROMPT_H_ 166 #endif // EXTENSIONS_BROWSER_API_DEVICE_PERMISSIONS_PROMPT_H_
OLDNEW
« no previous file with comments | « device/usb/usb_device_filter_unittest.cc ('k') | extensions/browser/api/usb/usb_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698