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

Side by Side Diff: net/spdy/spdy_session.h

Issue 1458163002: Remove |using base::StringPiece| from net/spdy header files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/spdy_header_block_test.cc ('k') | net/spdy/spdy_test_utils.h » ('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 <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 void DeleteExpiredPushedStreams(); 826 void DeleteExpiredPushedStreams();
827 827
828 // BufferedSpdyFramerVisitorInterface: 828 // BufferedSpdyFramerVisitorInterface:
829 void OnError(SpdyFramer::SpdyError error_code) override; 829 void OnError(SpdyFramer::SpdyError error_code) override;
830 void OnStreamError(SpdyStreamId stream_id, 830 void OnStreamError(SpdyStreamId stream_id,
831 const std::string& description) override; 831 const std::string& description) override;
832 void OnPing(SpdyPingId unique_id, bool is_ack) override; 832 void OnPing(SpdyPingId unique_id, bool is_ack) override;
833 void OnRstStream(SpdyStreamId stream_id, SpdyRstStreamStatus status) override; 833 void OnRstStream(SpdyStreamId stream_id, SpdyRstStreamStatus status) override;
834 void OnGoAway(SpdyStreamId last_accepted_stream_id, 834 void OnGoAway(SpdyStreamId last_accepted_stream_id,
835 SpdyGoAwayStatus status, 835 SpdyGoAwayStatus status,
836 StringPiece debug_data) override; 836 base::StringPiece debug_data) override;
837 void OnDataFrameHeader(SpdyStreamId stream_id, 837 void OnDataFrameHeader(SpdyStreamId stream_id,
838 size_t length, 838 size_t length,
839 bool fin) override; 839 bool fin) override;
840 void OnStreamFrameData(SpdyStreamId stream_id, 840 void OnStreamFrameData(SpdyStreamId stream_id,
841 const char* data, 841 const char* data,
842 size_t len, 842 size_t len,
843 bool fin) override; 843 bool fin) override;
844 void OnStreamPadding(SpdyStreamId stream_id, size_t len) override; 844 void OnStreamPadding(SpdyStreamId stream_id, size_t len) override;
845 SpdyHeadersHandlerInterface* OnHeaderFrameStart( 845 SpdyHeadersHandlerInterface* OnHeaderFrameStart(
846 SpdyStreamId stream_id) override; 846 SpdyStreamId stream_id) override;
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
1212 // Used for posting asynchronous IO tasks. We use this even though 1212 // Used for posting asynchronous IO tasks. We use this even though
1213 // SpdySession is refcounted because we don't need to keep the SpdySession 1213 // SpdySession is refcounted because we don't need to keep the SpdySession
1214 // alive if the last reference is within a RunnableMethod. Just revoke the 1214 // alive if the last reference is within a RunnableMethod. Just revoke the
1215 // method. 1215 // method.
1216 base::WeakPtrFactory<SpdySession> weak_factory_; 1216 base::WeakPtrFactory<SpdySession> weak_factory_;
1217 }; 1217 };
1218 1218
1219 } // namespace net 1219 } // namespace net
1220 1220
1221 #endif // NET_SPDY_SPDY_SESSION_H_ 1221 #endif // NET_SPDY_SPDY_SESSION_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_header_block_test.cc ('k') | net/spdy/spdy_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698