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

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

Issue 2367973002: Log compressed size of HTTP/2 requests. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « net/spdy/spdy_test_utils.h ('k') | 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 (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_test_utils.h" 5 #include "net/spdy/spdy_test_utils.h"
6 6
7 #include <cstring> 7 #include <cstring>
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 value.AppendToString(&new_value); 188 value.AppendToString(&new_value);
189 block_.ReplaceOrAppendHeader(name, new_value); 189 block_.ReplaceOrAppendHeader(name, new_value);
190 } 190 }
191 } 191 }
192 } 192 }
193 193
194 void TestHeadersHandler::OnHeaderBlockEnd(size_t header_bytes_parsed) { 194 void TestHeadersHandler::OnHeaderBlockEnd(size_t header_bytes_parsed) {
195 header_bytes_parsed_ = header_bytes_parsed; 195 header_bytes_parsed_ = header_bytes_parsed;
196 } 196 }
197 197
198 void TestHeadersHandler::OnHeaderBlockEnd(
199 size_t header_bytes_parsed,
200 size_t /* compressed_header_bytes_parsed */) {
201 header_bytes_parsed_ = header_bytes_parsed;
202 }
203
198 } // namespace test 204 } // namespace test
199 } // namespace net 205 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/spdy_test_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698