OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 18 matching lines...) Expand all Loading... |
29 */ | 29 */ |
30 | 30 |
31 #ifndef WebRTCICECandidate_h | 31 #ifndef WebRTCICECandidate_h |
32 #define WebRTCICECandidate_h | 32 #define WebRTCICECandidate_h |
33 | 33 |
34 #include "WebCommon.h" | 34 #include "WebCommon.h" |
35 #include "WebPrivatePtr.h" | 35 #include "WebPrivatePtr.h" |
36 #include "WebString.h" | 36 #include "WebString.h" |
37 | 37 |
38 namespace blink { | 38 namespace blink { |
39 class RTCIceCandidateDescriptor; | |
40 } | |
41 | |
42 namespace blink { | |
43 | 39 |
44 class WebString; | 40 class WebString; |
45 class WebRTCICECandidatePrivate; | 41 class WebRTCICECandidatePrivate; |
46 | 42 |
47 class WebRTCICECandidate { | 43 class WebRTCICECandidate { |
48 public: | 44 public: |
49 WebRTCICECandidate() { } | 45 WebRTCICECandidate() { } |
50 WebRTCICECandidate(const WebRTCICECandidate& other) { assign(other); } | 46 WebRTCICECandidate(const WebRTCICECandidate& other) { assign(other); } |
51 ~WebRTCICECandidate() { reset(); } | 47 ~WebRTCICECandidate() { reset(); } |
52 | 48 |
(...skipping 23 matching lines...) Expand all Loading... |
76 } | 72 } |
77 #endif | 73 #endif |
78 | 74 |
79 private: | 75 private: |
80 WebPrivatePtr<WebRTCICECandidatePrivate> m_private; | 76 WebPrivatePtr<WebRTCICECandidatePrivate> m_private; |
81 }; | 77 }; |
82 | 78 |
83 } // namespace blink | 79 } // namespace blink |
84 | 80 |
85 #endif // WebRTCICECandidate_h | 81 #endif // WebRTCICECandidate_h |
OLD | NEW |