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

Unified Diff: net/spdy/fuzzing/hpack_fuzz_util_test.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/fuzzing/hpack_fuzz_util.cc ('k') | net/spdy/hpack_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/fuzzing/hpack_fuzz_util_test.cc
diff --git a/net/spdy/fuzzing/hpack_fuzz_util_test.cc b/net/spdy/fuzzing/hpack_fuzz_util_test.cc
index bf93def490eef6b571496a6cdae22a1e4d4d3819..6dace20fab0bcbf6e402ddb6f0f687e9da4b94f7 100644
--- a/net/spdy/fuzzing/hpack_fuzz_util_test.cc
+++ b/net/spdy/fuzzing/hpack_fuzz_util_test.cc
@@ -35,7 +35,7 @@ TEST(HpackFuzzUtilTest, GeneratorContextInitialization) {
TEST(HpackFuzzUtil, GeneratorContextExpansion) {
HpackFuzzUtil::GeneratorContext context;
- map<string, string> headers = HpackFuzzUtil::NextGeneratedHeaderSet(&context);
+ SpdyHeaderBlock headers = HpackFuzzUtil::NextGeneratedHeaderSet(&context);
// Headers were generated, and the generator context was expanded.
EXPECT_LT(0u, headers.size());
@@ -104,7 +104,7 @@ TEST(HpackFuzzUtilTest, PassValidInputThroughAllStages) {
EXPECT_TRUE(
HpackFuzzUtil::RunHeaderBlockThroughFuzzerStages(&context, input));
- std::map<string, string> expect;
+ SpdyHeaderBlock expect;
expect[":method"] = "GET";
expect[":scheme"] = "http";
expect[":path"] = "/";
« no previous file with comments | « net/spdy/fuzzing/hpack_fuzz_util.cc ('k') | net/spdy/hpack_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698