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

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

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase + revert basictypes.h (to be landed separately just in case of a revert due to unexpected us… Created 5 years, 2 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/pathutils.cc ('k') | webrtc/base/physicalsocketserver.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 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 23 matching lines...) Expand all
34 }; 34 };
35 35
36 class Signaler; 36 class Signaler;
37 #if defined(WEBRTC_POSIX) 37 #if defined(WEBRTC_POSIX)
38 class PosixSignalDispatcher; 38 class PosixSignalDispatcher;
39 #endif 39 #endif
40 40
41 class Dispatcher { 41 class Dispatcher {
42 public: 42 public:
43 virtual ~Dispatcher() {} 43 virtual ~Dispatcher() {}
44 virtual uint32 GetRequestedEvents() = 0; 44 virtual uint32_t GetRequestedEvents() = 0;
45 virtual void OnPreEvent(uint32 ff) = 0; 45 virtual void OnPreEvent(uint32_t ff) = 0;
46 virtual void OnEvent(uint32 ff, int err) = 0; 46 virtual void OnEvent(uint32_t ff, int err) = 0;
47 #if defined(WEBRTC_WIN) 47 #if defined(WEBRTC_WIN)
48 virtual WSAEVENT GetWSAEvent() = 0; 48 virtual WSAEVENT GetWSAEvent() = 0;
49 virtual SOCKET GetSocket() = 0; 49 virtual SOCKET GetSocket() = 0;
50 virtual bool CheckSignalClose() = 0; 50 virtual bool CheckSignalClose() = 0;
51 #elif defined(WEBRTC_POSIX) 51 #elif defined(WEBRTC_POSIX)
52 virtual int GetDescriptor() = 0; 52 virtual int GetDescriptor() = 0;
53 virtual bool IsDescriptorClosed() = 0; 53 virtual bool IsDescriptorClosed() = 0;
54 #endif 54 #endif
55 }; 55 };
56 56
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 CriticalSection crit_; 111 CriticalSection crit_;
112 bool fWait_; 112 bool fWait_;
113 #if defined(WEBRTC_WIN) 113 #if defined(WEBRTC_WIN)
114 WSAEVENT socket_ev_; 114 WSAEVENT socket_ev_;
115 #endif 115 #endif
116 }; 116 };
117 117
118 } // namespace rtc 118 } // namespace rtc
119 119
120 #endif // WEBRTC_BASE_PHYSICALSOCKETSERVER_H__ 120 #endif // WEBRTC_BASE_PHYSICALSOCKETSERVER_H__
OLDNEW
« no previous file with comments | « webrtc/base/pathutils.cc ('k') | webrtc/base/physicalsocketserver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698