| OLD | NEW |
| 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 CHROME_BROWSER_EXTENSIONS_API_USB_USB_DEVICE_RESOURCE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_USB_USB_DEVICE_RESOURCE_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_USB_USB_DEVICE_RESOURCE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_USB_USB_DEVICE_RESOURCE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/memory/linked_ptr.h" | 12 #include "base/memory/linked_ptr.h" |
| 13 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
| 14 #include "chrome/browser/extensions/api/api_resource.h" | 14 #include "chrome/browser/extensions/api/api_resource.h" |
| 15 #include "chrome/common/extensions/api/experimental.usb.h" | 15 #include "chrome/common/extensions/api/experimental_usb.h" |
| 16 | 16 |
| 17 class UsbDevice; | 17 class UsbDevice; |
| 18 | 18 |
| 19 namespace net { | 19 namespace net { |
| 20 class IOBuffer; | 20 class IOBuffer; |
| 21 } // namespace net | 21 } // namespace net |
| 22 | 22 |
| 23 namespace extensions { | 23 namespace extensions { |
| 24 | 24 |
| 25 class APIResourceEventNotifier; | 25 class APIResourceEventNotifier; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 49 int success); | 49 int success); |
| 50 | 50 |
| 51 scoped_refptr<UsbDevice> device_; | 51 scoped_refptr<UsbDevice> device_; |
| 52 | 52 |
| 53 DISALLOW_COPY_AND_ASSIGN(UsbDeviceResource); | 53 DISALLOW_COPY_AND_ASSIGN(UsbDeviceResource); |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 } // namespace extensions | 56 } // namespace extensions |
| 57 | 57 |
| 58 #endif // CHROME_BROWSER_EXTENSIONS_API_USB_USB_DEVICE_RESOURCE_H_ | 58 #endif // CHROME_BROWSER_EXTENSIONS_API_USB_USB_DEVICE_RESOURCE_H_ |
| OLD | NEW |