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

Side by Side Diff: net/tools/quic/test_tools/http_message.cc

Issue 182523002: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed rch's comments in Patch set 1 of CL 181463007 Created 6 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
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 #include "net/tools/quic/test_tools/http_message_test_utils.h" 5 #include "net/tools/quic/test_tools/http_message.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
12 12
13 using base::StringPiece; 13 using base::StringPiece;
14 using std::string; 14 using std::string;
15 using std::vector; 15 using std::vector;
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 vector<StringPiece> content_lengths; 165 vector<StringPiece> content_lengths;
166 headers()->GetAllOfHeader(kContentLength, &content_lengths); 166 headers()->GetAllOfHeader(kContentLength, &content_lengths);
167 CHECK_GE(1ul, content_lengths.size()); 167 CHECK_GE(1ul, content_lengths.size());
168 168
169 CHECK_EQ(has_complete_message_, IsCompleteMessage(*this)); 169 CHECK_EQ(has_complete_message_, IsCompleteMessage(*this));
170 } 170 }
171 171
172 } // namespace test 172 } // namespace test
173 } // namespace tools 173 } // namespace tools
174 } // namespace net 174 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/test_tools/http_message.h ('k') | net/tools/quic/test_tools/http_message_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698