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 21 matching lines...) Expand all Loading... |
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 WebCore { | 38 namespace WebCore { |
39 class RTCIceCandidateDescriptor; | 39 class RTCIceCandidateDescriptor; |
40 } | 40 } |
41 | 41 |
42 namespace WebKit { | 42 namespace blink { |
43 | 43 |
44 class WebString; | 44 class WebString; |
45 class WebRTCICECandidatePrivate; | 45 class WebRTCICECandidatePrivate; |
46 | 46 |
47 class WebRTCICECandidate { | 47 class WebRTCICECandidate { |
48 public: | 48 public: |
49 WebRTCICECandidate() { } | 49 WebRTCICECandidate() { } |
50 WebRTCICECandidate(const WebRTCICECandidate& other) { assign(other); } | 50 WebRTCICECandidate(const WebRTCICECandidate& other) { assign(other); } |
51 ~WebRTCICECandidate() { reset(); } | 51 ~WebRTCICECandidate() { reset(); } |
52 | 52 |
(...skipping 17 matching lines...) Expand all Loading... |
70 WebRTCICECandidate(WebString candidate, WebString sdpMid, unsigned short sdp
MLineIndex) | 70 WebRTCICECandidate(WebString candidate, WebString sdpMid, unsigned short sdp
MLineIndex) |
71 { | 71 { |
72 this->initialize(candidate, sdpMid, sdpMLineIndex); | 72 this->initialize(candidate, sdpMid, sdpMLineIndex); |
73 } | 73 } |
74 #endif | 74 #endif |
75 | 75 |
76 private: | 76 private: |
77 WebPrivatePtr<WebRTCICECandidatePrivate> m_private; | 77 WebPrivatePtr<WebRTCICECandidatePrivate> m_private; |
78 }; | 78 }; |
79 | 79 |
80 } // namespace WebKit | 80 } // namespace blink |
81 | 81 |
82 #endif // WebRTCICECandidate_h | 82 #endif // WebRTCICECandidate_h |
OLD | NEW |