OLD | NEW |
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_EVENT_ROUTER_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_USB_USB_EVENT_ROUTER_H_ |
6 #define EXTENSIONS_BROWSER_API_USB_USB_EVENT_ROUTER_H_ | 6 #define EXTENSIONS_BROWSER_API_USB_USB_EVENT_ROUTER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "content/public/browser/browser_thread.h" | 9 #include "content/public/browser/browser_thread.h" |
9 #include "device/usb/usb_service.h" | 10 #include "device/usb/usb_service.h" |
10 #include "extensions/browser/browser_context_keyed_api_factory.h" | 11 #include "extensions/browser/browser_context_keyed_api_factory.h" |
11 #include "extensions/browser/event_router.h" | 12 #include "extensions/browser/event_router.h" |
12 | 13 |
13 namespace device { | 14 namespace device { |
14 class UsbDevice; | 15 class UsbDevice; |
15 } | 16 } |
16 | 17 |
17 namespace extensions { | 18 namespace extensions { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 DISALLOW_COPY_AND_ASSIGN(UsbEventRouter); | 57 DISALLOW_COPY_AND_ASSIGN(UsbEventRouter); |
57 }; | 58 }; |
58 | 59 |
59 template <> | 60 template <> |
60 void BrowserContextKeyedAPIFactory< | 61 void BrowserContextKeyedAPIFactory< |
61 UsbEventRouter>::DeclareFactoryDependencies(); | 62 UsbEventRouter>::DeclareFactoryDependencies(); |
62 | 63 |
63 } // namespace extensions | 64 } // namespace extensions |
64 | 65 |
65 #endif // EXTENSIONS_BROWSER_API_USB_USB_EVENT_ROUTER_H_ | 66 #endif // EXTENSIONS_BROWSER_API_USB_USB_EVENT_ROUTER_H_ |
OLD | NEW |