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

Side by Side Diff: content/renderer/media/webrtc/webrtc_video_capturer_adapter.h

Issue 555953005: WebRTC video capture: Remove unused member variable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 base::ThreadChecker thread_checker_; 54 base::ThreadChecker thread_checker_;
55 55
56 const bool is_screencast_; 56 const bool is_screencast_;
57 bool running_; 57 bool running_;
58 base::TimeDelta first_frame_timestamp_; 58 base::TimeDelta first_frame_timestamp_;
59 // |buffer_| used if cropping is needed. It is created only if needed and 59 // |buffer_| used if cropping is needed. It is created only if needed and
60 // owned by WebRtcVideoCapturerAdapter. If its created, it exists until 60 // owned by WebRtcVideoCapturerAdapter. If its created, it exists until
61 // WebRtcVideoCapturerAdapter is destroyed. 61 // WebRtcVideoCapturerAdapter is destroyed.
62 uint8* buffer_; 62 uint8* buffer_;
63 size_t buffer_size_; 63 size_t buffer_size_;
64 scoped_ptr<cricket::CapturedFrame> captured_frame_;
65 64
66 DISALLOW_COPY_AND_ASSIGN(WebRtcVideoCapturerAdapter); 65 DISALLOW_COPY_AND_ASSIGN(WebRtcVideoCapturerAdapter);
67 }; 66 };
68 67
69 } // namespace content 68 } // namespace content
70 69
71 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_ 70 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698