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

Side by Side Diff: webrtc/common_types.h

Issue 2307533004: Moving/renaming webrtc/common.h. (Closed)
Patch Set: gyp fix Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #define STR_CASE_CMP(s1, s2) ::_stricmp(s1, s2) 46 #define STR_CASE_CMP(s1, s2) ::_stricmp(s1, s2)
47 // Compares characters of two strings without regard to case. 47 // Compares characters of two strings without regard to case.
48 #define STR_NCASE_CMP(s1, s2, n) ::_strnicmp(s1, s2, n) 48 #define STR_NCASE_CMP(s1, s2, n) ::_strnicmp(s1, s2, n)
49 #else 49 #else
50 #define STR_CASE_CMP(s1, s2) ::strcasecmp(s1, s2) 50 #define STR_CASE_CMP(s1, s2) ::strcasecmp(s1, s2)
51 #define STR_NCASE_CMP(s1, s2, n) ::strncasecmp(s1, s2, n) 51 #define STR_NCASE_CMP(s1, s2, n) ::strncasecmp(s1, s2, n)
52 #endif 52 #endif
53 53
54 namespace webrtc { 54 namespace webrtc {
55 55
56 class Config;
57
58 class RewindableStream { 56 class RewindableStream {
59 public: 57 public:
60 virtual ~RewindableStream() {} 58 virtual ~RewindableStream() {}
61 virtual int Rewind() = 0; 59 virtual int Rewind() = 0;
62 }; 60 };
63 61
64 class InStream : public RewindableStream { 62 class InStream : public RewindableStream {
65 public: 63 public:
66 // Reads |len| bytes from file to |buf|. Returns the number of bytes read 64 // Reads |len| bytes from file to |buf|. Returns the number of bytes read
67 // or -1 on error. 65 // or -1 on error.
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 enum class RtcpMode { kOff, kCompound, kReducedSize }; 819 enum class RtcpMode { kOff, kCompound, kReducedSize };
822 820
823 enum NetworkState { 821 enum NetworkState {
824 kNetworkUp, 822 kNetworkUp,
825 kNetworkDown, 823 kNetworkDown,
826 }; 824 };
827 825
828 } // namespace webrtc 826 } // namespace webrtc
829 827
830 #endif // WEBRTC_COMMON_TYPES_H_ 828 #endif // WEBRTC_COMMON_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698