Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Side by Side Diff: net/http/http_chunked_decoder_unittest.cc

Issue 10835019: Fix license headers in a number of files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix case Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 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 "base/basictypes.h" 5 #include "base/basictypes.h"
6 #include "net/base/net_errors.h" 6 #include "net/base/net_errors.h"
7 #include "net/http/http_chunked_decoder.h" 7 #include "net/http/http_chunked_decoder.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 9
10 namespace { 10 namespace {
11 11
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 RunTest(inputs, arraysize(inputs), "hello", true, 11); 300 RunTest(inputs, arraysize(inputs), "hello", true, 11);
301 } 301 }
302 302
303 TEST(HttpChunkedDecoderTest, MultipleExtraDataBlocks) { 303 TEST(HttpChunkedDecoderTest, MultipleExtraDataBlocks) {
304 const char* inputs[] = { 304 const char* inputs[] = {
305 "5\r\nhello\r\n0\r\n\r\nextra", 305 "5\r\nhello\r\n0\r\n\r\nextra",
306 " bytes" 306 " bytes"
307 }; 307 };
308 RunTest(inputs, arraysize(inputs), "hello", true, 11); 308 RunTest(inputs, arraysize(inputs), "hello", true, 11);
309 } 309 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698