Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(634)

Unified Diff: net/spdy/spdy_log_util.h

Issue 2801603003: Add SpdyString alias for std::string in net/spdy. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/spdy/spdy_http_utils.cc ('k') | net/spdy/spdy_log_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_log_util.h
diff --git a/net/spdy/spdy_log_util.h b/net/spdy/spdy_log_util.h
index 1c5649193d69fd30da04788184d84e8c8ee0eab4..e2f98e6c55c31d26d1869c9c15cd4dd893806dd9 100644
--- a/net/spdy/spdy_log_util.h
+++ b/net/spdy/spdy_log_util.h
@@ -6,11 +6,11 @@
#define NET_SPDY_SPDY_LOG_UTIL_H_
#include <memory>
-#include <string>
#include "base/strings/string_piece.h"
#include "net/base/net_export.h"
#include "net/log/net_log_capture_mode.h"
+#include "net/spdy/platform/api/spdy_string.h"
#include "net/spdy/spdy_header_block.h"
namespace base {
@@ -21,9 +21,9 @@ namespace net {
// Given an HTTP/2 GOAWAY frame |debug_data|, returns the elided version
// according to |capture_mode|.
-NET_EXPORT_PRIVATE std::string ElideGoAwayDebugDataForNetLog(
- NetLogCaptureMode capture_mode,
- base::StringPiece debug_data);
+NET_EXPORT_PRIVATE SpdyString
+ElideGoAwayDebugDataForNetLog(NetLogCaptureMode capture_mode,
+ base::StringPiece debug_data);
// Given a SpdyHeaderBlock, return its base::ListValue representation.
NET_EXPORT_PRIVATE std::unique_ptr<base::ListValue>
« no previous file with comments | « net/spdy/spdy_http_utils.cc ('k') | net/spdy/spdy_log_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698