summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/fake_session.h
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/protocol/fake_session.h')
-rw-r--r--remoting/protocol/fake_session.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/protocol/fake_session.h b/remoting/protocol/fake_session.h
index 2e5d5ce..e8ea472 100644
--- a/remoting/protocol/fake_session.h
+++ b/remoting/protocol/fake_session.h
@@ -39,7 +39,7 @@ class FakeSession : public Session {
const std::string& jid() override;
const CandidateSessionConfig* candidate_config() override;
const SessionConfig& config() override;
- void set_config(const SessionConfig& config) override;
+ void set_config(scoped_ptr<SessionConfig> config) override;
StreamChannelFactory* GetTransportChannelFactory() override;
StreamChannelFactory* GetMultiplexedChannelFactory() override;
void Close() override;
@@ -47,7 +47,7 @@ class FakeSession : public Session {
public:
EventHandler* event_handler_;
scoped_ptr<const CandidateSessionConfig> candidate_config_;
- SessionConfig config_;
+ scoped_ptr<SessionConfig> config_;
FakeStreamChannelFactory channel_factory_;