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

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

Issue 7064033: Virtual destructors should have virtual keyword. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 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
« no previous file with comments | « remoting/jingle_glue/ssl_socket_adapter.h ('k') | remoting/protocol/rtp_reader.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef REMOTING_PROTOCOL_JINGLE_SESSION_MANAGER_H_ 5 #ifndef REMOTING_PROTOCOL_JINGLE_SESSION_MANAGER_H_
6 #define REMOTING_PROTOCOL_JINGLE_SESSION_MANAGER_H_ 6 #define REMOTING_PROTOCOL_JINGLE_SESSION_MANAGER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 24 matching lines...) Expand all
35 // ContentDescription used for chromoting sessions. It contains the information 35 // ContentDescription used for chromoting sessions. It contains the information
36 // from the content description stanza in the session intialization handshake. 36 // from the content description stanza in the session intialization handshake.
37 // 37 //
38 // This class also provides a type abstraction so that the Chromotocol Session 38 // This class also provides a type abstraction so that the Chromotocol Session
39 // interface does not need to depend on libjingle. 39 // interface does not need to depend on libjingle.
40 class ContentDescription : public cricket::ContentDescription { 40 class ContentDescription : public cricket::ContentDescription {
41 public: 41 public:
42 explicit ContentDescription(const CandidateSessionConfig* config, 42 explicit ContentDescription(const CandidateSessionConfig* config,
43 const std::string& auth_token, 43 const std::string& auth_token,
44 scoped_refptr<net::X509Certificate> certificate); 44 scoped_refptr<net::X509Certificate> certificate);
45 ~ContentDescription(); 45 virtual ~ContentDescription();
46 46
47 const CandidateSessionConfig* config() const { 47 const CandidateSessionConfig* config() const {
48 return candidate_config_.get(); 48 return candidate_config_.get();
49 } 49 }
50 50
51 const std::string& auth_token() const { return auth_token_; } 51 const std::string& auth_token() const { return auth_token_; }
52 52
53 scoped_refptr<net::X509Certificate> certificate() const { 53 scoped_refptr<net::X509Certificate> certificate() const {
54 return certificate_; 54 return certificate_;
55 } 55 }
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 scoped_ptr<crypto::RSAPrivateKey> private_key_; 152 scoped_ptr<crypto::RSAPrivateKey> private_key_;
153 153
154 DISALLOW_COPY_AND_ASSIGN(JingleSessionManager); 154 DISALLOW_COPY_AND_ASSIGN(JingleSessionManager);
155 }; 155 };
156 156
157 } // namespace protocol 157 } // namespace protocol
158 158
159 } // namespace remoting 159 } // namespace remoting
160 160
161 #endif // REMOTING_PROTOCOL_JINGLE_SESSION_MANAGER_H_ 161 #endif // REMOTING_PROTOCOL_JINGLE_SESSION_MANAGER_H_
OLDNEW
« no previous file with comments | « remoting/jingle_glue/ssl_socket_adapter.h ('k') | remoting/protocol/rtp_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698