OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <algorithm> | 5 #include <algorithm> |
6 #include <iostream> | 6 #include <ostream> |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "net/spdy/spdy_framer.h" | 9 #include "net/spdy/spdy_framer.h" |
10 #include "net/spdy/spdy_protocol.h" | 10 #include "net/spdy/spdy_protocol.h" |
11 #include "net/spdy/spdy_frame_builder.h" | 11 #include "net/spdy/spdy_frame_builder.h" |
12 #include "testing/platform_test.h" | 12 #include "testing/platform_test.h" |
13 | 13 |
14 namespace spdy { | 14 namespace spdy { |
15 | 15 |
16 namespace test { | 16 namespace test { |
(...skipping 1359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1376 // to make sure we don't crash. | 1376 // to make sure we don't crash. |
1377 if (frame.get() != NULL) { | 1377 if (frame.get() != NULL) { |
1378 // Now that same header block should decompress just fine. | 1378 // Now that same header block should decompress just fine. |
1379 SpdyHeaderBlock new_headers; | 1379 SpdyHeaderBlock new_headers; |
1380 decompress_framer.ParseHeaderBlock(frame.get(), &new_headers); | 1380 decompress_framer.ParseHeaderBlock(frame.get(), &new_headers); |
1381 } | 1381 } |
1382 } | 1382 } |
1383 } | 1383 } |
1384 | 1384 |
1385 } // namespace | 1385 } // namespace |
OLD | NEW |