| 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 #include "remoting/protocol/content_description.h" | 5 #include "remoting/protocol/content_description.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
| 9 #include "remoting/base/constants.h" | 9 #include "remoting/base/constants.h" |
| 10 #include "remoting/protocol/authenticator.h" | 10 #include "remoting/protocol/authenticator.h" |
| 11 #include "remoting/protocol/name_value_map.h" | 11 #include "remoting/protocol/name_value_map.h" |
| 12 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" | 12 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" |
| 13 | 13 |
| 14 using buzz::QName; | 14 using buzz::QName; |
| 15 using buzz::XmlElement; | 15 using buzz::XmlElement; |
| 16 | 16 |
| 17 namespace remoting { | 17 namespace remoting { |
| 18 namespace protocol { | 18 namespace protocol { |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 const XmlElement* child = Authenticator::FindAuthenticatorMessage(element); | 232 const XmlElement* child = Authenticator::FindAuthenticatorMessage(element); |
| 233 if (child) | 233 if (child) |
| 234 authenticator_message.reset(new XmlElement(*child)); | 234 authenticator_message.reset(new XmlElement(*child)); |
| 235 | 235 |
| 236 return scoped_ptr<ContentDescription>( | 236 return scoped_ptr<ContentDescription>( |
| 237 new ContentDescription(config.Pass(), authenticator_message.Pass())); | 237 new ContentDescription(config.Pass(), authenticator_message.Pass())); |
| 238 } | 238 } |
| 239 | 239 |
| 240 } // namespace protocol | 240 } // namespace protocol |
| 241 } // namespace remoting | 241 } // namespace remoting |
| OLD | NEW |