Commit b2d384e3 authored by Julian Watson's avatar Julian Watson Committed by Commit Bot

guest_os: add vm_type to ToString(application_list)

Bug: 1049453
Change-Id: I9df2aa516105e8f4aa230c4f9f62f9002bda8f65
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2208801
Commit-Queue: Julian Watson <juwa@google.com>
Auto-Submit: Julian Watson <juwa@google.com>
Reviewed-by: default avatarTimothy Loh <timloh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#771505}
parent 89f4730b
......@@ -215,6 +215,10 @@ static std::string ToString(bool b) {
return b ? "true" : "false";
}
static std::string ToString(int i) {
return base::NumberToString(i);
}
static std::string ToString(const std::string& string) {
return '"' + string + '"';
}
......@@ -261,6 +265,7 @@ static std::string ToString(const vm_tools::apps::App& app) {
static std::string ToString(const vm_tools::apps::ApplicationList& list) {
return "{apps: " + Join(list.apps()) +
", vm_type: " + ToString(list.vm_type()) +
", vm_name: " + ToString(list.vm_name()) +
", container_name: " + ToString(list.container_name()) +
", owner_id: " + ToString(list.owner_id()) + "}";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment