diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-01 20:19:53 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-01 20:19:53 +0000 |
commit | a5c0fd98173a9a4fc5674d44afc1594996fc05e0 (patch) | |
tree | b8ca4d59fc1d4f71d0ed1c7182993ad6b4c4c08b /net | |
parent | 7fb356f9b1f572a2f291a694c43de05c3ef8f3de (diff) | |
download | chromium_src-a5c0fd98173a9a4fc5674d44afc1594996fc05e0.zip chromium_src-a5c0fd98173a9a4fc5674d44afc1594996fc05e0.tar.gz chromium_src-a5c0fd98173a9a4fc5674d44afc1594996fc05e0.tar.bz2 |
Remove use of <iostream> where unnecessary.
Any file which uses <iostream> gains a static initializer, which is both
disallowed by our style guide and also harms startup performance.
Note that Chrome's logging.h uses <ostream> (note missing "i"), which includes
the << operators for logging but does *not* use cin/cout. This is fine.
BUG=94794
Review URL: http://codereview.chromium.org/7811002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99237 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/base/gzip_filter_unittest.cc | 2 | ||||
-rw-r--r-- | net/http/http_auth_filter_unittest.cc | 2 | ||||
-rw-r--r-- | net/tools/flip_server/epoll_server.cc | 4 | ||||
-rw-r--r-- | net/tools/flip_server/epoll_server.h | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/net/base/gzip_filter_unittest.cc b/net/base/gzip_filter_unittest.cc index 2753701..8b76e8c 100644 --- a/net/base/gzip_filter_unittest.cc +++ b/net/base/gzip_filter_unittest.cc @@ -3,7 +3,7 @@ // found in the LICENSE file. #include <fstream> -#include <iostream> +#include <ostream> #if defined(USE_SYSTEM_ZLIB) #include <zlib.h> diff --git a/net/http/http_auth_filter_unittest.cc b/net/http/http_auth_filter_unittest.cc index 73f649e..0aab9d4 100644 --- a/net/http/http_auth_filter_unittest.cc +++ b/net/http/http_auth_filter_unittest.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include <iostream> +#include <ostream> #include "base/memory/scoped_ptr.h" diff --git a/net/tools/flip_server/epoll_server.cc b/net/tools/flip_server/epoll_server.cc index e8219b0..51d58c8 100644 --- a/net/tools/flip_server/epoll_server.cc +++ b/net/tools/flip_server/epoll_server.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -7,7 +7,7 @@ #include <stdlib.h> // for abort #include <errno.h> // for errno and strerror_r #include <algorithm> -#include <iostream> +#include <ostream> #include <utility> #include <vector> diff --git a/net/tools/flip_server/epoll_server.h b/net/tools/flip_server/epoll_server.h index 2af9fcf..56496c0 100644 --- a/net/tools/flip_server/epoll_server.h +++ b/net/tools/flip_server/epoll_server.h @@ -31,7 +31,7 @@ // the macro is defined. See the EventRecorder class interface // within the EpollServer class for more details. #ifdef EPOLL_SERVER_EVENT_TRACING -#include <iostream> +#include <ostream> #include "base/logging.h" #endif |