| Index: chrome/browser/extensions/api/api_resource_controller.h
|
| diff --git a/chrome/browser/extensions/api/api_resource_controller.h b/chrome/browser/extensions/api/api_resource_controller.h
|
| index 3e791828cd083b4e29c4b681d6ccc8b41ae83881..1df2944be61aee82653207f44a91a40e70d7312f 100644
|
| --- a/chrome/browser/extensions/api/api_resource_controller.h
|
| +++ b/chrome/browser/extensions/api/api_resource_controller.h
|
| @@ -16,6 +16,7 @@ namespace extensions {
|
|
|
| class SerialConnection;
|
| class Socket;
|
| +class UsbDeviceResource;
|
|
|
| // kSrcIdKey, or "srcId," binds an APIResource to the onEvent closure that was
|
| // optionally passed to the APIResource's create() method. We generated it in
|
| @@ -42,6 +43,7 @@ class APIResourceController {
|
| // codebase.
|
| Socket* GetSocket(int api_resource_id) const;
|
| SerialConnection* GetSerialConnection(int api_resource_id) const;
|
| + UsbDeviceResource* GetUsbDeviceResource(int api_resource_id) const;
|
|
|
| private:
|
| int next_api_resource_id_;
|
|
|