OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/signaling/server_log_entry_unittest.h" | 5 #include "remoting/signaling/server_log_entry_unittest.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
10 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" | 10 #include "third_party/libjingle_xmpp/xmllite/xmlelement.h" |
11 | 11 |
12 using buzz::QName; | 12 using buzz::QName; |
13 using buzz::XmlAttr; | 13 using buzz::XmlAttr; |
14 using buzz::XmlElement; | 14 using buzz::XmlElement; |
15 | 15 |
16 namespace remoting { | 16 namespace remoting { |
17 | 17 |
18 const char kJabberClientNamespace[] = "jabber:client"; | 18 const char kJabberClientNamespace[] = "jabber:client"; |
19 const char kChromotingNamespace[] = "google:remoting"; | 19 const char kChromotingNamespace[] = "google:remoting"; |
20 | 20 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 std::stringstream s; | 88 std::stringstream s; |
89 s << "stanza has " << attrCount << " keys: expected " | 89 s << "stanza has " << attrCount << " keys: expected " |
90 << attr_count_expected; | 90 << attr_count_expected; |
91 *error = s.str(); | 91 *error = s.str(); |
92 return false; | 92 return false; |
93 } | 93 } |
94 return true; | 94 return true; |
95 } | 95 } |
96 | 96 |
97 } // namespace remoting | 97 } // namespace remoting |
OLD | NEW |