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 "base/sys_info.h" | 7 #include "base/sys_info.h" |
8 #include "remoting/client/chromoting_stats.h" | 8 #include "remoting/client/chromoting_stats.h" |
9 #include "remoting/client/server_log_entry_client.h" | 9 #include "remoting/client/server_log_entry_client.h" |
10 #include "remoting/jingle_glue/server_log_entry.h" | 10 #include "remoting/signaling/server_log_entry.h" |
11 #include "remoting/jingle_glue/server_log_entry_unittest.h" | 11 #include "remoting/signaling/server_log_entry_unittest.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
13 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" | 13 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" |
14 | 14 |
15 using base::SysInfo; | 15 using base::SysInfo; |
16 using buzz::XmlAttr; | 16 using buzz::XmlAttr; |
17 using buzz::XmlElement; | 17 using buzz::XmlElement; |
18 using remoting::protocol::ConnectionToHost; | 18 using remoting::protocol::ConnectionToHost; |
19 | 19 |
20 namespace remoting { | 20 namespace remoting { |
21 | 21 |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 key_value_pairs["role"] = "client"; | 116 key_value_pairs["role"] = "client"; |
117 key_value_pairs["event-name"] = "session-state"; | 117 key_value_pairs["event-name"] = "session-state"; |
118 key_value_pairs["session-state"] = "connected"; | 118 key_value_pairs["session-state"] = "connected"; |
119 key_value_pairs["session-duration"] = "123"; | 119 key_value_pairs["session-duration"] = "123"; |
120 std::set<std::string> keys; | 120 std::set<std::string> keys; |
121 ASSERT_TRUE(VerifyStanza(key_value_pairs, keys, stanza.get(), &error)) | 121 ASSERT_TRUE(VerifyStanza(key_value_pairs, keys, stanza.get(), &error)) |
122 << error; | 122 << error; |
123 } | 123 } |
124 | 124 |
125 } // namespace remoting | 125 } // namespace remoting |
OLD | NEW |