aboutsummaryrefslogtreecommitdiff
path: root/call/call_factory.h
diff options
context:
space:
mode:
authorErwin Jansen <jansene@google.com>2023-12-15 11:49:13 -0800
committerErwin Jansen <jansene@google.com>2023-12-15 11:49:13 -0800
commit3828327c300510e0d542f0e7c9a46e75363c7a96 (patch)
tree3cecdfdd9c8114b079c2875e5c0737adb22ef0e7 /call/call_factory.h
parent6b2545f8bc9c20c375497afad71e11d271ebf705 (diff)
parent7e6315a61994be57daaf5fc491564cd543072be4 (diff)
downloadwebrtc-3828327c300510e0d542f0e7c9a46e75363c7a96.tar.gz
Partial merge of WebRTC
This is a partial merge. This is needed since we do not accept changes to OWNER files from the chrome domain, so those cannot come in a single merge. Change-Id: I37473f53ec79e422e8b77761a5859ebcd73f2e3e
Diffstat (limited to 'call/call_factory.h')
-rw-r--r--call/call_factory.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/call/call_factory.h b/call/call_factory.h
index 9feed7bbb6..f75b1bd71b 100644
--- a/call/call_factory.h
+++ b/call/call_factory.h
@@ -11,6 +11,8 @@
#ifndef CALL_CALL_FACTORY_H_
#define CALL_CALL_FACTORY_H_
+#include <memory>
+
#include "api/call/call_factory_interface.h"
#include "api/sequence_checker.h"
#include "call/call.h"
@@ -22,11 +24,10 @@ namespace webrtc {
class CallFactory : public CallFactoryInterface {
public:
CallFactory();
+ ~CallFactory() override = default;
private:
- ~CallFactory() override {}
-
- Call* CreateCall(const CallConfig& config) override;
+ std::unique_ptr<Call> CreateCall(const CallConfig& config) override;
RTC_NO_UNIQUE_ADDRESS SequenceChecker call_thread_;
};