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

Unified Diff: net/spdy/spdy_framer.h

Issue 822713002: Update from https://crrev.com/309415 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 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
Index: net/spdy/spdy_framer.h
diff --git a/net/spdy/spdy_framer.h b/net/spdy/spdy_framer.h
index 8224e9ea1948c60f3f4971a595e48dfcea692c09..bb6e61d8fe917fb2e33c9f16a2ebaa673165a18f 100644
--- a/net/spdy/spdy_framer.h
+++ b/net/spdy/spdy_framer.h
@@ -494,7 +494,7 @@ class NET_EXPORT_PRIVATE SpdyFramer {
// Serializes a PRIORITY frame. The PRIORITY frame advises a change in
// the relative priority of the given stream.
- SpdySerializedFrame* SerializePriority(const SpdyPriorityIR& priority);
+ SpdySerializedFrame* SerializePriority(const SpdyPriorityIR& priority) const;
// Serialize a frame of unknown type.
SpdySerializedFrame* SerializeFrame(const SpdyFrameIR& frame);
@@ -579,8 +579,8 @@ class NET_EXPORT_PRIVATE SpdyFramer {
// Interpolates SpdyPriority values into SPDY4/HTTP2 priority weights,
// and vice versa.
- uint8 MapPriorityToWeight(SpdyPriority priority);
- SpdyPriority MapWeightToPriority(uint8 weight);
+ static uint8 MapPriorityToWeight(SpdyPriority priority);
+ static SpdyPriority MapWeightToPriority(uint8 weight);
// Deliver the given control frame's compressed headers block to the visitor
// in decompressed form, in chunks. Returns true if the visitor has

Powered by Google App Engine
This is Rietveld 408576698