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

Unified Diff: remoting/protocol/jingle_stream_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_stream_connector.h
diff --git a/remoting/protocol/jingle_stream_connector.h b/remoting/protocol/jingle_stream_connector.h
index 1dd0240bc028cddf8d10fb3f8c85d1058e3c6f3b..445d618a5acd3db5fbefc580060c24bd2cbb1069 100644
--- a/remoting/protocol/jingle_stream_connector.h
+++ b/remoting/protocol/jingle_stream_connector.h
@@ -42,7 +42,7 @@ class JingleStreamConnector : public JingleChannelConnector {
virtual ~JingleStreamConnector();
// JingleChannelConnector implementation.
- virtual void Connect(ChannelAuthenticator* authenticator,
+ virtual void Connect(scoped_ptr<ChannelAuthenticator> authenticator,
cricket::TransportChannel* raw_channel) OVERRIDE;
private:

Powered by Google App Engine
This is Rietveld 408576698