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

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

Issue 331663007: Implement PUSH_PROMISE handling in spdy_session (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing. Some strange andriod compile errors in skia Created 6 years, 6 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/spdy_stream.cc ('k') | net/spdy/spdy_test_util_common.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_TEST_UTIL_COMMON_H_ 5 #ifndef NET_SPDY_SPDY_TEST_UTIL_COMMON_H_
6 #define NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ 6 #define NET_SPDY_SPDY_TEST_UTIL_COMMON_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 int associated_stream_id, 450 int associated_stream_id,
451 const char* url); 451 const char* url);
452 SpdyFrame* ConstructSpdyPush(const char* const extra_headers[], 452 SpdyFrame* ConstructSpdyPush(const char* const extra_headers[],
453 int extra_header_count, 453 int extra_header_count,
454 int stream_id, 454 int stream_id,
455 int associated_stream_id, 455 int associated_stream_id,
456 const char* url, 456 const char* url,
457 const char* status, 457 const char* status,
458 const char* location); 458 const char* location);
459 459
460 SpdyFrame* ConstructInitialSpdyPushFrame(scoped_ptr<SpdyHeaderBlock> headers,
461 int stream_id,
462 int associated_stream_id);
463
460 SpdyFrame* ConstructSpdyPushHeaders(int stream_id, 464 SpdyFrame* ConstructSpdyPushHeaders(int stream_id,
461 const char* const extra_headers[], 465 const char* const extra_headers[],
462 int extra_header_count); 466 int extra_header_count);
463 467
464 // Constructs a standard SPDY SYN_REPLY frame to match the SPDY GET. 468 // Constructs a standard SPDY SYN_REPLY frame to match the SPDY GET.
465 // |extra_headers| are the extra header-value pairs, which typically 469 // |extra_headers| are the extra header-value pairs, which typically
466 // will vary the most between calls. 470 // will vary the most between calls.
467 // Returns a SpdyFrame. 471 // Returns a SpdyFrame.
468 SpdyFrame* ConstructSpdyGetSynReply(const char* const extra_headers[], 472 SpdyFrame* ConstructSpdyGetSynReply(const char* const extra_headers[],
469 int extra_header_count, 473 int extra_header_count,
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 base::StringPiece url, 557 base::StringPiece url,
554 int64* content_length) const; 558 int64* content_length) const;
555 559
556 const NextProto protocol_; 560 const NextProto protocol_;
557 const SpdyMajorVersion spdy_version_; 561 const SpdyMajorVersion spdy_version_;
558 }; 562 };
559 563
560 } // namespace net 564 } // namespace net
561 565
562 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ 566 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_stream.cc ('k') | net/spdy/spdy_test_util_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698