OLD | NEW |
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 #include "remoting/protocol/content_description.h" | 5 #include "remoting/protocol/content_description.h" |
6 | 6 |
7 #include "base/base64.h" | 7 #include "base/base64.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/string_number_conversions.h" | 9 #include "base/string_number_conversions.h" |
10 #include "remoting/base/constants.h" | 10 #include "remoting/base/constants.h" |
11 #include "remoting/proto/auth.pb.h" | |
12 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" | 11 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" |
13 | 12 |
14 using buzz::QName; | 13 using buzz::QName; |
15 using buzz::XmlElement; | 14 using buzz::XmlElement; |
16 | 15 |
17 namespace remoting { | 16 namespace remoting { |
18 namespace protocol { | 17 namespace protocol { |
19 | 18 |
20 const char ContentDescription::kChromotingContentName[] = "chromoting"; | 19 const char ContentDescription::kChromotingContentName[] = "chromoting"; |
21 | 20 |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 } | 319 } |
321 | 320 |
322 return new ContentDescription(config.release(), auth_token, certificate); | 321 return new ContentDescription(config.release(), auth_token, certificate); |
323 } | 322 } |
324 LOG(ERROR) << "Invalid description: " << element->Str(); | 323 LOG(ERROR) << "Invalid description: " << element->Str(); |
325 return NULL; | 324 return NULL; |
326 } | 325 } |
327 | 326 |
328 } // namespace protocol | 327 } // namespace protocol |
329 } // namespace remoting | 328 } // namespace remoting |
OLD | NEW |