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

Side by Side Diff: net/quic/test_tools/quic_packet_creator_peer.cc

Issue 12806002: Land Recent QUIC Changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor comment fix Created 7 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 | « net/quic/test_tools/quic_packet_creator_peer.h ('k') | net/quic/test_tools/quic_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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "net/quic/test_tools/quic_packet_creator_peer.h"
6
7 #include "net/quic/quic_packet_creator.h"
8
9 namespace net {
10 namespace test {
11
12 // static
13 bool QuicPacketCreatorPeer::SendVersionInPacket(QuicPacketCreator* creator) {
14 return creator->send_version_in_packet_;
15 }
16
17 // static
18 void QuicPacketCreatorPeer::SetSendVersionInPacket(
19 QuicPacketCreator* creator, bool send_version_in_packet) {
20 creator->send_version_in_packet_ = send_version_in_packet;
21 }
22
23 // static
24 void QuicPacketCreatorPeer::SetIsServer(QuicPacketCreator* creator,
25 bool is_server) {
26 creator->is_server_ = is_server;
27 }
28
29 } // namespace test
30 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_packet_creator_peer.h ('k') | net/quic/test_tools/quic_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698