OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef COMPONENTS_DEVTOOLS_BRIDGE_RTC_CONFIGURATION_H_ |
| 6 #define COMPONENTS_DEVTOOLS_BRIDGE_RTC_CONFIGURATION_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "base/memory/scoped_ptr.h" |
| 11 |
| 12 namespace devtools_bridge { |
| 13 |
| 14 /** |
| 15 * WebRTC configuration for DevTools Bridge. |
| 16 */ |
| 17 class RTCConfiguration { |
| 18 public: |
| 19 class Impl; |
| 20 |
| 21 RTCConfiguration() {} |
| 22 virtual ~RTCConfiguration() {} |
| 23 |
| 24 virtual void AddIceServer( |
| 25 const std::string& uri, |
| 26 const std::string& username, |
| 27 const std::string& credential) = 0; |
| 28 |
| 29 virtual const Impl& impl() const = 0; |
| 30 |
| 31 static scoped_ptr<RTCConfiguration> CreateInstance(); |
| 32 |
| 33 private: |
| 34 DISALLOW_COPY_AND_ASSIGN(RTCConfiguration); |
| 35 }; |
| 36 |
| 37 } // namespace devtools_bridge |
| 38 |
| 39 #endif // COMPONENTS_DEVTOOLS_BRIDGE_RTC_CONFIGURATION_H_ |
OLD | NEW |