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

Unified Diff: net/spdy/chromium/buffered_spdy_framer.h

Issue 2847133003: Add NetLog event for invalid Http/2 response header (Closed)
Patch Set: address comments Created 3 years, 7 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/log/net_log_event_type_list.h ('k') | net/spdy/chromium/buffered_spdy_framer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/chromium/buffered_spdy_framer.h
diff --git a/net/spdy/chromium/buffered_spdy_framer.h b/net/spdy/chromium/buffered_spdy_framer.h
index 9830425a8dd705d1b83a39fbcb6fe217267a9bfb..eb0c1d30ee2a3d8af5daba669f7655f5bad0f3eb 100644
--- a/net/spdy/chromium/buffered_spdy_framer.h
+++ b/net/spdy/chromium/buffered_spdy_framer.h
@@ -12,6 +12,7 @@
#include "base/macros.h"
#include "net/base/net_export.h"
+#include "net/log/net_log_source.h"
#include "net/spdy/chromium/header_coalescer.h"
#include "net/spdy/core/spdy_alt_svc_wire_format.h"
#include "net/spdy/core/spdy_framer.h"
@@ -120,7 +121,8 @@ class NET_EXPORT_PRIVATE BufferedSpdyFramerVisitorInterface {
class NET_EXPORT_PRIVATE BufferedSpdyFramer
: public SpdyFramerVisitorInterface {
public:
- BufferedSpdyFramer();
+ explicit BufferedSpdyFramer(const NetLogWithSource& net_log);
+ BufferedSpdyFramer() = delete;
~BufferedSpdyFramer() override;
// Sets callbacks to be called from the buffered spdy framer. A visitor must
@@ -270,6 +272,8 @@ class NET_EXPORT_PRIVATE BufferedSpdyFramer
std::unique_ptr<HeaderCoalescer> coalescer_;
+ NetLogWithSource net_log_;
+
DISALLOW_COPY_AND_ASSIGN(BufferedSpdyFramer);
};
« no previous file with comments | « net/log/net_log_event_type_list.h ('k') | net/spdy/chromium/buffered_spdy_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698