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.
5 #ifndef COMPONENTS_DEVTOOLS_BRIDGE_RTC_CONFIGURATION_H_
6 #define COMPONENTS_DEVTOOLS_BRIDGE_RTC_CONFIGURATION_H_
10 #include "base/memory/scoped_ptr.h"
12 namespace devtools_bridge
{
15 * WebRTC configuration for DevTools Bridge.
17 class RTCConfiguration
{
22 virtual ~RTCConfiguration() {}
24 virtual void AddIceServer(
25 const std::string
& uri
,
26 const std::string
& username
,
27 const std::string
& credential
) = 0;
29 virtual const Impl
& impl() const = 0;
31 static scoped_ptr
<RTCConfiguration
> CreateInstance();
34 DISALLOW_COPY_AND_ASSIGN(RTCConfiguration
);
37 } // namespace devtools_bridge
39 #endif // COMPONENTS_DEVTOOLS_BRIDGE_RTC_CONFIGURATION_H_