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

Unified Diff: net/spdy/hpack_decoder.cc

Issue 1263803002: Replace SpdyNameValueBlock typedef with SpdyHeaderBlock. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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_decoder.h ('k') | net/spdy/hpack_decoder_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/hpack_decoder.cc
diff --git a/net/spdy/hpack_decoder.cc b/net/spdy/hpack_decoder.cc
index a5852ffa467a5f02dc8273253af6538589d419d2..acf014b78e845e2b0a7d7dfeedcb3d2aadc9bb92 100644
--- a/net/spdy/hpack_decoder.cc
+++ b/net/spdy/hpack_decoder.cc
@@ -4,6 +4,8 @@
#include "net/spdy/hpack_decoder.h"
+#include <utility>
+
#include "base/basictypes.h"
#include "base/logging.h"
#include "net/spdy/hpack_constants.h"
@@ -64,7 +66,7 @@ bool HpackDecoder::HandleControlFrameHeadersComplete(SpdyStreamId id) {
bool HpackDecoder::HandleHeaderRepresentation(StringPiece name,
StringPiece value) {
- typedef std::pair<std::map<string, string>::iterator, bool> InsertResult;
+ typedef std::pair<SpdyHeaderBlock::iterator, bool> InsertResult;
// Fail if pseudo-header follows regular header.
if (name.size() > 0) {
« no previous file with comments | « net/spdy/hpack_decoder.h ('k') | net/spdy/hpack_decoder_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698