Index: net/spdy/spdy_log_util.cc |
diff --git a/net/spdy/spdy_log_util.cc b/net/spdy/spdy_log_util.cc |
index 6f3d69104d63cd11788104712ae5219da3b26ff3..ec56b4b8de578d3a547c553900d72d37e440414b 100644 |
--- a/net/spdy/spdy_log_util.cc |
+++ b/net/spdy/spdy_log_util.cc |
@@ -11,16 +11,16 @@ |
namespace net { |
-std::string ElideGoAwayDebugDataForNetLog(NetLogCaptureMode capture_mode, |
- base::StringPiece debug_data) { |
+SpdyString ElideGoAwayDebugDataForNetLog(NetLogCaptureMode capture_mode, |
+ base::StringPiece debug_data) { |
// Note: this logic should be kept in sync with stripGoAwayDebugData in |
// chrome/browser/resources/net_internals/log_view_painter.js. |
if (capture_mode.include_cookies_and_credentials()) { |
return debug_data.as_string(); |
} |
- return std::string("[") + base::SizeTToString(debug_data.size()) + |
- std::string(" bytes were stripped]"); |
+ return SpdyString("[") + base::SizeTToString(debug_data.size()) + |
+ SpdyString(" bytes were stripped]"); |
} |
std::unique_ptr<base::ListValue> ElideSpdyHeaderBlockForNetLog( |