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

Unified Diff: remoting/host/local_input_monitor.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/it2me_host_user_interface.cc ('k') | remoting/host/local_input_monitor_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/local_input_monitor.h
diff --git a/remoting/host/local_input_monitor.h b/remoting/host/local_input_monitor.h
index 7c2b9d57a0e81033274a8b22217654cd005d249b..fe5af9526a4adb52043ddd933516307519ed2cf2 100644
--- a/remoting/host/local_input_monitor.h
+++ b/remoting/host/local_input_monitor.h
@@ -5,6 +5,8 @@
#ifndef REMOTING_LOCAL_INPUT_MONITOR_H_
#define REMOTING_LOCAL_INPUT_MONITOR_H_
+#include "base/memory/scoped_ptr.h"
+
namespace remoting {
class ChromotingHost;
@@ -16,7 +18,7 @@ class LocalInputMonitor {
virtual void Start(ChromotingHost* host) = 0;
virtual void Stop() = 0;
- static LocalInputMonitor* Create();
+ static scoped_ptr<LocalInputMonitor> Create();
};
} // namespace remoting
« no previous file with comments | « remoting/host/it2me_host_user_interface.cc ('k') | remoting/host/local_input_monitor_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698