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

Unified Diff: net/spdy/spdy_framer.h

Issue 1561203003: Remove SPDY/2 code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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_framer.h
diff --git a/net/spdy/spdy_framer.h b/net/spdy/spdy_framer.h
index 35bfafb77a6c6727d759bfb5afc09ea60accd5d0..5f3ff2a2cc330f475b96ebe9b3549be5277b2759 100644
--- a/net/spdy/spdy_framer.h
+++ b/net/spdy/spdy_framer.h
@@ -64,8 +64,6 @@ class NET_EXPORT_PRIVATE SettingsFlagsAndId {
uint8_t flags() const { return flags_; }
private:
- static void ConvertFlagsAndIdForSpdy2(uint32_t* val);
-
uint8_t flags_;
uint32_t id_;
};
@@ -548,9 +546,7 @@ class NET_EXPORT_PRIVATE SpdyFramer {
bool probable_http_response() const { return probable_http_response_; }
- SpdyPriority GetLowestPriority() const {
- return protocol_version_ < SPDY3 ? 3 : 7;
- }
+ SpdyPriority GetLowestPriority() const { return 7; }
SpdyPriority GetHighestPriority() const { return 0; }

Powered by Google App Engine
This is Rietveld 408576698