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

Unified Diff: net/spdy/hpack/hpack_huffman_table.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_huffman_decoder_test.cc ('k') | net/spdy/hpack/hpack_huffman_table.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/hpack/hpack_huffman_table.h
diff --git a/net/spdy/hpack/hpack_huffman_table.h b/net/spdy/hpack/hpack_huffman_table.h
index c93dcfbdb47d13579c767b994ac5ad162b00c198..b2937a18ff11f02160caa6f692320b3c502332c2 100644
--- a/net/spdy/hpack/hpack_huffman_table.h
+++ b/net/spdy/hpack/hpack_huffman_table.h
@@ -8,11 +8,11 @@
#include <stdint.h>
#include <cstddef>
-#include <string>
#include <vector>
#include "net/base/net_export.h"
#include "net/spdy/hpack/hpack_constants.h"
+#include "net/spdy/platform/api/spdy_string.h"
#include "net/spdy/platform/api/spdy_string_piece.h"
namespace net {
@@ -91,8 +91,7 @@ class NET_EXPORT_PRIVATE HpackHuffmanTable {
// otherwise be overflowed.
// DEPRECATED: HpackHuffmanDecoder is now used for decoding strings encoded
// according to the Huffman Table in the HPACK spec.
- bool GenericDecodeString(HpackInputStream* in,
- std::string* out) const;
+ bool GenericDecodeString(HpackInputStream* in, SpdyString* out) const;
// Returns the estimate of dynamically allocated memory in bytes.
size_t EstimateMemoryUsage() const;
« no previous file with comments | « net/spdy/hpack/hpack_huffman_decoder_test.cc ('k') | net/spdy/hpack/hpack_huffman_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698