Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* | |
| 2 * Copyright 2017 The WebRTC project authors. All Rights Reserved. | |
| 3 * | |
| 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 | |
| 6 * tree. An additional intellectual property rights grant can be found | |
| 7 * in the file PATENTS. All contributing project authors may | |
| 8 * be found in the AUTHORS file in the root of the source tree. | |
| 9 */ | |
| 10 | |
| 11 #ifndef WEBRTC_CALL_CALLFACTORYINTERFACE_H_ | |
| 12 #define WEBRTC_CALL_CALLFACTORYINTERFACE_H_ | |
| 13 | |
| 14 #include <memory> | |
| 15 | |
| 16 #include "webrtc/call/call.h" | |
| 17 | |
| 18 namespace webrtc { | |
| 19 | |
|
Taylor Brandstetter
2017/06/14 01:54:16
This and event_log_factory_interface.h could use s
Zhi Huang
2017/06/14 06:57:01
Done.
I'm confused about where this interface sho
Taylor Brandstetter
2017/06/15 00:35:02
Don't worry about moving the files for now. I'll p
| |
| 20 class CallFactoryInterface { | |
| 21 public: | |
| 22 virtual ~CallFactoryInterface() {} | |
| 23 | |
| 24 virtual Call* CreateCall(const Call::Config& config) = 0; | |
| 25 }; | |
| 26 | |
| 27 std::unique_ptr<CallFactoryInterface> CreateCallFactory(); | |
|
Taylor Brandstetter
2017/06/14 01:54:16
nit: newline before '}'
Zhi Huang
2017/06/14 06:57:01
Done.
| |
| 28 } // namespace webrtc | |
| 29 | |
| 30 #endif // WEBRTC_CALL_CALLFACTORYINTERFACE_H_ | |
| OLD | NEW |