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

Side by Side Diff: net/spdy/hpack_input_stream.cc

Issue 180153007: Add missing #include of <algorithm> for std::min (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | 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 #include "net/spdy/hpack_input_stream.h" 5 #include "net/spdy/hpack_input_stream.h"
6 6
7 #include <algorithm>
8
7 #include "base/basictypes.h" 9 #include "base/basictypes.h"
8 #include "base/logging.h" 10 #include "base/logging.h"
9 11
10 namespace net { 12 namespace net {
11 13
12 using base::StringPiece; 14 using base::StringPiece;
13 15
14 HpackInputStream::HpackInputStream(uint32 max_string_literal_size, 16 HpackInputStream::HpackInputStream(uint32 max_string_literal_size,
15 StringPiece buffer) 17 StringPiece buffer)
16 : max_string_literal_size_(max_string_literal_size), 18 : max_string_literal_size_(max_string_literal_size),
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 buffer_.remove_prefix(size); 110 buffer_.remove_prefix(size);
109 return true; 111 return true;
110 } 112 }
111 113
112 // TODO(akalin): Handle Huffman-encoded sequences. 114 // TODO(akalin): Handle Huffman-encoded sequences.
113 115
114 return false; 116 return false;
115 } 117 }
116 118
117 } // namespace net 119 } // namespace net
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698