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

Unified Diff: remoting/protocol/jingle_channel_connector.h

Issue 9240033: Use scoped_ptr<>.Pass() to pass ownership in the remoting protocol code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 years, 11 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
Index: remoting/protocol/jingle_channel_connector.h
diff --git a/remoting/protocol/jingle_channel_connector.h b/remoting/protocol/jingle_channel_connector.h
index 09c815091cc64d60abf5785abfc987c19535aa30..41c369223f8bf0f7bc1ec5d577c081c2d5927c6b 100644
--- a/remoting/protocol/jingle_channel_connector.h
+++ b/remoting/protocol/jingle_channel_connector.h
@@ -28,9 +28,8 @@ class JingleChannelConnector : public base::NonThreadSafe {
JingleChannelConnector() { }
virtual ~JingleChannelConnector() { }
- // Starts the connection process for the channel. Takes ownership of
- // |authenticator|.
- virtual void Connect(ChannelAuthenticator* authenticator,
+ // Starts the connection process for the channel.
+ virtual void Connect(scoped_ptr<ChannelAuthenticator> authenticator,
cricket::TransportChannel* raw_channel) = 0;
protected:

Powered by Google App Engine
This is Rietveld 408576698