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

Side by Side Diff: webrtc/base/physicalsocketserver.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/messagequeue.h ('k') | webrtc/base/stream.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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 165
166 void UpdateLastError(); 166 void UpdateLastError();
167 void MaybeRemapSendError(); 167 void MaybeRemapSendError();
168 168
169 static int TranslateOption(Option opt, int* slevel, int* sopt); 169 static int TranslateOption(Option opt, int* slevel, int* sopt);
170 170
171 PhysicalSocketServer* ss_; 171 PhysicalSocketServer* ss_;
172 SOCKET s_; 172 SOCKET s_;
173 uint8_t enabled_events_; 173 uint8_t enabled_events_;
174 bool udp_; 174 bool udp_;
175 mutable CriticalSection crit_; 175 CriticalSection crit_;
176 int error_ GUARDED_BY(crit_); 176 int error_ GUARDED_BY(crit_);
177 ConnState state_; 177 ConnState state_;
178 AsyncResolver* resolver_; 178 AsyncResolver* resolver_;
179 179
180 #if !defined(NDEBUG) 180 #if !defined(NDEBUG)
181 std::string dbg_addr_; 181 std::string dbg_addr_;
182 #endif 182 #endif
183 }; 183 };
184 184
185 class SocketDispatcher : public Dispatcher, public PhysicalSocket { 185 class SocketDispatcher : public Dispatcher, public PhysicalSocket {
(...skipping 27 matching lines...) Expand all
213 static int next_id_; 213 static int next_id_;
214 int id_; 214 int id_;
215 bool signal_close_; 215 bool signal_close_;
216 int signal_err_; 216 int signal_err_;
217 #endif // WEBRTC_WIN 217 #endif // WEBRTC_WIN
218 }; 218 };
219 219
220 } // namespace rtc 220 } // namespace rtc
221 221
222 #endif // WEBRTC_BASE_PHYSICALSOCKETSERVER_H__ 222 #endif // WEBRTC_BASE_PHYSICALSOCKETSERVER_H__
OLDNEW
« no previous file with comments | « webrtc/base/messagequeue.h ('k') | webrtc/base/stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698