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

Side by Side Diff: webrtc/base/messagequeue.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
« no previous file with comments | « webrtc/base/bufferqueue.h ('k') | webrtc/base/physicalsocketserver.h » ('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 2004 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2004 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
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 // The SocketServer is not owned by MessageQueue. 244 // The SocketServer is not owned by MessageQueue.
245 SocketServer* ss_; 245 SocketServer* ss_;
246 // If a server isn't supplied in the constructor, use this one. 246 // If a server isn't supplied in the constructor, use this one.
247 scoped_ptr<SocketServer> default_ss_; 247 scoped_ptr<SocketServer> default_ss_;
248 bool fStop_; 248 bool fStop_;
249 bool fPeekKeep_; 249 bool fPeekKeep_;
250 Message msgPeek_; 250 Message msgPeek_;
251 MessageList msgq_; 251 MessageList msgq_;
252 PriorityQueue dmsgq_; 252 PriorityQueue dmsgq_;
253 uint32_t dmsgq_next_num_; 253 uint32_t dmsgq_next_num_;
254 mutable CriticalSection crit_; 254 CriticalSection crit_;
255 255
256 private: 256 private:
257 RTC_DISALLOW_COPY_AND_ASSIGN(MessageQueue); 257 RTC_DISALLOW_COPY_AND_ASSIGN(MessageQueue);
258 }; 258 };
259 259
260 } // namespace rtc 260 } // namespace rtc
261 261
262 #endif // WEBRTC_BASE_MESSAGEQUEUE_H_ 262 #endif // WEBRTC_BASE_MESSAGEQUEUE_H_
OLDNEW
« no previous file with comments | « webrtc/base/bufferqueue.h ('k') | webrtc/base/physicalsocketserver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698