1 // Copyright 2018 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. 4 5 #ifndef OSP_PUBLIC_PROTOCOL_CONNECTION_CLIENT_FACTORY_H_ 6 #define OSP_PUBLIC_PROTOCOL_CONNECTION_CLIENT_FACTORY_H_ 7 8 #include <memory> 9 10 #include "osp/public/protocol_connection_client.h" 11 12 namespace openscreen { 13 14 class TaskRunner; 15 16 namespace osp { 17 18 class ProtocolConnectionClientFactory { 19 public: 20 static std::unique_ptr<ProtocolConnectionClient> Create( 21 MessageDemuxer* demuxer, 22 ProtocolConnectionServiceObserver* observer, 23 TaskRunner* task_runner); 24 }; 25 26 } // namespace osp 27 } // namespace openscreen 28 29 #endif // OSP_PUBLIC_PROTOCOL_CONNECTION_CLIENT_FACTORY_H_ 30