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 DEVICE_UDEV_LINUX_UDEV0_LOADER_H_ | 5 #ifndef DEVICE_UDEV_LINUX_UDEV0_LOADER_H_ |
6 #define DEVICE_UDEV_LINUX_UDEV0_LOADER_H_ | 6 #define DEVICE_UDEV_LINUX_UDEV0_LOADER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "device/udev_linux/udev_loader.h" | 10 #include "device/udev_linux/udev_loader.h" |
10 | 11 |
11 class LibUdev0Loader; | 12 class LibUdev0Loader; |
12 | 13 |
13 namespace device { | 14 namespace device { |
14 | 15 |
15 class Udev0Loader : public UdevLoader { | 16 class Udev0Loader : public UdevLoader { |
16 public: | 17 public: |
17 Udev0Loader(); | 18 Udev0Loader(); |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 void udev_unref(udev* udev) override; | 75 void udev_unref(udev* udev) override; |
75 | 76 |
76 scoped_ptr<LibUdev0Loader> lib_loader_; | 77 scoped_ptr<LibUdev0Loader> lib_loader_; |
77 | 78 |
78 DISALLOW_COPY_AND_ASSIGN(Udev0Loader); | 79 DISALLOW_COPY_AND_ASSIGN(Udev0Loader); |
79 }; | 80 }; |
80 | 81 |
81 } // namespace device | 82 } // namespace device |
82 | 83 |
83 #endif // DEVICE_UDEV_LINUX_UDEV0_LOADER_H_ | 84 #endif // DEVICE_UDEV_LINUX_UDEV0_LOADER_H_ |
OLD | NEW |