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

Side by Side Diff: net/spdy/chromium/spdy_session.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 unified diff | Download patch
« no previous file with comments | « net/spdy/chromium/header_coalescer_test.cc ('k') | net/spdy/chromium/spdy_session.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_SPDY_SPDY_SESSION_H_ 5 #ifndef NET_SPDY_SPDY_SESSION_H_
6 #define NET_SPDY_SPDY_SESSION_H_ 6 #define NET_SPDY_SPDY_SESSION_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 const int kYieldAfterBytesRead = 32 * 1024; 76 const int kYieldAfterBytesRead = 32 * 1024;
77 const int kYieldAfterDurationMilliseconds = 20; 77 const int kYieldAfterDurationMilliseconds = 20;
78 78
79 // First and last valid stream IDs. As we always act as the client, 79 // First and last valid stream IDs. As we always act as the client,
80 // start at 1 for the first stream id. 80 // start at 1 for the first stream id.
81 const SpdyStreamId kFirstStreamId = 1; 81 const SpdyStreamId kFirstStreamId = 1;
82 const SpdyStreamId kLastStreamId = 0x7fffffff; 82 const SpdyStreamId kLastStreamId = 0x7fffffff;
83 83
84 struct LoadTimingInfo; 84 struct LoadTimingInfo;
85 class NetLog; 85 class NetLog;
86 class NetLogWithSource;
87 class ProxyDelegate; 86 class ProxyDelegate;
88 class SpdyStream; 87 class SpdyStream;
89 class SSLInfo; 88 class SSLInfo;
90 class TransportSecurityState; 89 class TransportSecurityState;
91 90
92 // NOTE: There's an enum of the same name (also with numeric suffixes) 91 // NOTE: There's an enum of the same name (also with numeric suffixes)
93 // in histograms.xml. Be sure to add new values there also. 92 // in histograms.xml. Be sure to add new values there also.
94 enum SpdyProtocolErrorDetails { 93 enum SpdyProtocolErrorDetails {
95 // SpdyFramer::SpdyFramerError mappings. 94 // SpdyFramer::SpdyFramerError mappings.
96 SPDY_ERROR_NO_ERROR = 0, 95 SPDY_ERROR_NO_ERROR = 0,
(...skipping 1130 matching lines...) Expand 10 before | Expand all | Expand 10 after
1227 // Used for posting asynchronous IO tasks. We use this even though 1226 // Used for posting asynchronous IO tasks. We use this even though
1228 // SpdySession is refcounted because we don't need to keep the SpdySession 1227 // SpdySession is refcounted because we don't need to keep the SpdySession
1229 // alive if the last reference is within a RunnableMethod. Just revoke the 1228 // alive if the last reference is within a RunnableMethod. Just revoke the
1230 // method. 1229 // method.
1231 base::WeakPtrFactory<SpdySession> weak_factory_; 1230 base::WeakPtrFactory<SpdySession> weak_factory_;
1232 }; 1231 };
1233 1232
1234 } // namespace net 1233 } // namespace net
1235 1234
1236 #endif // NET_SPDY_SPDY_SESSION_H_ 1235 #endif // NET_SPDY_SPDY_SESSION_H_
OLDNEW
« no previous file with comments | « net/spdy/chromium/header_coalescer_test.cc ('k') | net/spdy/chromium/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698