| Index: chrome/browser/extensions/api/cast_channel/cast_message_util.cc
|
| diff --git a/chrome/browser/extensions/api/cast_channel/cast_message_util.cc b/chrome/browser/extensions/api/cast_channel/cast_message_util.cc
|
| index 2c972bc8a7dfcfaf2b0d55ca2b33f41eedcce225..b614c633bba5e7d37d357869e3c24335349ac083 100644
|
| --- a/chrome/browser/extensions/api/cast_channel/cast_message_util.cc
|
| +++ b/chrome/browser/extensions/api/cast_channel/cast_message_util.cc
|
| @@ -107,17 +107,18 @@ std::string CastMessageToString(const CastMessage& message_proto) {
|
| std::string AuthMessageToString(const DeviceAuthMessage& message) {
|
| std::string out("{");
|
| if (message.has_challenge()) {
|
| - out += "\n challenge = {},";
|
| + out += "challenge: {}, ";
|
| }
|
| if (message.has_response()) {
|
| - out += "\n response = {";
|
| - out += "\n signature = " + message.response().signature();
|
| - out += "\n, certificate = " +
|
| - message.response().client_auth_certificate();
|
| - out += "\n }";
|
| + out += "response: {signature: (";
|
| + out += base::UintToString(message.response().signature().length());
|
| + out += " bytes), certificate: (";
|
| + out += base::UintToString(
|
| + message.response().client_auth_certificate().length());
|
| + out += " bytes)}";
|
| }
|
| if (message.has_error()) {
|
| - out += "\n error = {";
|
| + out += ", error: {";
|
| out += base::IntToString(message.error().error_type());
|
| out += "}";
|
| }
|
|
|