| 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 void setIceTransports(RTCIceTransports iceTransports) { m_iceTransports = ic
eTransports; } | 87 void setIceTransports(RTCIceTransports iceTransports) { m_iceTransports = ic
eTransports; } |
| 88 RTCIceTransports iceTransports() { return m_iceTransports; } | 88 RTCIceTransports iceTransports() { return m_iceTransports; } |
| 89 void setBundlePolicy(RTCBundlePolicy bundlePolicy) { m_bundlePolicy = bundle
Policy; } | 89 void setBundlePolicy(RTCBundlePolicy bundlePolicy) { m_bundlePolicy = bundle
Policy; } |
| 90 RTCBundlePolicy bundlePolicy() { return m_bundlePolicy; } | 90 RTCBundlePolicy bundlePolicy() { return m_bundlePolicy; } |
| 91 | 91 |
| 92 void trace(Visitor* visitor) { visitor->trace(m_servers); } | 92 void trace(Visitor* visitor) { visitor->trace(m_servers); } |
| 93 | 93 |
| 94 private: | 94 private: |
| 95 RTCConfiguration() : m_iceTransports(RTCIceTransportsAll), m_bundlePolicy(RT
CBundlePolicyBalanced) { } | 95 RTCConfiguration() : m_iceTransports(RTCIceTransportsAll), m_bundlePolicy(RT
CBundlePolicyBalanced) { } |
| 96 | 96 |
| 97 HeapVector<Member<RTCIceServer> > m_servers; | 97 HeapVector<Member<RTCIceServer>> m_servers; |
| 98 RTCIceTransports m_iceTransports; | 98 RTCIceTransports m_iceTransports; |
| 99 RTCBundlePolicy m_bundlePolicy; | 99 RTCBundlePolicy m_bundlePolicy; |
| 100 }; | 100 }; |
| 101 | 101 |
| 102 } // namespace blink | 102 } // namespace blink |
| 103 | 103 |
| 104 #endif // RTCConfiguration_h | 104 #endif // RTCConfiguration_h |
| OLD | NEW |