| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/http/http_chunked_decoder.h" | 5 #include "net/http/http_chunked_decoder.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | |
| 8 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
| 9 #include "net/base/net_errors.h" | 8 #include "net/base/net_errors.h" |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 11 | 10 |
| 12 namespace net { | 11 namespace net { |
| 13 | 12 |
| 14 namespace { | 13 namespace { |
| 15 | 14 |
| 16 typedef testing::Test HttpChunkedDecoderTest; | 15 typedef testing::Test HttpChunkedDecoderTest; |
| 17 | 16 |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 const char* const inputs[] = { | 347 const char* const inputs[] = { |
| 349 "5;", | 348 "5;", |
| 350 big_chunk.get() | 349 big_chunk.get() |
| 351 }; | 350 }; |
| 352 RunTestUntilFailure(inputs, arraysize(inputs), 1); | 351 RunTestUntilFailure(inputs, arraysize(inputs), 1); |
| 353 } | 352 } |
| 354 | 353 |
| 355 } // namespace | 354 } // namespace |
| 356 | 355 |
| 357 } // namespace net | 356 } // namespace net |
| OLD | NEW |