| OLD | NEW |
| 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/buffered_spdy_framer.h" | 5 #include "net/spdy/chromium/buffered_spdy_framer.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/memory/ptr_util.h" | 11 #include "base/memory/ptr_util.h" |
| 12 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
| 13 #include "net/spdy/platform/api/spdy_estimate_memory_usage.h" | 13 #include "net/spdy/platform/api/spdy_estimate_memory_usage.h" |
| 14 | 14 |
| 15 namespace net { | 15 namespace net { |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 SpdyEstimateMemoryUsage(coalescer_) + | 311 SpdyEstimateMemoryUsage(coalescer_) + |
| 312 SpdyEstimateMemoryUsage(control_frame_fields_) + | 312 SpdyEstimateMemoryUsage(control_frame_fields_) + |
| 313 SpdyEstimateMemoryUsage(goaway_fields_); | 313 SpdyEstimateMemoryUsage(goaway_fields_); |
| 314 } | 314 } |
| 315 | 315 |
| 316 size_t BufferedSpdyFramer::GoAwayFields::EstimateMemoryUsage() const { | 316 size_t BufferedSpdyFramer::GoAwayFields::EstimateMemoryUsage() const { |
| 317 return SpdyEstimateMemoryUsage(debug_data); | 317 return SpdyEstimateMemoryUsage(debug_data); |
| 318 } | 318 } |
| 319 | 319 |
| 320 } // namespace net | 320 } // namespace net |
| OLD | NEW |