| 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 <cstddef> | 5 #include <cstddef> |
| 6 #include <string> | 6 #include <string> |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/string_piece.h" | 10 #include "base/strings/string_piece.h" |
| 11 #include "net/base/completion_callback.h" | 11 #include "net/base/completion_callback.h" |
| 12 #include "net/base/net_log_unittest.h" | 12 #include "net/base/net_log_unittest.h" |
| 13 #include "net/base/request_priority.h" | 13 #include "net/base/request_priority.h" |
| 14 #include "net/spdy/buffered_spdy_framer.h" | 14 #include "net/spdy/buffered_spdy_framer.h" |
| 15 #include "net/spdy/spdy_stream.h" | |
| 16 #include "net/spdy/spdy_http_utils.h" | 15 #include "net/spdy/spdy_http_utils.h" |
| 17 #include "net/spdy/spdy_protocol.h" | 16 #include "net/spdy/spdy_protocol.h" |
| 18 #include "net/spdy/spdy_session.h" | 17 #include "net/spdy/spdy_session.h" |
| 18 #include "net/spdy/spdy_stream.h" |
| 19 #include "net/spdy/spdy_stream_test_util.h" | 19 #include "net/spdy/spdy_stream_test_util.h" |
| 20 #include "net/spdy/spdy_test_util_common.h" | 20 #include "net/spdy/spdy_test_util_common.h" |
| 21 #include "net/spdy/spdy_test_util_spdy2.h" | 21 #include "net/spdy/spdy_test_util_spdy2.h" |
| 22 #include "net/spdy/spdy_websocket_test_util_spdy2.h" | 22 #include "net/spdy/spdy_websocket_test_util_spdy2.h" |
| 23 #include "testing/gtest/include/gtest/gtest.h" | 23 #include "testing/gtest/include/gtest/gtest.h" |
| 24 | 24 |
| 25 using namespace net::test_spdy2; | 25 using namespace net::test_spdy2; |
| 26 | 26 |
| 27 // TODO(ukai): factor out common part with spdy_http_stream_unittest.cc | 27 // TODO(ukai): factor out common part with spdy_http_stream_unittest.cc |
| 28 // | 28 // |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 int stream_id2; | 345 int stream_id2; |
| 346 ASSERT_TRUE(entries[pos].GetIntegerValue("stream_id", &stream_id2)); | 346 ASSERT_TRUE(entries[pos].GetIntegerValue("stream_id", &stream_id2)); |
| 347 EXPECT_EQ(static_cast<int>(stream_id), stream_id2); | 347 EXPECT_EQ(static_cast<int>(stream_id), stream_id2); |
| 348 } | 348 } |
| 349 | 349 |
| 350 } // namespace | 350 } // namespace |
| 351 | 351 |
| 352 } // namespace test | 352 } // namespace test |
| 353 | 353 |
| 354 } // namespace net | 354 } // namespace net |
| OLD | NEW |