Index: remoting/host/chromoting_host.cc |
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc |
index ef2ea19729cbfa0db13c4103320406a72189d06e..4e203c4ecb77da9892013c5d5b533111d60741ff 100644 |
--- a/remoting/host/chromoting_host.cc |
+++ b/remoting/host/chromoting_host.cc |
@@ -141,6 +141,10 @@ void ChromotingHost::RemoveStatusObserver(HostStatusObserver* observer) { |
status_observers_.RemoveObserver(observer); |
} |
+void ChromotingHost::AddExtension(scoped_ptr<Extension> extension) { |
+ extensions_.push_back(extension.release()); |
+} |
+ |
void ChromotingHost::RejectAuthenticatingClient() { |
DCHECK(authenticating_client_); |
reject_authenticating_client_ = true; |
@@ -319,7 +323,8 @@ void ChromotingHost::OnIncomingSession( |
connection.Pass(), |
desktop_environment_factory_, |
max_session_duration_, |
- pairing_registry_); |
+ pairing_registry_, |
+ &extensions_.get()); |
Wez
2014/05/28 01:05:59
This looks weird; does ScopedVector.get() return t
dcaiafa
2014/05/28 22:44:58
Removed.
|
clients_.push_back(client); |
} |