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

Side by Side Diff: net/base/gzip_filter_unittest.cc

Issue 7811002: Remove use of <iostream> where unnecessary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed Created 9 years, 3 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
« no previous file with comments | « media/tools/shader_bench/shader_bench.cc ('k') | net/http/http_auth_filter_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <fstream> 5 #include <fstream>
6 #include <iostream> 6 #include <ostream>
7 7
8 #if defined(USE_SYSTEM_ZLIB) 8 #if defined(USE_SYSTEM_ZLIB)
9 #include <zlib.h> 9 #include <zlib.h>
10 #else 10 #else
11 #include "third_party/zlib/zlib.h" 11 #include "third_party/zlib/zlib.h"
12 #endif 12 #endif
13 13
14 #include "base/file_util.h" 14 #include "base/file_util.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/path_service.h" 16 #include "base/path_service.h"
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 int corrupt_decode_size = kDefaultBufferSize; 388 int corrupt_decode_size = kDefaultBufferSize;
389 389
390 int code = DecodeAllWithFilter(filter_.get(), corrupt_data, corrupt_data_len, 390 int code = DecodeAllWithFilter(filter_.get(), corrupt_data, corrupt_data_len,
391 corrupt_decode_buffer, &corrupt_decode_size); 391 corrupt_decode_buffer, &corrupt_decode_size);
392 392
393 // Expect failures 393 // Expect failures
394 EXPECT_TRUE(code == Filter::FILTER_ERROR); 394 EXPECT_TRUE(code == Filter::FILTER_ERROR);
395 } 395 }
396 396
397 } // namespace net 397 } // namespace net
OLDNEW
« no previous file with comments | « media/tools/shader_bench/shader_bench.cc ('k') | net/http/http_auth_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698