diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-19 08:17:22 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-19 08:17:22 +0000 |
commit | 2f7faae9fed24262c8e263c0fa24276a50f1ed97 (patch) | |
tree | 9acbebcd1367d5e5b868833f09a9d806bd184b61 /net | |
parent | 1d79ff2cfbf5fac3f24cf5603319e490850e05c9 (diff) | |
download | chromium_src-2f7faae9fed24262c8e263c0fa24276a50f1ed97.zip chromium_src-2f7faae9fed24262c8e263c0fa24276a50f1ed97.tar.gz chromium_src-2f7faae9fed24262c8e263c0fa24276a50f1ed97.tar.bz2 |
FBTF: Remove unnecessary STL #includes from src/net.
This removes obviously unneeded inclusions of <map>, <set>, <string>, <vector>,
etc. from src/net.
BUG=none
TEST=builds
Review URL: http://codereview.chromium.org/3132022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56654 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
29 files changed, 16 insertions, 59 deletions
diff --git a/net/base/directory_lister.h b/net/base/directory_lister.h index 5563093..cbb1a17 100644 --- a/net/base/directory_lister.h +++ b/net/base/directory_lister.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -6,8 +6,6 @@ #define NET_BASE_DIRECTORY_LISTER_H_ #pragma once -#include <string> - #include "base/cancellation_flag.h" #include "base/file_path.h" #include "base/file_util.h" diff --git a/net/base/host_resolver_impl.h b/net/base/host_resolver_impl.h index 5206536..0bebe59 100644 --- a/net/base/host_resolver_impl.h +++ b/net/base/host_resolver_impl.h @@ -6,7 +6,6 @@ #define NET_BASE_HOST_RESOLVER_IMPL_H_ #pragma once -#include <string> #include <vector> #include "base/non_thread_safe.h" diff --git a/net/base/mapped_host_resolver.h b/net/base/mapped_host_resolver.h index d0ef835..1f1bf1c 100644 --- a/net/base/mapped_host_resolver.h +++ b/net/base/mapped_host_resolver.h @@ -7,7 +7,6 @@ #pragma once #include <string> -#include <vector> #include "base/ref_counted.h" #include "net/base/host_mapping_rules.h" diff --git a/net/base/net_log_unittest.h b/net/base/net_log_unittest.h index a013f23..8db51e5 100644 --- a/net/base/net_log_unittest.h +++ b/net/base/net_log_unittest.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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 @@ #pragma once #include <cstddef> -#include <vector> + #include "net/base/capturing_net_log.h" #include "testing/gtest/include/gtest/gtest.h" diff --git a/net/base/ssl_config_service_win.h b/net/base/ssl_config_service_win.h index a37ecff..2b37f84 100644 --- a/net/base/ssl_config_service_win.h +++ b/net/base/ssl_config_service_win.h @@ -6,8 +6,6 @@ #define NET_BASE_SSL_CONFIG_SERVICE_WIN_H_ #pragma once -#include <set> - #include "base/time.h" #include "net/base/ssl_config_service.h" diff --git a/net/base/ssl_info.h b/net/base/ssl_info.h index be0a6cf..d6103c9 100644 --- a/net/base/ssl_info.h +++ b/net/base/ssl_info.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -6,8 +6,6 @@ #define NET_BASE_SSL_INFO_H_ #pragma once -#include <string> - #include "net/base/cert_status_flags.h" #include "net/base/x509_certificate.h" diff --git a/net/base/x509_cert_types.h b/net/base/x509_cert_types.h index 1a788a7d..b7540c4 100644 --- a/net/base/x509_cert_types.h +++ b/net/base/x509_cert_types.h @@ -1,4 +1,4 @@ -// Copyright (c) 2007-2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -10,7 +10,6 @@ #include <functional> #include <iosfwd> -#include <map> #include <set> #include <string> #include <vector> diff --git a/net/disk_cache/cache_util.h b/net/disk_cache/cache_util.h index f30e70a..455bf30 100644 --- a/net/disk_cache/cache_util.h +++ b/net/disk_cache/cache_util.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -6,8 +6,6 @@ #define NET_DISK_CACHE_CACHE_UTIL_H_ #pragma once -#include <string> - #include "base/basictypes.h" class FilePath; diff --git a/net/disk_cache/file.h b/net/disk_cache/file.h index 5e1c276..2535866 100644 --- a/net/disk_cache/file.h +++ b/net/disk_cache/file.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -8,8 +8,6 @@ #define NET_DISK_CACHE_FILE_H_ #pragma once -#include <string> - #include "base/platform_file.h" #include "base/ref_counted.h" diff --git a/net/disk_cache/mapped_file.h b/net/disk_cache/mapped_file.h index 2c7d6e6..c39f3f9 100644 --- a/net/disk_cache/mapped_file.h +++ b/net/disk_cache/mapped_file.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -8,8 +8,6 @@ #define NET_DISK_CACHE_MAPPED_FILE_H_ #pragma once -#include <string> - #include "net/disk_cache/disk_format.h" #include "net/disk_cache/file.h" #include "net/disk_cache/file_block.h" diff --git a/net/disk_cache/trace.h b/net/disk_cache/trace.h index 7a3d4bf..25d9b33 100644 --- a/net/disk_cache/trace.h +++ b/net/disk_cache/trace.h @@ -10,9 +10,6 @@ #define NET_DISK_CACHE_TRACE_H__ #pragma once -#include <string> -#include <vector> - #include "base/basictypes.h" #include "base/ref_counted.h" diff --git a/net/ftp/ftp_network_transaction.h b/net/ftp/ftp_network_transaction.h index 3732157..5bad335 100644 --- a/net/ftp/ftp_network_transaction.h +++ b/net/ftp/ftp_network_transaction.h @@ -6,10 +6,8 @@ #define NET_FTP_FTP_NETWORK_TRANSACTION_H_ #pragma once -#include <queue> #include <string> #include <utility> -#include <vector> #include "base/ref_counted.h" #include "base/scoped_ptr.h" diff --git a/net/http/http_auth_filter.h b/net/http/http_auth_filter.h index 5160513..73d4148 100644 --- a/net/http/http_auth_filter.h +++ b/net/http/http_auth_filter.h @@ -7,7 +7,6 @@ #pragma once #include <list> -#include <set> #include <string> #include "net/http/http_auth.h" diff --git a/net/http/http_auth_filter_win.h b/net/http/http_auth_filter_win.h index 3a25865..ba15084 100644 --- a/net/http/http_auth_filter_win.h +++ b/net/http/http_auth_filter_win.h @@ -6,8 +6,6 @@ #define NET_HTTP_HTTP_AUTH_FILTER_WIN_H_ #pragma once -#include <string> - #include "build/build_config.h" #if defined(OS_WIN) diff --git a/net/http/http_net_log_params.h b/net/http/http_net_log_params.h index 4b419da..a1d3db8 100644 --- a/net/http/http_net_log_params.h +++ b/net/http/http_net_log_params.h @@ -7,7 +7,6 @@ #pragma once #include <string> -#include <vector> #include "base/basictypes.h" #include "base/ref_counted.h" diff --git a/net/http/mock_gssapi_library_posix.h b/net/http/mock_gssapi_library_posix.h index 4c655bc..15e14f2 100644 --- a/net/http/mock_gssapi_library_posix.h +++ b/net/http/mock_gssapi_library_posix.h @@ -7,7 +7,6 @@ #pragma once #include <list> -#include <set> #include <string> #include "base/gtest_prod_util.h" diff --git a/net/http/partial_data.h b/net/http/partial_data.h index bbb1f8b..22e0c8b 100644 --- a/net/http/partial_data.h +++ b/net/http/partial_data.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -6,8 +6,6 @@ #define NET_HTTP_PARTIAL_DATA_H_ #pragma once -#include <string> - #include "base/basictypes.h" #include "net/base/completion_callback.h" #include "net/http/http_byte_range.h" diff --git a/net/proxy/init_proxy_resolver.h b/net/proxy/init_proxy_resolver.h index f875457..6c417d5 100644 --- a/net/proxy/init_proxy_resolver.h +++ b/net/proxy/init_proxy_resolver.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -6,9 +6,9 @@ #define NET_PROXY_INIT_PROXY_RESOLVER_H_ #pragma once -#include <string> #include <vector> +#include "base/string16.h" #include "googleurl/src/gurl.h" #include "net/base/completion_callback.h" #include "net/base/net_log.h" diff --git a/net/proxy/multi_threaded_proxy_resolver.h b/net/proxy/multi_threaded_proxy_resolver.h index aedba35..1ad28f7 100644 --- a/net/proxy/multi_threaded_proxy_resolver.h +++ b/net/proxy/multi_threaded_proxy_resolver.h @@ -7,7 +7,6 @@ #pragma once #include <deque> -#include <string> #include <vector> #include "base/basictypes.h" diff --git a/net/proxy/proxy_config.h b/net/proxy/proxy_config.h index 5254216..6720acd 100644 --- a/net/proxy/proxy_config.h +++ b/net/proxy/proxy_config.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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,6 @@ #pragma once #include <string> -#include <vector> #include "googleurl/src/gurl.h" #include "net/proxy/proxy_bypass_rules.h" diff --git a/net/proxy/proxy_config_service_common_unittest.h b/net/proxy/proxy_config_service_common_unittest.h index 4a70b26..2a10489 100644 --- a/net/proxy/proxy_config_service_common_unittest.h +++ b/net/proxy/proxy_config_service_common_unittest.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -6,9 +6,6 @@ #define NET_PROXY_PROXY_CONFIG_SERVICE_COMMON_UNITTEST_H_ #pragma once -#include <string> -#include <vector> - #include "net/proxy/proxy_config.h" #include "testing/gtest/include/gtest/gtest.h" diff --git a/net/proxy/proxy_resolver_mac.h b/net/proxy/proxy_resolver_mac.h index d867006..950b11f 100644 --- a/net/proxy/proxy_resolver_mac.h +++ b/net/proxy/proxy_resolver_mac.h @@ -1,4 +1,4 @@ -// Copyright (c) 2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -6,8 +6,6 @@ #define NET_PROXY_PROXY_RESOLVER_MAC_H_ #pragma once -#include <string> - #include "googleurl/src/gurl.h" #include "net/base/net_errors.h" #include "net/proxy/proxy_resolver.h" diff --git a/net/proxy/proxy_resolver_winhttp.h b/net/proxy/proxy_resolver_winhttp.h index f6da68c..68d1109 100644 --- a/net/proxy/proxy_resolver_winhttp.h +++ b/net/proxy/proxy_resolver_winhttp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -6,8 +6,6 @@ #define NET_PROXY_PROXY_RESOLVER_WINHTTP_H_ #pragma once -#include <string> - #include "googleurl/src/gurl.h" #include "net/proxy/proxy_resolver.h" diff --git a/net/proxy/proxy_service.h b/net/proxy/proxy_service.h index 1cb4840..3a3f7da 100644 --- a/net/proxy/proxy_service.h +++ b/net/proxy/proxy_service.h @@ -6,7 +6,6 @@ #define NET_PROXY_PROXY_SERVICE_H_ #pragma once -#include <string> #include <vector> #include "base/gtest_prod_util.h" diff --git a/net/socket/client_socket_pool.h b/net/socket/client_socket_pool.h index 2a50285..1fff2b3 100644 --- a/net/socket/client_socket_pool.h +++ b/net/socket/client_socket_pool.h @@ -7,7 +7,6 @@ #pragma once #include <deque> -#include <map> #include <string> #include "base/basictypes.h" diff --git a/net/socket_stream/socket_stream.h b/net/socket_stream/socket_stream.h index 87237f1..edc616f 100644 --- a/net/socket_stream/socket_stream.h +++ b/net/socket_stream/socket_stream.h @@ -9,7 +9,6 @@ #include <deque> #include <map> #include <string> -#include <vector> #include "base/linked_ptr.h" #include "base/ref_counted.h" diff --git a/net/socket_stream/socket_stream_metrics.h b/net/socket_stream/socket_stream_metrics.h index 519b7e7..946a065 100644 --- a/net/socket_stream/socket_stream_metrics.h +++ b/net/socket_stream/socket_stream_metrics.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. // @@ -9,8 +9,6 @@ #define NET_SOCKET_STREAM_SOCKET_STREAM_METRICS_H_ #pragma once -#include <string> - #include "base/basictypes.h" #include "base/time.h" diff --git a/net/url_request/url_request_http_job.h b/net/url_request/url_request_http_job.h index ea2e544..431756a 100644 --- a/net/url_request/url_request_http_job.h +++ b/net/url_request/url_request_http_job.h @@ -6,7 +6,6 @@ #define NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ #pragma once -#include <set> #include <string> #include <vector> diff --git a/net/url_request/url_request_unittest.h b/net/url_request/url_request_unittest.h index a05634f..7fbbee7 100644 --- a/net/url_request/url_request_unittest.h +++ b/net/url_request/url_request_unittest.h @@ -10,7 +10,6 @@ #include <sstream> #include <string> -#include <vector> #include "base/logging.h" #include "base/message_loop.h" |