diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-20 20:08:23 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-20 20:08:23 +0000 |
commit | f3b1afd587e13f4d67288806ed4f07fc8a14ed5f (patch) | |
tree | b5f2071627e5825bf3e12cb7284051cc33767e7a /chrome | |
parent | e52162ef0805fa045fb4e7be19d0ed49a0258173 (diff) | |
download | chromium_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 'chrome')
-rw-r--r-- | chrome/browser/cocoa/nsmenuitem_additions_unittest.mm | 2 | ||||
-rw-r--r-- | chrome/browser/parsers/metadata_parser_filebase.cc | 3 | ||||
-rw-r--r-- | chrome/browser/process_info_snapshot_mac.cc | 1 | ||||
-rw-r--r-- | chrome/browser/safe_browsing/filter_false_positive_perftest.cc | 1 | ||||
-rw-r--r-- | chrome/browser/sync/syncable/syncable_unittest.cc | 1 | ||||
-rw-r--r-- | chrome/common/logging_chrome.cc | 1 | ||||
-rw-r--r-- | chrome/installer/util/copy_tree_work_item_unittest.cc | 1 | ||||
-rw-r--r-- | chrome/installer/util/delete_tree_work_item_unittest.cc | 1 | ||||
-rw-r--r-- | chrome/installer/util/helper_unittest.cc | 1 | ||||
-rw-r--r-- | chrome/installer/util/move_tree_work_item_unittest.cc | 1 | ||||
-rw-r--r-- | chrome/installer/util/shell_util_unittest.cc | 1 | ||||
-rw-r--r-- | chrome/test/reliability/page_load_test.cc | 1 | ||||
-rw-r--r-- | chrome/test/test_launcher/test_runner.cc | 1 | ||||
-rw-r--r-- | chrome/test/v8_unit_test.cc | 2 | ||||
-rw-r--r-- | chrome/tools/crash_service/crash_service.cc | 1 |
15 files changed, 1 insertions, 18 deletions
diff --git a/chrome/browser/cocoa/nsmenuitem_additions_unittest.mm b/chrome/browser/cocoa/nsmenuitem_additions_unittest.mm index 2be2a27..869cadeb 100644 --- a/chrome/browser/cocoa/nsmenuitem_additions_unittest.mm +++ b/chrome/browser/cocoa/nsmenuitem_additions_unittest.mm @@ -6,7 +6,7 @@ #include <Carbon/Carbon.h> -#include <iostream> +#include <ostream> #include "base/scoped_nsobject.h" #include "base/sys_string_conversions.h" diff --git a/chrome/browser/parsers/metadata_parser_filebase.cc b/chrome/browser/parsers/metadata_parser_filebase.cc index ad92ea2..5b4aeff 100644 --- a/chrome/browser/parsers/metadata_parser_filebase.cc +++ b/chrome/browser/parsers/metadata_parser_filebase.cc @@ -2,9 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include <iostream> -#include <sstream> - #include "chrome/browser/parsers/metadata_parser_filebase.h" #include "base/file_util.h" diff --git a/chrome/browser/process_info_snapshot_mac.cc b/chrome/browser/process_info_snapshot_mac.cc index 4e2608b..732f22e 100644 --- a/chrome/browser/process_info_snapshot_mac.cc +++ b/chrome/browser/process_info_snapshot_mac.cc @@ -4,7 +4,6 @@ #include "chrome/browser/process_info_snapshot.h" -#include <iostream> #include <sstream> #include "base/logging.h" diff --git a/chrome/browser/safe_browsing/filter_false_positive_perftest.cc b/chrome/browser/safe_browsing/filter_false_positive_perftest.cc index ea913d8..fd58ea5 100644 --- a/chrome/browser/safe_browsing/filter_false_positive_perftest.cc +++ b/chrome/browser/safe_browsing/filter_false_positive_perftest.cc @@ -53,7 +53,6 @@ // unique views for the URL. #include <fstream> -#include <iostream> #include <vector> #include "base/command_line.h" diff --git a/chrome/browser/sync/syncable/syncable_unittest.cc b/chrome/browser/sync/syncable/syncable_unittest.cc index c8be9f4..6c5ceff 100644 --- a/chrome/browser/sync/syncable/syncable_unittest.cc +++ b/chrome/browser/sync/syncable/syncable_unittest.cc @@ -8,7 +8,6 @@ #include <sys/types.h> -#include <iostream> #include <limits> #include <string> diff --git a/chrome/common/logging_chrome.cc b/chrome/common/logging_chrome.cc index b1333a2..c3bdb77 100644 --- a/chrome/common/logging_chrome.cc +++ b/chrome/common/logging_chrome.cc @@ -26,7 +26,6 @@ #include <windows.h> #endif -#include <iostream> #include <fstream> #include "chrome/common/logging_chrome.h" diff --git a/chrome/installer/util/copy_tree_work_item_unittest.cc b/chrome/installer/util/copy_tree_work_item_unittest.cc index d24d4ae..5668c37 100644 --- a/chrome/installer/util/copy_tree_work_item_unittest.cc +++ b/chrome/installer/util/copy_tree_work_item_unittest.cc @@ -5,7 +5,6 @@ #include <windows.h> #include <fstream> -#include <iostream> #include "base/base_paths.h" #include "base/file_util.h" diff --git a/chrome/installer/util/delete_tree_work_item_unittest.cc b/chrome/installer/util/delete_tree_work_item_unittest.cc index 645cea8..679fea6 100644 --- a/chrome/installer/util/delete_tree_work_item_unittest.cc +++ b/chrome/installer/util/delete_tree_work_item_unittest.cc @@ -5,7 +5,6 @@ #include <windows.h> #include <fstream> -#include <iostream> #include "base/base_paths.h" #include "base/file_util.h" diff --git a/chrome/installer/util/helper_unittest.cc b/chrome/installer/util/helper_unittest.cc index 05ca505..7604e49 100644 --- a/chrome/installer/util/helper_unittest.cc +++ b/chrome/installer/util/helper_unittest.cc @@ -5,7 +5,6 @@ #include <windows.h> #include <fstream> -#include <iostream> #include "base/base_paths.h" #include "base/file_util.h" diff --git a/chrome/installer/util/move_tree_work_item_unittest.cc b/chrome/installer/util/move_tree_work_item_unittest.cc index 8daa601..46dd415 100644 --- a/chrome/installer/util/move_tree_work_item_unittest.cc +++ b/chrome/installer/util/move_tree_work_item_unittest.cc @@ -5,7 +5,6 @@ #include <windows.h> #include <fstream> -#include <iostream> #include "base/base_paths.h" #include "base/file_util.h" diff --git a/chrome/installer/util/shell_util_unittest.cc b/chrome/installer/util/shell_util_unittest.cc index 143959a..ae74556 100644 --- a/chrome/installer/util/shell_util_unittest.cc +++ b/chrome/installer/util/shell_util_unittest.cc @@ -7,7 +7,6 @@ #include <shlobj.h> #include <fstream> -#include <iostream> #include "base/file_util.h" #include "base/path_service.h" diff --git a/chrome/test/reliability/page_load_test.cc b/chrome/test/reliability/page_load_test.cc index e39d342..4966acf 100644 --- a/chrome/test/reliability/page_load_test.cc +++ b/chrome/test/reliability/page_load_test.cc @@ -35,7 +35,6 @@ // --savedebuglog: save Chrome, V8, and test debug log for each page loaded. #include <fstream> -#include <iostream> #include "base/command_line.h" #include "base/file_path.h" diff --git a/chrome/test/test_launcher/test_runner.cc b/chrome/test/test_launcher/test_runner.cc index a13519a..1b75318 100644 --- a/chrome/test/test_launcher/test_runner.cc +++ b/chrome/test/test_launcher/test_runner.cc @@ -4,7 +4,6 @@ #include "chrome/test/test_launcher/test_runner.h" -#include <iostream> #include <vector> #include "base/command_line.h" diff --git a/chrome/test/v8_unit_test.cc b/chrome/test/v8_unit_test.cc index 0ac6c1f..79dc887 100644 --- a/chrome/test/v8_unit_test.cc +++ b/chrome/test/v8_unit_test.cc @@ -2,8 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include <iostream> - #include "base/string_util.h" #include "chrome/test/v8_unit_test.h" diff --git a/chrome/tools/crash_service/crash_service.cc b/chrome/tools/crash_service/crash_service.cc index 72d26d0..c062c04 100644 --- a/chrome/tools/crash_service/crash_service.cc +++ b/chrome/tools/crash_service/crash_service.cc @@ -6,7 +6,6 @@ #include <windows.h> -#include <iostream> #include <fstream> #include <map> #include <sddl.h> |