Index: remoting/host/it2me_host_user_interface.h |
diff --git a/remoting/host/it2me_host_user_interface.h b/remoting/host/it2me_host_user_interface.h |
index 64f3522a5fb9a6d1d82cfd652bae062388540637..897ddd7e728571ae3225971388dcfc4ec6967c95 100644 |
--- a/remoting/host/it2me_host_user_interface.h |
+++ b/remoting/host/it2me_host_user_interface.h |
@@ -58,11 +58,10 @@ class It2MeHostUserInterface : public HostStatusObserver { |
friend class ChromotingHostTest; |
// Used by unit-tests as an alternative to Init() so that mock versions of |
- // internal objects can be used. This takes ownership of all objects passed |
- // in. |
- void InitFrom(DisconnectWindow* disconnect_window, |
- ContinueWindow* continue_window, |
- LocalInputMonitor* monitor); |
+ // internal objects can be used. |
+ void InitFrom(scoped_ptr<DisconnectWindow> disconnect_window, |
+ scoped_ptr<ContinueWindow> continue_window, |
+ scoped_ptr<LocalInputMonitor> monitor); |
void ProcessOnClientAuthenticated(const std::string& username); |
void ProcessOnClientDisconnected(); |