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_WEBCAM_PRIVATE_VISCA_WEBCAM_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_WEBCAM_PRIVATE_VISCA_WEBCAM_H_ |
6 #define EXTENSIONS_BROWSER_API_WEBCAM_PRIVATE_VISCA_WEBCAM_H_ | 6 #define EXTENSIONS_BROWSER_API_WEBCAM_PRIVATE_VISCA_WEBCAM_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" |
11 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
12 #include "extensions/browser/api/serial/serial_connection.h" | 13 #include "extensions/browser/api/serial/serial_connection.h" |
13 #include "extensions/browser/api/webcam_private/webcam.h" | 14 #include "extensions/browser/api/webcam_private/webcam.h" |
14 #include "extensions/common/api/serial.h" | 15 #include "extensions/common/api/serial.h" |
15 | 16 |
16 namespace extensions { | 17 namespace extensions { |
17 | 18 |
18 class ViscaWebcam : public Webcam { | 19 class ViscaWebcam : public Webcam { |
19 public: | 20 public: |
20 ViscaWebcam(); | 21 ViscaWebcam(); |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 int tilt_; | 134 int tilt_; |
134 | 135 |
135 base::WeakPtrFactory<ViscaWebcam> weak_ptr_factory_; | 136 base::WeakPtrFactory<ViscaWebcam> weak_ptr_factory_; |
136 | 137 |
137 DISALLOW_COPY_AND_ASSIGN(ViscaWebcam); | 138 DISALLOW_COPY_AND_ASSIGN(ViscaWebcam); |
138 }; | 139 }; |
139 | 140 |
140 } // namespace extensions | 141 } // namespace extensions |
141 | 142 |
142 #endif // EXTENSIONS_BROWSER_API_WEBCAM_PRIVATE_VISCA_WEBCAM_H_ | 143 #endif // EXTENSIONS_BROWSER_API_WEBCAM_PRIVATE_VISCA_WEBCAM_H_ |
OLD | NEW |