| OLD | NEW |
| 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 #ifndef REMOTING_PROTOCOL_CONTENT_DESCRIPTION_H_ | 5 #ifndef REMOTING_PROTOCOL_CONTENT_DESCRIPTION_H_ |
| 6 #define REMOTING_PROTOCOL_CONTENT_DESCRIPTION_H_ | 6 #define REMOTING_PROTOCOL_CONTENT_DESCRIPTION_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 const buzz::XmlElement* element); | 48 const buzz::XmlElement* element); |
| 49 | 49 |
| 50 private: | 50 private: |
| 51 scoped_ptr<const CandidateSessionConfig> candidate_config_; | 51 scoped_ptr<const CandidateSessionConfig> candidate_config_; |
| 52 scoped_ptr<const buzz::XmlElement> authenticator_message_; | 52 scoped_ptr<const buzz::XmlElement> authenticator_message_; |
| 53 | 53 |
| 54 static bool ParseChannelConfigs(const buzz::XmlElement* const element, | 54 static bool ParseChannelConfigs(const buzz::XmlElement* const element, |
| 55 const char tag_name[], | 55 const char tag_name[], |
| 56 bool codec_required, | 56 bool codec_required, |
| 57 bool optional, | 57 bool optional, |
| 58 std::vector<ChannelConfig>* const configs); | 58 std::list<ChannelConfig>* const configs); |
| 59 }; | 59 }; |
| 60 | 60 |
| 61 } // namespace protocol | 61 } // namespace protocol |
| 62 } // namespace remoting | 62 } // namespace remoting |
| 63 | 63 |
| 64 #endif // REMOTING_PROTOCOL_CONTENT_DESCRIPTION_H_ | 64 #endif // REMOTING_PROTOCOL_CONTENT_DESCRIPTION_H_ |
| OLD | NEW |