OLD | NEW |
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_framer_decoder_adapter.h" | 5 #include "net/spdy/core/spdy_framer_decoder_adapter.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/format_macros.h" | 10 #include "base/format_macros.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "net/spdy/platform/api/spdy_estimate_memory_usage.h" | 12 #include "net/spdy/platform/api/spdy_estimate_memory_usage.h" |
13 #include "net/spdy/platform/api/spdy_string_utils.h" | 13 #include "net/spdy/platform/api/spdy_string_utils.h" |
14 | 14 |
15 #if defined(COMPILER_GCC) | 15 #if defined(COMPILER_GCC) |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 std::unique_ptr<SpdyFramerVisitorAdapter> visitor_adapter_; | 242 std::unique_ptr<SpdyFramerVisitorAdapter> visitor_adapter_; |
243 }; | 243 }; |
244 | 244 |
245 std::unique_ptr<SpdyFramerDecoderAdapter> CreateNestedSpdyFramerDecoder( | 245 std::unique_ptr<SpdyFramerDecoderAdapter> CreateNestedSpdyFramerDecoder( |
246 SpdyFramer* outer) { | 246 SpdyFramer* outer) { |
247 return std::unique_ptr<SpdyFramerDecoderAdapter>( | 247 return std::unique_ptr<SpdyFramerDecoderAdapter>( |
248 new NestedSpdyFramerDecoder(outer)); | 248 new NestedSpdyFramerDecoder(outer)); |
249 } | 249 } |
250 | 250 |
251 } // namespace net | 251 } // namespace net |
OLD | NEW |