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

Side by Side Diff: talk/media/base/capturerenderadapter.h

Issue 1613643004: Remove mutable from rtc::CriticalSection members. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 11 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 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 explicit CaptureRenderAdapter(VideoCapturer* video_capturer); 63 explicit CaptureRenderAdapter(VideoCapturer* video_capturer);
64 void Init(); 64 void Init();
65 65
66 // Callback for frames received from the capturer. 66 // Callback for frames received from the capturer.
67 void OnVideoFrame(VideoCapturer* capturer, const VideoFrame* video_frame); 67 void OnVideoFrame(VideoCapturer* capturer, const VideoFrame* video_frame);
68 68
69 VideoRenderers video_renderers_; 69 VideoRenderers video_renderers_;
70 VideoCapturer* video_capturer_; 70 VideoCapturer* video_capturer_;
71 // Critical section synchronizing the capture thread. 71 // Critical section synchronizing the capture thread.
72 mutable rtc::CriticalSection capture_crit_; 72 rtc::CriticalSection capture_crit_;
73 }; 73 };
74 74
75 } // namespace cricket 75 } // namespace cricket
76 76
77 #endif // TALK_MEDIA_BASE_CAPTURERENDERADAPTER_H_ 77 #endif // TALK_MEDIA_BASE_CAPTURERENDERADAPTER_H_
OLDNEW
« no previous file with comments | « talk/app/webrtc/test/fakeaudiocapturemodule_unittest.cc ('k') | talk/media/base/fakevideorenderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698