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

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

Issue 485833002: HTTP2 draft 14 support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ignore_result(). Created 6 years, 4 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/hpack_header_table_test.cc ('k') | net/spdy/spdy_frame_builder.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_MOCK_SPDY_FRAMER_VISITOR_H_ 5 #ifndef NET_SPDY_MOCK_SPDY_FRAMER_VISITOR_H_
6 #define NET_SPDY_MOCK_SPDY_FRAMER_VISITOR_H_ 6 #define NET_SPDY_MOCK_SPDY_FRAMER_VISITOR_H_
7 7
8 #include "base/strings/string_piece.h" 8 #include "base/strings/string_piece.h"
9 #include "net/spdy/spdy_framer.h" 9 #include "net/spdy/spdy_framer.h"
10 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 uint32 max_age, 54 uint32 max_age,
55 uint16 port, 55 uint16 port,
56 base::StringPiece protocol_id, 56 base::StringPiece protocol_id,
57 base::StringPiece host, 57 base::StringPiece host,
58 base::StringPiece origin)); 58 base::StringPiece origin));
59 MOCK_METHOD4(OnPriority, 59 MOCK_METHOD4(OnPriority,
60 void(SpdyStreamId stream_id, 60 void(SpdyStreamId stream_id,
61 SpdyStreamId parent_stream_id, 61 SpdyStreamId parent_stream_id,
62 uint8 weight, 62 uint8 weight,
63 bool exclusive)); 63 bool exclusive));
64 MOCK_METHOD2(OnUnknownFrame, bool(SpdyStreamId stream_id, int frame_type));
64 }; 65 };
65 66
66 } // namespace test 67 } // namespace test
67 68
68 } // namespace net 69 } // namespace net
69 70
70 #endif // NET_SPDY_MOCK_SPDY_FRAMER_VISITOR_H_ 71 #endif // NET_SPDY_MOCK_SPDY_FRAMER_VISITOR_H_
OLDNEW
« no previous file with comments | « net/spdy/hpack_header_table_test.cc ('k') | net/spdy/spdy_frame_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698