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 "base/memory/scoped_ptr.h" | 5 #include "base/memory/scoped_ptr.h" |
6 #include "base/strings/stringize_macros.h" | 6 #include "base/strings/stringize_macros.h" |
| 7 #include "build/build_config.h" |
7 #include "remoting/host/server_log_entry_host.h" | 8 #include "remoting/host/server_log_entry_host.h" |
8 #include "remoting/signaling/server_log_entry.h" | 9 #include "remoting/signaling/server_log_entry.h" |
9 #include "remoting/signaling/server_log_entry_unittest.h" | 10 #include "remoting/signaling/server_log_entry_unittest.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
11 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" | 12 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" |
12 | 13 |
13 using buzz::XmlAttr; | 14 using buzz::XmlAttr; |
14 using buzz::XmlElement; | 15 using buzz::XmlElement; |
15 | 16 |
16 namespace remoting { | 17 namespace remoting { |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 key_value_pairs["role"] = "host"; | 100 key_value_pairs["role"] = "host"; |
100 key_value_pairs["event-name"] = "session-state"; | 101 key_value_pairs["event-name"] = "session-state"; |
101 key_value_pairs["session-state"] = "connected"; | 102 key_value_pairs["session-state"] = "connected"; |
102 key_value_pairs["mode"] = "me2me"; | 103 key_value_pairs["mode"] = "me2me"; |
103 std::set<std::string> keys; | 104 std::set<std::string> keys; |
104 ASSERT_TRUE(VerifyStanza(key_value_pairs, keys, stanza.get(), &error)) << | 105 ASSERT_TRUE(VerifyStanza(key_value_pairs, keys, stanza.get(), &error)) << |
105 error; | 106 error; |
106 } | 107 } |
107 | 108 |
108 } // namespace remoting | 109 } // namespace remoting |
OLD | NEW |