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

Unified Diff: net/spdy/spdy_stream_test_util.cc

Issue 1357953002: Replace the existing SpdyHeaderBlock typedef with a class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add some includes. Created 5 years, 3 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
Index: net/spdy/spdy_stream_test_util.cc
diff --git a/net/spdy/spdy_stream_test_util.cc b/net/spdy/spdy_stream_test_util.cc
index 7e10e1cede380c275e164392134b03bc22eaf702..4ea4f4b91488a00d17f11ed808b7d78a11181b15 100644
--- a/net/spdy/spdy_stream_test_util.cc
+++ b/net/spdy/spdy_stream_test_util.cc
@@ -101,7 +101,8 @@ std::string StreamDelegateBase::TakeReceivedData() {
std::string StreamDelegateBase::GetResponseHeaderValue(
const std::string& name) const {
SpdyHeaderBlock::const_iterator it = response_headers_.find(name);
- return (it == response_headers_.end()) ? std::string() : it->second;
+ return (it == response_headers_.end()) ? std::string()
+ : it->second.as_string();
}
StreamDelegateDoNothing::StreamDelegateDoNothing(

Powered by Google App Engine
This is Rietveld 408576698