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

Side by Side Diff: remoting/protocol/jingle_connection_to_host.h

Issue 6359010: Add PepperViewProxy to protect PepperView and ChromotingInstance on shutdown (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: done Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // JingleConnectionToHost implements the ConnectionToHost interface using 5 // JingleConnectionToHost implements the ConnectionToHost interface using
6 // libjingle as the transport protocol. 6 // libjingle as the transport protocol.
7 // 7 //
8 // Much of this class focuses on translating JingleClient and 8 // Much of this class focuses on translating JingleClient and
9 // ChromotingConnection callbacks into ConnectionToHost::HostEventCallback 9 // ChromotingConnection callbacks into ConnectionToHost::HostEventCallback
10 // messages. 10 // messages.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // server, and then disconnect XMPP connection. 84 // server, and then disconnect XMPP connection.
85 void OnDisconnected(); 85 void OnDisconnected();
86 void OnServerClosed(); 86 void OnServerClosed();
87 87
88 JingleThread* thread_; 88 JingleThread* thread_;
89 89
90 scoped_refptr<JingleClient> jingle_client_; 90 scoped_refptr<JingleClient> jingle_client_;
91 scoped_refptr<SessionManager> session_manager_; 91 scoped_refptr<SessionManager> session_manager_;
92 scoped_refptr<Session> session_; 92 scoped_refptr<Session> session_;
93 93
94 MessageReader control_reader_; 94 scoped_refptr<MessageReader> control_reader_;
Sergey Ulanov 2011/01/25 22:26:53 This was replaced with dispatcher_, so we don't ne
95 scoped_ptr<VideoReader> video_reader_; 95 scoped_ptr<VideoReader> video_reader_;
96 96
97 HostEventCallback* event_callback_; 97 HostEventCallback* event_callback_;
98 VideoStub* video_stub_; 98 VideoStub* video_stub_;
99 99
100 std::string host_jid_; 100 std::string host_jid_;
101 101
102 scoped_ptr<ClientMessageDispatcher> dispatcher_; 102 scoped_ptr<ClientMessageDispatcher> dispatcher_;
103 103
104 DISALLOW_COPY_AND_ASSIGN(JingleConnectionToHost); 104 DISALLOW_COPY_AND_ASSIGN(JingleConnectionToHost);
105 }; 105 };
106 106
107 } // namespace protocol 107 } // namespace protocol
108 } // namespace remoting 108 } // namespace remoting
109 109
110 DISABLE_RUNNABLE_METHOD_REFCOUNT(remoting::protocol::JingleConnectionToHost); 110 DISABLE_RUNNABLE_METHOD_REFCOUNT(remoting::protocol::JingleConnectionToHost);
111 111
112 #endif // REMOTING_PROTOCOL_JINGLE_CONNECTION_TO_HOST_H_ 112 #endif // REMOTING_PROTOCOL_JINGLE_CONNECTION_TO_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698