diff options
Diffstat (limited to 'jingle')
-rw-r--r-- | jingle/notifier/listener/talk_mediator_impl.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jingle/notifier/listener/talk_mediator_impl.h b/jingle/notifier/listener/talk_mediator_impl.h index 68b80cf..7af2721 100644 --- a/jingle/notifier/listener/talk_mediator_impl.h +++ b/jingle/notifier/listener/talk_mediator_impl.h @@ -24,7 +24,10 @@ namespace notifier { class TalkMediatorImpl : public TalkMediator, public MediatorThread::Observer { public: - // Takes ownership of |mediator_thread|. + // Takes ownership of |mediator_thread|. It is guaranteed that + // |mediator_thread| is destroyed only when this object is destroyed. + // This means that you can store a pointer to mediator_thread separately + // and use it until this object is destroyed. TalkMediatorImpl( MediatorThread* mediator_thread, bool invalidate_xmpp_auth_token, bool allow_insecure_connection); |