summaryrefslogtreecommitdiffstats
path: root/remoting/host/server_log_entry_unittest.cc
diff options
context:
space:
mode:
authorsimonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-19 22:09:58 +0000
committersimonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-19 22:09:58 +0000
commit777eb1b55633dfe1fbbc7064f7515a59cc9ee4f3 (patch)
tree7cfd1a5206c43502b38b3fa7c7c19663a7fb1d76 /remoting/host/server_log_entry_unittest.cc
parentd4b25efcdcf40ca5eb2362fb23b11a06e26af279 (diff)
downloadchromium_src-777eb1b55633dfe1fbbc7064f7515a59cc9ee4f3.zip
chromium_src-777eb1b55633dfe1fbbc7064f7515a59cc9ee4f3.tar.gz
chromium_src-777eb1b55633dfe1fbbc7064f7515a59cc9ee4f3.tar.bz2
[Chromoting] Include the host version in every log entry that the host sends to the cloud.
Review URL: https://chromiumcodereview.appspot.com/10950018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157621 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/server_log_entry_unittest.cc')
-rw-r--r--remoting/host/server_log_entry_unittest.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/remoting/host/server_log_entry_unittest.cc b/remoting/host/server_log_entry_unittest.cc
index 2f19106..25f7adb 100644
--- a/remoting/host/server_log_entry_unittest.cc
+++ b/remoting/host/server_log_entry_unittest.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "base/memory/scoped_ptr.h"
+#include "base/stringize_macros.h"
#include "remoting/host/server_log_entry.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/libjingle/source/talk/xmllite/xmlelement.h"
@@ -110,6 +111,7 @@ TEST_F(ServerLogEntryTest, AddHostFields) {
#elif defined(OS_LINUX)
key_value_pairs["os-name"] = "Linux";
#endif
+ key_value_pairs["host-version"] = STRINGIZE(VERSION);
ASSERT_TRUE(VerifyStanza(key_value_pairs, keys, stanza.get(), &error)) <<
error;
}