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

Unified Diff: net/spdy/spdy_session.cc

Issue 2544813002: Remove enum SpdyMajorVersion. (Closed)
Patch Set: Merge comment changes from 140661724. Created 4 years 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/spdy_protocol.cc ('k') | net/spdy/spdy_stream_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session.cc
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc
index 0a9072d754f80a1b6f8909fad3efdb235a9b837c..37f3c525ad3a5169f585daff955abb12264897af 100644
--- a/net/spdy/spdy_session.cc
+++ b/net/spdy/spdy_session.cc
@@ -144,7 +144,7 @@ std::unique_ptr<base::Value> NetLogSpdySettingCallback(
uint32_t value,
NetLogCaptureMode /* capture_mode */) {
std::unique_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
- dict->SetInteger("id", SpdyConstants::SerializeSettingId(HTTP2, id));
+ dict->SetInteger("id", SpdyConstants::SerializeSettingId(id));
dict->SetInteger("flags", flags);
dict->SetInteger("value", value);
return std::move(dict);
@@ -161,8 +161,8 @@ std::unique_ptr<base::Value> NetLogSpdySendSettingsCallback(
const SpdySettingsFlags flags = it->second.first;
const uint32_t value = it->second.second;
settings_list->AppendString(base::StringPrintf(
- "[id:%u flags:%u value:%u]",
- SpdyConstants::SerializeSettingId(HTTP2, id), flags, value));
+ "[id:%u flags:%u value:%u]", SpdyConstants::SerializeSettingId(id),
+ flags, value));
}
dict->Set("settings", std::move(settings_list));
return std::move(dict);
« no previous file with comments | « net/spdy/spdy_protocol.cc ('k') | net/spdy/spdy_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698