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

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

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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
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 #include "net/tools/quic/test_tools/http_message.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"
10 #include "base/logging.h" 9 #include "base/logging.h"
11 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
12 11
13 using base::StringPiece; 12 using base::StringPiece;
14 using std::string; 13 using std::string;
15 using std::vector; 14 using std::vector;
16 15
17 namespace net { 16 namespace net {
18 namespace tools { 17 namespace tools {
19 namespace test { 18 namespace test {
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 vector<StringPiece> content_lengths; 149 vector<StringPiece> content_lengths;
151 headers()->GetAllOfHeader(kContentLength, &content_lengths); 150 headers()->GetAllOfHeader(kContentLength, &content_lengths);
152 CHECK_GE(1ul, content_lengths.size()); 151 CHECK_GE(1ul, content_lengths.size());
153 152
154 CHECK_EQ(has_complete_message_, IsCompleteMessage(*this)); 153 CHECK_EQ(has_complete_message_, IsCompleteMessage(*this));
155 } 154 }
156 155
157 } // namespace test 156 } // namespace test
158 } // namespace tools 157 } // namespace tools
159 } // namespace net 158 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/test_tools/http_message.h ('k') | net/tools/quic/test_tools/limited_mtu_test_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698