Chromium Code Reviews| Index: net/spdy/hpack/hpack_static_table.cc |
| diff --git a/net/spdy/hpack/hpack_static_table.cc b/net/spdy/hpack/hpack_static_table.cc |
| index 5588ebe183800bbcda42786ea20be6bd9ca1552c..712ee065237ee086478c30383fbffaa058ba0dc2 100644 |
| --- a/net/spdy/hpack/hpack_static_table.cc |
| +++ b/net/spdy/hpack/hpack_static_table.cc |
| @@ -39,4 +39,10 @@ bool HpackStaticTable::IsInitialized() const { |
| return !static_entries_.empty(); |
| } |
| +size_t HpackStaticTable::EstimateMemoryUsage() const { |
| + // TODO(xunjieli): return the allocation of |static_entries_| when std::deque |
| + // is supported in memory_usage_estimator.h. https://crbug.com/669108. |
| + return 0; |
|
DmitrySkiba
2017/02/02 18:16:27
This class also has static_index_ and static_name_
xunjieli
2017/02/03 22:25:09
Done.
|
| +} |
| + |
| } // namespace net |