OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2017 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_ORTC_ORTCFACTORY_H_ | 11 #ifndef WEBRTC_ORTC_ORTCFACTORY_H_ |
12 #define WEBRTC_ORTC_ORTCFACTORY_H_ | 12 #define WEBRTC_ORTC_ORTCFACTORY_H_ |
13 | 13 |
14 #include <memory> | 14 #include <memory> |
15 #include <string> | 15 #include <string> |
16 | 16 |
17 #include "webrtc/api/ortc/ortcfactoryinterface.h" | 17 #include "webrtc/api/ortc/ortcfactoryinterface.h" |
| 18 #include "webrtc/base/constructormagic.h" |
| 19 #include "webrtc/base/scoped_ref_ptr.h" |
18 #include "webrtc/media/base/mediaengine.h" | 20 #include "webrtc/media/base/mediaengine.h" |
19 #include "webrtc/media/engine/webrtcmediaengine.h" | 21 #include "webrtc/media/engine/webrtcmediaengine.h" |
20 #include "webrtc/pc/channelmanager.h" | 22 #include "webrtc/pc/channelmanager.h" |
21 #include "webrtc/rtc_base/constructormagic.h" | |
22 #include "webrtc/rtc_base/scoped_ref_ptr.h" | |
23 | 23 |
24 namespace webrtc { | 24 namespace webrtc { |
25 | 25 |
26 // Implementation of OrtcFactoryInterface. | 26 // Implementation of OrtcFactoryInterface. |
27 // | 27 // |
28 // See ortcfactoryinterface.h for documentation. | 28 // See ortcfactoryinterface.h for documentation. |
29 class OrtcFactory : public OrtcFactoryInterface { | 29 class OrtcFactory : public OrtcFactoryInterface { |
30 public: | 30 public: |
31 ~OrtcFactory() override; | 31 ~OrtcFactory() override; |
32 | 32 |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 std::string default_cname_; | 142 std::string default_cname_; |
143 | 143 |
144 friend class OrtcFactoryInterface; | 144 friend class OrtcFactoryInterface; |
145 | 145 |
146 RTC_DISALLOW_COPY_AND_ASSIGN(OrtcFactory); | 146 RTC_DISALLOW_COPY_AND_ASSIGN(OrtcFactory); |
147 }; | 147 }; |
148 | 148 |
149 } // namespace webrtc | 149 } // namespace webrtc |
150 | 150 |
151 #endif // WEBRTC_ORTC_ORTCFACTORY_H_ | 151 #endif // WEBRTC_ORTC_ORTCFACTORY_H_ |
OLD | NEW |