Revert of Add support for compressed GPU memory buffers. (patchset #7 id:120001 of...
[chromium-blink-merge.git] / components / devtools_bridge / rtc_configuration.h
blob7eb0a2204e7e56a0467a373ccc3cea39a7614366
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_
8 #include <string>
10 #include "base/memory/scoped_ptr.h"
12 namespace devtools_bridge {
14 /**
15 * WebRTC configuration for DevTools Bridge.
17 class RTCConfiguration {
18 public:
19 class Impl;
21 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();
33 private:
34 DISALLOW_COPY_AND_ASSIGN(RTCConfiguration);
37 } // namespace devtools_bridge
39 #endif // COMPONENTS_DEVTOOLS_BRIDGE_RTC_CONFIGURATION_H_