summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-20 20:08:23 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-20 20:08:23 +0000
commitf3b1afd587e13f4d67288806ed4f07fc8a14ed5f (patch)
treeb5f2071627e5825bf3e12cb7284051cc33767e7a /base
parente52162ef0805fa045fb4e7be19d0ed49a0258173 (diff)
downloadchromium_src-f3b1afd587e13f4d67288806ed4f07fc8a14ed5f.zip
chromium_src-f3b1afd587e13f4d67288806ed4f07fc8a14ed5f.tar.gz
chromium_src-f3b1afd587e13f4d67288806ed4f07fc8a14ed5f.tar.bz2
Remove <iostream> where possible.
<iostream> creates a static initializer. Most people don't need <iostream> anyway--they really need <ostream> for operator<< overloads. <iostream> should *never* be included in a header file; <iosfwd> exists for that purpose. BUG=none TEST=none Review URL: http://codereview.chromium.org/3014015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53083 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/crypto/rsa_private_key.cc1
-rw-r--r--base/crypto/rsa_private_key_nss.cc1
-rw-r--r--base/crypto/rsa_private_key_win.cc1
-rw-r--r--base/file_util_unittest.cc1
-rw-r--r--base/linked_ptr_unittest.cc1
-rw-r--r--base/string_piece.cc2
6 files changed, 1 insertions, 6 deletions
diff --git a/base/crypto/rsa_private_key.cc b/base/crypto/rsa_private_key.cc
index 8b88b84..e8eb2ab 100644
--- a/base/crypto/rsa_private_key.cc
+++ b/base/crypto/rsa_private_key.cc
@@ -4,7 +4,6 @@
#include "base/crypto/rsa_private_key.h"
-#include <iostream>
#include <list>
#include "base/logging.h"
diff --git a/base/crypto/rsa_private_key_nss.cc b/base/crypto/rsa_private_key_nss.cc
index a6b8ffa..4fc0650 100644
--- a/base/crypto/rsa_private_key_nss.cc
+++ b/base/crypto/rsa_private_key_nss.cc
@@ -8,7 +8,6 @@
#include <keyhi.h>
#include <pk11pub.h>
-#include <iostream>
#include <list>
#include "base/leak_annotations.h"
diff --git a/base/crypto/rsa_private_key_win.cc b/base/crypto/rsa_private_key_win.cc
index 40aa80a..b02ef3c 100644
--- a/base/crypto/rsa_private_key_win.cc
+++ b/base/crypto/rsa_private_key_win.cc
@@ -4,7 +4,6 @@
#include "base/crypto/rsa_private_key.h"
-#include <iostream>
#include <list>
#include "base/logging.h"
diff --git a/base/file_util_unittest.cc b/base/file_util_unittest.cc
index 7acf00c..7860111 100644
--- a/base/file_util_unittest.cc
+++ b/base/file_util_unittest.cc
@@ -13,7 +13,6 @@
#endif
#include <fstream>
-#include <iostream>
#include <set>
#include "base/base_paths.h"
diff --git a/base/linked_ptr_unittest.cc b/base/linked_ptr_unittest.cc
index d5e2d4d..f0b8989 100644
--- a/base/linked_ptr_unittest.cc
+++ b/base/linked_ptr_unittest.cc
@@ -3,7 +3,6 @@
// found in the LICENSE file.
#include <string>
-#include <iostream>
#include "base/linked_ptr.h"
diff --git a/base/string_piece.cc b/base/string_piece.cc
index 6844892..082e3c2 100644
--- a/base/string_piece.cc
+++ b/base/string_piece.cc
@@ -4,7 +4,7 @@
// Copied from strings/stringpiece.cc with modifications
#include <algorithm>
-#include <iostream>
+#include <ostream>
#include "base/string_piece.h"