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

Side by Side Diff: webrtc/pc/videotracksource.h

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc Created 3 years, 5 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 | « webrtc/pc/videotrack_unittest.cc ('k') | webrtc/pc/webrtcsdp.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2016 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef WEBRTC_PC_VIDEOTRACKSOURCE_H_ 11 #ifndef WEBRTC_PC_VIDEOTRACKSOURCE_H_
12 #define WEBRTC_PC_VIDEOTRACKSOURCE_H_ 12 #define WEBRTC_PC_VIDEOTRACKSOURCE_H_
13 13
14 #include "webrtc/api/mediastreaminterface.h" 14 #include "webrtc/api/mediastreaminterface.h"
15 #include "webrtc/api/notifier.h" 15 #include "webrtc/api/notifier.h"
16 #include "webrtc/base/thread_checker.h"
17 #include "webrtc/media/base/mediachannel.h" 16 #include "webrtc/media/base/mediachannel.h"
18 #include "webrtc/media/base/videosinkinterface.h" 17 #include "webrtc/media/base/videosinkinterface.h"
18 #include "webrtc/rtc_base/thread_checker.h"
19 19
20 // VideoTrackSource implements VideoTrackSourceInterface. 20 // VideoTrackSource implements VideoTrackSourceInterface.
21 namespace webrtc { 21 namespace webrtc {
22 22
23 class VideoTrackSource : public Notifier<VideoTrackSourceInterface> { 23 class VideoTrackSource : public Notifier<VideoTrackSourceInterface> {
24 public: 24 public:
25 VideoTrackSource(rtc::VideoSourceInterface<VideoFrame>* source, bool remote); 25 VideoTrackSource(rtc::VideoSourceInterface<VideoFrame>* source, bool remote);
26 void SetState(SourceState new_state); 26 void SetState(SourceState new_state);
27 // OnSourceDestroyed clears this instance pointer to |source_|. It is useful 27 // OnSourceDestroyed clears this instance pointer to |source_|. It is useful
28 // when the underlying rtc::VideoSourceInterface is destroyed before the 28 // when the underlying rtc::VideoSourceInterface is destroyed before the
(...skipping 17 matching lines...) Expand all
46 rtc::ThreadChecker worker_thread_checker_; 46 rtc::ThreadChecker worker_thread_checker_;
47 rtc::VideoSourceInterface<VideoFrame>* source_; 47 rtc::VideoSourceInterface<VideoFrame>* source_;
48 cricket::VideoOptions options_; 48 cricket::VideoOptions options_;
49 SourceState state_; 49 SourceState state_;
50 const bool remote_; 50 const bool remote_;
51 }; 51 };
52 52
53 } // namespace webrtc 53 } // namespace webrtc
54 54
55 #endif // WEBRTC_PC_VIDEOTRACKSOURCE_H_ 55 #endif // WEBRTC_PC_VIDEOTRACKSOURCE_H_
OLDNEW
« no previous file with comments | « webrtc/pc/videotrack_unittest.cc ('k') | webrtc/pc/webrtcsdp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698