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

Side by Side Diff: remoting/protocol/jingle_session_manager.cc

Issue 9307114: Coverity: Initialize member variables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build fix. Created 8 years, 10 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "remoting/protocol/jingle_session_manager.h" 5 #include "remoting/protocol/jingle_session_manager.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 13 matching lines...) Expand all
24 24
25 using buzz::XmlElement; 25 using buzz::XmlElement;
26 26
27 namespace remoting { 27 namespace remoting {
28 namespace protocol { 28 namespace protocol {
29 29
30 JingleSessionManager::JingleSessionManager( 30 JingleSessionManager::JingleSessionManager(
31 base::MessageLoopProxy* message_loop) 31 base::MessageLoopProxy* message_loop)
32 : message_loop_(message_loop), 32 : message_loop_(message_loop),
33 signal_strategy_(NULL), 33 signal_strategy_(NULL),
34 listener_(NULL),
34 allow_nat_traversal_(false), 35 allow_nat_traversal_(false),
35 ready_(false), 36 ready_(false),
36 http_port_allocator_(NULL), 37 http_port_allocator_(NULL),
37 closed_(false) { 38 closed_(false) {
38 } 39 }
39 40
40 JingleSessionManager::~JingleSessionManager() { 41 JingleSessionManager::~JingleSessionManager() {
41 // Session manager can be destroyed only after all sessions are destroyed. 42 // Session manager can be destroyed only after all sessions are destroyed.
42 DCHECK(sessions_.empty()); 43 DCHECK(sessions_.empty());
43 Close(); 44 Close();
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 cricket::WriteError* error) { 262 cricket::WriteError* error) {
262 const ContentDescription* desc = 263 const ContentDescription* desc =
263 static_cast<const ContentDescription*>(content); 264 static_cast<const ContentDescription*>(content);
264 265
265 *elem = desc->ToXml(); 266 *elem = desc->ToXml();
266 return true; 267 return true;
267 } 268 }
268 269
269 } // namespace protocol 270 } // namespace protocol
270 } // namespace remoting 271 } // namespace remoting
OLDNEW
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/module_ppapi.cc ('k') | remoting/protocol/negotiating_authenticator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698