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

Side by Side Diff: net/spdy/spdy_header_block.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
« no previous file with comments | « net/spdy/spdy_header_block.h ('k') | net/spdy/spdy_headers_block_parser.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 (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/spdy/spdy_header_block.h" 5 #include "net/spdy/spdy_header_block.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <ios> 8 #include <ios>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/macros.h"
13 #include "base/values.h" 14 #include "base/values.h"
14 #include "net/http/http_log_util.h" 15 #include "net/http/http_log_util.h"
15 16
16 using base::StringPiece; 17 using base::StringPiece;
17 using std::dec; 18 using std::dec;
18 using std::hex; 19 using std::hex;
19 using std::max; 20 using std::max;
20 using std::min; 21 using std::min;
21 using std::string; 22 using std::string;
22 23
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 if (!it.value().GetAsString(&value)) { 261 if (!it.value().GetAsString(&value)) {
261 headers->clear(); 262 headers->clear();
262 return false; 263 return false;
263 } 264 }
264 (*headers)[it.key()] = value; 265 (*headers)[it.key()] = value;
265 } 266 }
266 return true; 267 return true;
267 } 268 }
268 269
269 } // namespace net 270 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/spdy_header_block.h ('k') | net/spdy/spdy_headers_block_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698