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

Unified Diff: net/spdy/hpack/hpack_huffman_decoder.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/hpack/hpack_header_table_test.cc ('k') | net/spdy/hpack/hpack_huffman_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/hpack/hpack_huffman_decoder.h
diff --git a/net/spdy/hpack/hpack_huffman_decoder.h b/net/spdy/hpack/hpack_huffman_decoder.h
index 50c3dc4c5588f7de1f88aca5b16814d379d95126..802701419ff4bdc831b9d91eaedd67531a3945d8 100644
--- a/net/spdy/hpack/hpack_huffman_decoder.h
+++ b/net/spdy/hpack/hpack_huffman_decoder.h
@@ -8,10 +8,9 @@
#include <stddef.h>
#include <stdint.h>
-#include <string>
-
#include "net/base/net_export.h"
#include "net/spdy/hpack/hpack_input_stream.h"
+#include "net/spdy/platform/api/spdy_string.h"
namespace net {
namespace test {
@@ -35,7 +34,7 @@ class NET_EXPORT_PRIVATE HpackHuffmanDecoder {
// DecodeString() halts when |in| runs out of input, in which case true is
// returned. It also halts (returning false) if an invalid Huffman code
// prefix is read.
- static bool DecodeString(HpackInputStream* in, std::string* out);
+ static bool DecodeString(HpackInputStream* in, SpdyString* out);
private:
friend class test::HpackHuffmanDecoderPeer;
« no previous file with comments | « net/spdy/hpack/hpack_header_table_test.cc ('k') | net/spdy/hpack/hpack_huffman_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698