| 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 <utility> |
| 8 |
| 7 #include "base/base64.h" | 9 #include "base/base64.h" |
| 8 #include "base/logging.h" | 10 #include "base/logging.h" |
| 9 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
| 10 #include "remoting/base/constants.h" | 12 #include "remoting/base/constants.h" |
| 11 #include "remoting/protocol/authenticator.h" | 13 #include "remoting/protocol/authenticator.h" |
| 12 #include "remoting/protocol/name_value_map.h" | 14 #include "remoting/protocol/name_value_map.h" |
| 13 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" | 15 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" |
| 14 | 16 |
| 15 using buzz::QName; | 17 using buzz::QName; |
| 16 using buzz::XmlElement; | 18 using buzz::XmlElement; |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 const XmlElement* child = Authenticator::FindAuthenticatorMessage(element); | 236 const XmlElement* child = Authenticator::FindAuthenticatorMessage(element); |
| 235 if (child) | 237 if (child) |
| 236 authenticator_message.reset(new XmlElement(*child)); | 238 authenticator_message.reset(new XmlElement(*child)); |
| 237 | 239 |
| 238 return make_scoped_ptr(new ContentDescription( | 240 return make_scoped_ptr(new ContentDescription( |
| 239 std::move(config), std::move(authenticator_message))); | 241 std::move(config), std::move(authenticator_message))); |
| 240 } | 242 } |
| 241 | 243 |
| 242 } // namespace protocol | 244 } // namespace protocol |
| 243 } // namespace remoting | 245 } // namespace remoting |
| OLD | NEW |