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

Unified Diff: net/spdy/spdy_framer.h

Issue 2248343004: Add SpdyDeframerVisitor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix MSVC compile error. Created 4 years, 4 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/spdy_deframer_visitor_test.cc ('k') | net/spdy/spdy_protocol_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_framer.h
diff --git a/net/spdy/spdy_framer.h b/net/spdy/spdy_framer.h
index 2bf960abfb6a699007764f7d17518a554b4e95ae..ec8d5dbf19bc23519e72cbe06142860232134d18 100644
--- a/net/spdy/spdy_framer.h
+++ b/net/spdy/spdy_framer.h
@@ -535,12 +535,6 @@ class NET_EXPORT_PRIVATE SpdyFramer {
recv_frame_size_limit_ = recv_frame_size_limit;
}
- void SetDecoderHeaderTableDebugVisitor(
- std::unique_ptr<HpackHeaderTable::DebugVisitorInterface> visitor);
-
- void SetEncoderHeaderTableDebugVisitor(
- std::unique_ptr<HpackHeaderTable::DebugVisitorInterface> visitor);
-
// Returns the (minimum) size of frames (sans variable-length portions).
size_t GetDataFrameMinimumSize() const;
size_t GetFrameHeaderSize() const;
@@ -597,6 +591,12 @@ class NET_EXPORT_PRIVATE SpdyFramer {
// Returns the maximum size of the header encoder compression table.
size_t header_encoder_table_size() const;
+ void SetDecoderHeaderTableDebugVisitor(
+ std::unique_ptr<HpackHeaderTable::DebugVisitorInterface> visitor);
+
+ void SetEncoderHeaderTableDebugVisitor(
+ std::unique_ptr<HpackHeaderTable::DebugVisitorInterface> visitor);
+
// For testing support (i.e. for clients and backends),
// allow overriding the flag on a per framer basis.
void set_use_new_methods_for_test(bool v) { use_new_methods_ = v; }
« no previous file with comments | « net/spdy/spdy_deframer_visitor_test.cc ('k') | net/spdy/spdy_protocol_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698