Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Side by Side Diff: extensions/browser/api/webcam_private/v4l2_webcam.h

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_V4L2_WEBCAM_H_ 5 #ifndef EXTENSIONS_BROWSER_API_WEBCAM_PRIVATE_V4L2_WEBCAM_H_
6 #define EXTENSIONS_BROWSER_API_WEBCAM_PRIVATE_V4L2_WEBCAM_H_ 6 #define EXTENSIONS_BROWSER_API_WEBCAM_PRIVATE_V4L2_WEBCAM_H_
7 7
8 #include "extensions/browser/api/webcam_private/webcam.h" 8 #include "extensions/browser/api/webcam_private/webcam.h"
9 9
10 #include <stdint.h>
11
10 #include "base/files/scoped_file.h" 12 #include "base/files/scoped_file.h"
13 #include "base/macros.h"
11 14
12 namespace extensions { 15 namespace extensions {
13 16
14 class V4L2Webcam : public Webcam { 17 class V4L2Webcam : public Webcam {
15 public: 18 public:
16 V4L2Webcam(const std::string& device_id); 19 V4L2Webcam(const std::string& device_id);
17 bool Open(); 20 bool Open();
18 21
19 private: 22 private:
20 ~V4L2Webcam() override; 23 ~V4L2Webcam() override;
(...skipping 26 matching lines...) Expand all
47 const std::string device_id_; 50 const std::string device_id_;
48 base::ScopedFD fd_; 51 base::ScopedFD fd_;
49 52
50 DISALLOW_COPY_AND_ASSIGN(V4L2Webcam); 53 DISALLOW_COPY_AND_ASSIGN(V4L2Webcam);
51 }; 54 };
52 55
53 56
54 } // namespace extensions 57 } // namespace extensions
55 58
56 #endif // EXTENSIONS_BROWSER_API_WEBCAM_PRIVATE_V4L2_WEBCAM_H_ 59 #endif // EXTENSIONS_BROWSER_API_WEBCAM_PRIVATE_V4L2_WEBCAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698