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

Side by Side Diff: webrtc/rtc_base/physicalsocketserver.h

Issue 3006133002: Update thread annotiation macros in rtc_base to use RTC_ prefix (Closed)
Patch Set: Rebase Created 3 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 | « webrtc/rtc_base/messagequeue.cc ('k') | webrtc/rtc_base/race_checker.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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 virtual void SetEnabledEvents(uint8_t events); 196 virtual void SetEnabledEvents(uint8_t events);
197 virtual void EnableEvents(uint8_t events); 197 virtual void EnableEvents(uint8_t events);
198 virtual void DisableEvents(uint8_t events); 198 virtual void DisableEvents(uint8_t events);
199 199
200 static int TranslateOption(Option opt, int* slevel, int* sopt); 200 static int TranslateOption(Option opt, int* slevel, int* sopt);
201 201
202 PhysicalSocketServer* ss_; 202 PhysicalSocketServer* ss_;
203 SOCKET s_; 203 SOCKET s_;
204 bool udp_; 204 bool udp_;
205 CriticalSection crit_; 205 CriticalSection crit_;
206 int error_ GUARDED_BY(crit_); 206 int error_ RTC_GUARDED_BY(crit_);
207 ConnState state_; 207 ConnState state_;
208 AsyncResolver* resolver_; 208 AsyncResolver* resolver_;
209 209
210 #if !defined(NDEBUG) 210 #if !defined(NDEBUG)
211 std::string dbg_addr_; 211 std::string dbg_addr_;
212 #endif 212 #endif
213 213
214 private: 214 private:
215 uint8_t enabled_events_ = 0; 215 uint8_t enabled_events_ = 0;
216 }; 216 };
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 #if defined(WEBRTC_USE_EPOLL) 261 #if defined(WEBRTC_USE_EPOLL)
262 void MaybeUpdateDispatcher(uint8_t old_events); 262 void MaybeUpdateDispatcher(uint8_t old_events);
263 263
264 int saved_enabled_events_ = -1; 264 int saved_enabled_events_ = -1;
265 #endif 265 #endif
266 }; 266 };
267 267
268 } // namespace rtc 268 } // namespace rtc
269 269
270 #endif // WEBRTC_RTC_BASE_PHYSICALSOCKETSERVER_H_ 270 #endif // WEBRTC_RTC_BASE_PHYSICALSOCKETSERVER_H_
OLDNEW
« no previous file with comments | « webrtc/rtc_base/messagequeue.cc ('k') | webrtc/rtc_base/race_checker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698