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

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

Issue 9521011: Remove the origin field from the CREDENTIAL frame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | net/spdy/spdy_framer.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_FRAMER_H_ 5 #ifndef NET_SPDY_SPDY_FRAMER_H_
6 #define NET_SPDY_SPDY_FRAMER_H_ 6 #define NET_SPDY_SPDY_FRAMER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 // A datastructure for holding a set of ID/value pairs for a SETTINGS frame. 51 // A datastructure for holding a set of ID/value pairs for a SETTINGS frame.
52 typedef std::pair<spdy::SettingsFlagsAndId, uint32> SpdySetting; 52 typedef std::pair<spdy::SettingsFlagsAndId, uint32> SpdySetting;
53 typedef std::list<SpdySetting> SpdySettings; 53 typedef std::list<SpdySetting> SpdySettings;
54 54
55 // A datastrcture for holding the contents of a CREDENTIAL frame. 55 // A datastrcture for holding the contents of a CREDENTIAL frame.
56 struct NET_EXPORT_PRIVATE SpdyCredential { 56 struct NET_EXPORT_PRIVATE SpdyCredential {
57 SpdyCredential(); 57 SpdyCredential();
58 ~SpdyCredential(); 58 ~SpdyCredential();
59 59
60 uint16 slot; 60 uint16 slot;
61 std::string origin;
62 std::vector<std::string> certs; 61 std::vector<std::string> certs;
63 std::string proof; 62 std::string proof;
64 }; 63 };
65 64
66 // SpdyFramerVisitorInterface is a set of callbacks for the SpdyFramer. 65 // SpdyFramerVisitorInterface is a set of callbacks for the SpdyFramer.
67 // Implement this interface to receive event callbacks as frames are 66 // Implement this interface to receive event callbacks as frames are
68 // decoded from the framer. 67 // decoded from the framer.
69 // 68 //
70 // Control frames that contain SPDY header blocks (SYN_STREAM, SYN_REPLY, and 69 // Control frames that contain SPDY header blocks (SYN_STREAM, SYN_REPLY, and
71 // HEADER) are processed in fashion that allows the decompressed header block 70 // HEADER) are processed in fashion that allows the decompressed header block
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 530
532 std::string display_protocol_; 531 std::string display_protocol_;
533 532
534 static bool compression_default_; 533 static bool compression_default_;
535 static int spdy_version_; 534 static int spdy_version_;
536 }; 535 };
537 536
538 } // namespace spdy 537 } // namespace spdy
539 538
540 #endif // NET_SPDY_SPDY_FRAMER_H_ 539 #endif // NET_SPDY_SPDY_FRAMER_H_
OLDNEW
« no previous file with comments | « no previous file | net/spdy/spdy_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698