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

Side by Side Diff: net/spdy/core/spdy_header_indexing.cc

Issue 2832973003: Split net/spdy into core and chromium subdirectories. (Closed)
Patch Set: Fix some more build rules. Created 3 years, 8 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/core/spdy_header_indexing.h ('k') | net/spdy/core/spdy_header_indexing_test.cc » ('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) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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_indexing.h" 5 #include "net/spdy/core/spdy_header_indexing.h"
6 6
7 #include "net/spdy/spdy_bug_tracker.h" 7 #include "net/spdy/core/spdy_bug_tracker.h"
8 8
9 namespace net { 9 namespace net {
10 10
11 int32_t FLAGS_gfe_spdy_indexing_set_bound = 50; 11 int32_t FLAGS_gfe_spdy_indexing_set_bound = 50;
12 int32_t FLAGS_gfe_spdy_tracking_set_bound = 1000; 12 int32_t FLAGS_gfe_spdy_tracking_set_bound = 1000;
13 13
14 HeaderIndexing::HeaderIndexing() 14 HeaderIndexing::HeaderIndexing()
15 : indexing_set_bound_(FLAGS_gfe_spdy_indexing_set_bound), 15 : indexing_set_bound_(FLAGS_gfe_spdy_indexing_set_bound),
16 tracking_set_bound_(FLAGS_gfe_spdy_tracking_set_bound) { 16 tracking_set_bound_(FLAGS_gfe_spdy_tracking_set_bound) {
17 SPDY_BUG_IF(indexing_set_bound_ >= tracking_set_bound_) 17 SPDY_BUG_IF(indexing_set_bound_ >= tracking_set_bound_)
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 HeaderSet::iterator it = std::next(result.first); 167 HeaderSet::iterator it = std::next(result.first);
168 if (it != set->end()) { 168 if (it != set->end()) {
169 set->erase(it); 169 set->erase(it);
170 } else { 170 } else {
171 set->erase(set->begin()); 171 set->erase(set->begin());
172 } 172 }
173 } 173 }
174 } 174 }
175 175
176 } // namespace net 176 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/core/spdy_header_indexing.h ('k') | net/spdy/core/spdy_header_indexing_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698