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

Unified Diff: remoting/host/heartbeat_sender.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
Index: remoting/host/heartbeat_sender.h
diff --git a/remoting/host/heartbeat_sender.h b/remoting/host/heartbeat_sender.h
index 9f48f783d67f5783add6090ada1adeae4946d246..92425fefb832952a33ae230aaf2c861998578f0f 100644
--- a/remoting/host/heartbeat_sender.h
+++ b/remoting/host/heartbeat_sender.h
@@ -79,9 +79,9 @@ class IqSender;
// </iq>
class HeartbeatSender : public SignalStrategy::Listener {
public:
- // Doesn't take ownership of |signal_strategy| or |key_pair|. Both
- // parameters must outlive this object. Heartbeats will start when
- // the supplied SignalStrategy enters the CONNECTED state.
+ // |signal_strategy| and |key_pair| must outlive this
+ // object. Heartbeats will start when the supplied SignalStrategy
+ // enters the CONNECTED state.
HeartbeatSender(const std::string& host_id,
SignalStrategy* signal_strategy,
HostKeyPair* key_pair);

Powered by Google App Engine
This is Rietveld 408576698