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

Unified Diff: remoting/protocol/pepper_session_manager.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/pepper_session_manager.h
diff --git a/remoting/protocol/pepper_session_manager.h b/remoting/protocol/pepper_session_manager.h
index 4db2f05ff1bf4df7acf11071f19a9517ec9e8eed..630684d77787e2479de428a5ea784c881969b090 100644
--- a/remoting/protocol/pepper_session_manager.h
+++ b/remoting/protocol/pepper_session_manager.h
@@ -51,10 +51,10 @@ class PepperSessionManager : public SessionManager,
virtual void Init(SignalStrategy* signal_strategy,
SessionManager::Listener* listener,
const NetworkSettings& network_settings) OVERRIDE;
- virtual Session* Connect(
+ virtual scoped_ptr<Session> Connect(
const std::string& host_jid,
- Authenticator* authenticator,
- CandidateSessionConfig* config,
+ scoped_ptr<Authenticator> authenticator,
+ scoped_ptr<CandidateSessionConfig> config,
const Session::StateChangeCallback& state_change_callback) OVERRIDE;
virtual void Close() OVERRIDE;
virtual void set_authenticator_factory(

Powered by Google App Engine
This is Rietveld 408576698