Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(864)

Unified Diff: remoting/host/it2me_host_user_interface.h

Issue 9720019: Use scoped_ptr<> to pass ownership in more places. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/host_mock_objects.cc ('k') | remoting/host/it2me_host_user_interface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « remoting/host/host_mock_objects.cc ('k') | remoting/host/it2me_host_user_interface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698