| OLD | NEW |
| 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 CHROME_BROWSER_EXTENSIONS_API_HID_HID_CONNECTION_RESOURCE_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_HID_HID_CONNECTION_RESOURCE_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_HID_HID_CONNECTION_RESOURCE_H_ | 6 #define EXTENSIONS_BROWSER_API_HID_HID_CONNECTION_RESOURCE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "content/public/browser/browser_thread.h" | 11 #include "content/public/browser/browser_thread.h" |
| 12 #include "device/hid/hid_connection.h" | 12 #include "device/hid/hid_connection.h" |
| 13 #include "extensions/browser/api/api_resource.h" | 13 #include "extensions/browser/api/api_resource.h" |
| 14 #include "extensions/browser/api/api_resource_manager.h" | 14 #include "extensions/browser/api/api_resource_manager.h" |
| 15 | 15 |
| 16 namespace extensions { | 16 namespace extensions { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 33 static const content::BrowserThread::ID kThreadId = | 33 static const content::BrowserThread::ID kThreadId = |
| 34 content::BrowserThread::FILE; | 34 content::BrowserThread::FILE; |
| 35 | 35 |
| 36 scoped_refptr<device::HidConnection> connection_; | 36 scoped_refptr<device::HidConnection> connection_; |
| 37 | 37 |
| 38 DISALLOW_COPY_AND_ASSIGN(HidConnectionResource); | 38 DISALLOW_COPY_AND_ASSIGN(HidConnectionResource); |
| 39 }; | 39 }; |
| 40 | 40 |
| 41 } // namespace extensions | 41 } // namespace extensions |
| 42 | 42 |
| 43 #endif // CHROME_BROWSER_EXTENSIONS_API_HID_HID_CONNECTION_RESOURCE_H_ | 43 #endif // EXTENSIONS_BROWSER_API_HID_HID_CONNECTION_RESOURCE_H_ |
| OLD | NEW |