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

Side by Side Diff: net/spdy/chromium/http2_priority_dependencies.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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 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/http2_priority_dependencies.h" 5 #include "net/spdy/chromium/http2_priority_dependencies.h"
6 #include "net/spdy/platform/api/spdy_estimate_memory_usage.h" 6 #include "net/spdy/platform/api/spdy_estimate_memory_usage.h"
7 7
8 namespace net { 8 namespace net {
9 9
10 Http2PriorityDependencies::Http2PriorityDependencies() {} 10 Http2PriorityDependencies::Http2PriorityDependencies() {}
11 11
12 Http2PriorityDependencies::~Http2PriorityDependencies() {} 12 Http2PriorityDependencies::~Http2PriorityDependencies() {}
13 13
14 void Http2PriorityDependencies::OnStreamCreation( 14 void Http2PriorityDependencies::OnStreamCreation(
15 SpdyStreamId id, 15 SpdyStreamId id,
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 entry_by_stream_id_.erase(emit); 158 entry_by_stream_id_.erase(emit);
159 } 159 }
160 160
161 size_t Http2PriorityDependencies::EstimateMemoryUsage() const { 161 size_t Http2PriorityDependencies::EstimateMemoryUsage() const {
162 return SpdyEstimateMemoryUsage(id_priority_lists_); 162 return SpdyEstimateMemoryUsage(id_priority_lists_);
163 // TODO(xunjieli): https://crbug.com/690015. Include |entry_by_stream_id_| 163 // TODO(xunjieli): https://crbug.com/690015. Include |entry_by_stream_id_|
164 // when memory_usage_estimator.h supports std::list::iterator. 164 // when memory_usage_estimator.h supports std::list::iterator.
165 } 165 }
166 166
167 } // namespace net 167 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/chromium/http2_priority_dependencies.h ('k') | net/spdy/chromium/http2_priority_dependencies_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698