diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-26 23:08:24 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-26 23:08:24 +0000 |
commit | 32b76eff6f630b9bcc0fc3f3bad826f3d1217dda (patch) | |
tree | a5687726e4f145c715c73cbbff23e88ac2192eb9 /net/http | |
parent | 7cf4d5505378a983947d8c989841f1f378f19cde (diff) | |
download | chromium_src-32b76eff6f630b9bcc0fc3f3bad826f3d1217dda.zip chromium_src-32b76eff6f630b9bcc0fc3f3bad826f3d1217dda.tar.gz chromium_src-32b76eff6f630b9bcc0fc3f3bad826f3d1217dda.tar.bz2 |
`#pragma once` for app, base, chrome, gfx, ipc, net, skia, views
BUG=50273
TEST=everything still builds, build is 10% faster on windows, same speed on mac/linux
TBR: erg
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53716 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http')
45 files changed, 45 insertions, 0 deletions
diff --git a/net/http/des.h b/net/http/des.h index 7b1469b..94a4f7c 100644 --- a/net/http/des.h +++ b/net/http/des.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_DES_H_ #define NET_HTTP_DES_H_ +#pragma once #include "base/basictypes.h" diff --git a/net/http/http_alternate_protocols.h b/net/http/http_alternate_protocols.h index 0c16798..72f67ae 100644 --- a/net/http/http_alternate_protocols.h +++ b/net/http/http_alternate_protocols.h @@ -8,6 +8,7 @@ #ifndef NET_HTTP_HTTP_ALTERNATE_PROTOCOLS_H_ #define NET_HTTP_HTTP_ALTERNATE_PROTOCOLS_H_ +#pragma once #include <map> #include <string> diff --git a/net/http/http_auth.h b/net/http/http_auth.h index 01afcc0..1a752a0 100644 --- a/net/http/http_auth.h +++ b/net/http/http_auth.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_AUTH_H_ #define NET_HTTP_HTTP_AUTH_H_ +#pragma once #include <set> diff --git a/net/http/http_auth_cache.h b/net/http/http_auth_cache.h index 1d238af1..297457d 100644 --- a/net/http/http_auth_cache.h +++ b/net/http/http_auth_cache.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_AUTH_CACHE_H_ #define NET_HTTP_HTTP_AUTH_CACHE_H_ +#pragma once #include <list> #include <string> diff --git a/net/http/http_auth_controller.h b/net/http/http_auth_controller.h index 9bc8d59..098adb8 100644 --- a/net/http/http_auth_controller.h +++ b/net/http/http_auth_controller.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_AUTH_CONTROLLER_H_ #define NET_HTTP_HTTP_AUTH_CONTROLLER_H_ +#pragma once #include <set> #include <string> diff --git a/net/http/http_auth_filter.h b/net/http/http_auth_filter.h index 8a2524c..f120b2a 100644 --- a/net/http/http_auth_filter.h +++ b/net/http/http_auth_filter.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_AUTH_FILTER_H_ #define NET_HTTP_HTTP_AUTH_FILTER_H_ +#pragma once #include <list> #include <set> diff --git a/net/http/http_auth_filter_win.h b/net/http/http_auth_filter_win.h index f819523..f201f65 100644 --- a/net/http/http_auth_filter_win.h +++ b/net/http/http_auth_filter_win.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_AUTH_FILTER_WIN_H_ #define NET_HTTP_HTTP_AUTH_FILTER_WIN_H_ +#pragma once #include <string> diff --git a/net/http/http_auth_gssapi_posix.h b/net/http/http_auth_gssapi_posix.h index f0642ea..746ce59 100644 --- a/net/http/http_auth_gssapi_posix.h +++ b/net/http/http_auth_gssapi_posix.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_AUTH_GSSAPI_POSIX_H_ #define NET_HTTP_HTTP_AUTH_GSSAPI_POSIX_H_ +#pragma once #include <string> diff --git a/net/http/http_auth_handler.h b/net/http/http_auth_handler.h index ad8c939..179ed25 100644 --- a/net/http/http_auth_handler.h +++ b/net/http/http_auth_handler.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_AUTH_HANDLER_H_ #define NET_HTTP_HTTP_AUTH_HANDLER_H_ +#pragma once #include <string> diff --git a/net/http/http_auth_handler_basic.h b/net/http/http_auth_handler_basic.h index 6ecb80a..a4cb28e 100644 --- a/net/http/http_auth_handler_basic.h +++ b/net/http/http_auth_handler_basic.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_AUTH_HANDLER_BASIC_H_ #define NET_HTTP_HTTP_AUTH_HANDLER_BASIC_H_ +#pragma once #include "net/http/http_auth_handler.h" #include "net/http/http_auth_handler_factory.h" diff --git a/net/http/http_auth_handler_digest.h b/net/http/http_auth_handler_digest.h index 2aa9028..bf3aa77 100644 --- a/net/http/http_auth_handler_digest.h +++ b/net/http/http_auth_handler_digest.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_AUTH_HANDLER_DIGEST_H_ #define NET_HTTP_HTTP_AUTH_HANDLER_DIGEST_H_ +#pragma once #include "net/http/http_auth_handler.h" #include "net/http/http_auth_handler_factory.h" diff --git a/net/http/http_auth_handler_factory.h b/net/http/http_auth_handler_factory.h index 5f12e20..41f7250 100644 --- a/net/http/http_auth_handler_factory.h +++ b/net/http/http_auth_handler_factory.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_AUTH_HANDLER_FACTORY_H_ #define NET_HTTP_HTTP_AUTH_HANDLER_FACTORY_H_ +#pragma once #include <map> #include <string> diff --git a/net/http/http_auth_handler_mock.h b/net/http/http_auth_handler_mock.h index a0ef4f0..c99092a 100644 --- a/net/http/http_auth_handler_mock.h +++ b/net/http/http_auth_handler_mock.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_AUTH_HANDLER_MOCK_H_ #define NET_HTTP_HTTP_AUTH_HANDLER_MOCK_H_ +#pragma once #include <string> diff --git a/net/http/http_auth_handler_negotiate.h b/net/http/http_auth_handler_negotiate.h index ec1a194..abc18ef 100644 --- a/net/http/http_auth_handler_negotiate.h +++ b/net/http/http_auth_handler_negotiate.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_AUTH_HANDLER_NEGOTIATE_H_ #define NET_HTTP_HTTP_AUTH_HANDLER_NEGOTIATE_H_ +#pragma once #include <string> diff --git a/net/http/http_auth_handler_ntlm.h b/net/http/http_auth_handler_ntlm.h index f22a2b5..3cefc56 100644 --- a/net/http/http_auth_handler_ntlm.h +++ b/net/http/http_auth_handler_ntlm.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_AUTH_HANDLER_NTLM_H_ #define NET_HTTP_HTTP_AUTH_HANDLER_NTLM_H_ +#pragma once #include "build/build_config.h" diff --git a/net/http/http_auth_sspi_win.h b/net/http/http_auth_sspi_win.h index 14d158a..95775ae 100644 --- a/net/http/http_auth_sspi_win.h +++ b/net/http/http_auth_sspi_win.h @@ -7,6 +7,7 @@ #ifndef NET_HTTP_HTTP_AUTH_SSPI_WIN_H_ #define NET_HTTP_HTTP_AUTH_SSPI_WIN_H_ +#pragma once // security.h needs to be included for CredHandle. Unfortunately CredHandle // is a typedef and can't be forward declared. diff --git a/net/http/http_basic_stream.h b/net/http/http_basic_stream.h index ff3bcf2..430d7f4 100644 --- a/net/http/http_basic_stream.h +++ b/net/http/http_basic_stream.h @@ -8,6 +8,7 @@ #ifndef NET_HTTP_HTTP_BASIC_STREAM_H_ #define NET_HTTP_HTTP_BASIC_STREAM_H_ +#pragma once #include <string> diff --git a/net/http/http_byte_range.h b/net/http/http_byte_range.h index a4f52f2..5b0a9d1 100644 --- a/net/http/http_byte_range.h +++ b/net/http/http_byte_range.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_BYTE_RANGE_H_ #define NET_HTTP_HTTP_BYTE_RANGE_H_ +#pragma once #include "base/basictypes.h" diff --git a/net/http/http_cache.h b/net/http/http_cache.h index daa6d28..5d44a30 100644 --- a/net/http/http_cache.h +++ b/net/http/http_cache.h @@ -13,6 +13,7 @@ #ifndef NET_HTTP_HTTP_CACHE_H_ #define NET_HTTP_HTTP_CACHE_H_ +#pragma once #include <list> #include <set> diff --git a/net/http/http_cache_transaction.h b/net/http/http_cache_transaction.h index ae143e9..bd9dc75 100644 --- a/net/http/http_cache_transaction.h +++ b/net/http/http_cache_transaction.h @@ -7,6 +7,7 @@ #ifndef NET_HTTP_HTTP_CACHE_TRANSACTION_H_ #define NET_HTTP_HTTP_CACHE_TRANSACTION_H_ +#pragma once #include "net/base/net_log.h" #include "base/time.h" diff --git a/net/http/http_chunked_decoder.h b/net/http/http_chunked_decoder.h index 174dddc..cf6e6b9 100644 --- a/net/http/http_chunked_decoder.h +++ b/net/http/http_chunked_decoder.h @@ -40,6 +40,7 @@ #ifndef NET_HTTP_HTTP_CHUNKED_DECODER_H_ #define NET_HTTP_HTTP_CHUNKED_DECODER_H_ +#pragma once #include <string> diff --git a/net/http/http_net_log_params.h b/net/http/http_net_log_params.h index 563c799..639d959 100644 --- a/net/http/http_net_log_params.h +++ b/net/http/http_net_log_params.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_NET_LOG_PARAMS_H_ #define NET_HTTP_HTTP_NET_LOG_PARAMS_H_ +#pragma once #include <string> #include <vector> diff --git a/net/http/http_network_delegate.h b/net/http/http_network_delegate.h index 51c6766..6b60aba 100644 --- a/net/http/http_network_delegate.h +++ b/net/http/http_network_delegate.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_NETWORK_DELEGATE_H_ #define NET_HTTP_HTTP_NETWORK_DELEGATE_H_ +#pragma once namespace net { diff --git a/net/http/http_network_layer.h b/net/http/http_network_layer.h index b7229de..baa9608 100644 --- a/net/http/http_network_layer.h +++ b/net/http/http_network_layer.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_NETWORK_LAYER_H_ #define NET_HTTP_HTTP_NETWORK_LAYER_H_ +#pragma once #include <string> diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h index de57eba..98baae1 100644 --- a/net/http/http_network_session.h +++ b/net/http/http_network_session.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_ #define NET_HTTP_HTTP_NETWORK_SESSION_H_ +#pragma once #include <map> #include "base/non_thread_safe.h" diff --git a/net/http/http_network_transaction.h b/net/http/http_network_transaction.h index 4d3cf4e..ec35ced 100644 --- a/net/http/http_network_transaction.h +++ b/net/http/http_network_transaction.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ #define NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ +#pragma once #include <string> diff --git a/net/http/http_proxy_client_socket.h b/net/http/http_proxy_client_socket.h index 61e8158..317b220 100644 --- a/net/http/http_proxy_client_socket.h +++ b/net/http/http_proxy_client_socket.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ +#pragma once #include <string> diff --git a/net/http/http_proxy_client_socket_pool.h b/net/http/http_proxy_client_socket_pool.h index afe7d19..63d5c02 100644 --- a/net/http/http_proxy_client_socket_pool.h +++ b/net/http/http_proxy_client_socket_pool.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ +#pragma once #include <string> diff --git a/net/http/http_request_headers.h b/net/http/http_request_headers.h index c1f98b6..9563fa265 100644 --- a/net/http/http_request_headers.h +++ b/net/http/http_request_headers.h @@ -9,6 +9,7 @@ #ifndef NET_HTTP_HTTP_REQUEST_HEADERS_H_ #define NET_HTTP_HTTP_REQUEST_HEADERS_H_ +#pragma once #include <string> #include <vector> diff --git a/net/http/http_request_info.h b/net/http/http_request_info.h index c36e21a..1cd05e0 100644 --- a/net/http/http_request_info.h +++ b/net/http/http_request_info.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_REQUEST_INFO_H__ #define NET_HTTP_HTTP_REQUEST_INFO_H__ +#pragma once #include <string> #include "base/ref_counted.h" diff --git a/net/http/http_response_headers.h b/net/http/http_response_headers.h index 30e43eaf..5d116f6 100644 --- a/net/http/http_response_headers.h +++ b/net/http/http_response_headers.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_RESPONSE_HEADERS_H_ #define NET_HTTP_HTTP_RESPONSE_HEADERS_H_ +#pragma once #include <string> #include <vector> diff --git a/net/http/http_response_info.h b/net/http/http_response_info.h index 52c3a0e..52db066 100644 --- a/net/http/http_response_info.h +++ b/net/http/http_response_info.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_RESPONSE_INFO_H_ #define NET_HTTP_HTTP_RESPONSE_INFO_H_ +#pragma once #include "base/time.h" #include "net/base/auth.h" diff --git a/net/http/http_stream.h b/net/http/http_stream.h index de2a8d78..e3fbeb3 100644 --- a/net/http/http_stream.h +++ b/net/http/http_stream.h @@ -9,6 +9,7 @@ #ifndef NET_HTTP_HTTP_STREAM_H_ #define NET_HTTP_HTTP_STREAM_H_ +#pragma once #include <string> diff --git a/net/http/http_stream_parser.h b/net/http/http_stream_parser.h index 44cc9e8..f6a0562 100644 --- a/net/http/http_stream_parser.h +++ b/net/http/http_stream_parser.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_STREAM_PARSER_H_ #define NET_HTTP_HTTP_STREAM_PARSER_H_ +#pragma once #include <string> diff --git a/net/http/http_transaction.h b/net/http/http_transaction.h index 103f8f6..9e7d028 100644 --- a/net/http/http_transaction.h +++ b/net/http/http_transaction.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_TRANSACTION_H_ #define NET_HTTP_HTTP_TRANSACTION_H_ +#pragma once #include <string> diff --git a/net/http/http_transaction_factory.h b/net/http/http_transaction_factory.h index 3d37ffe..0d0f642 100644 --- a/net/http/http_transaction_factory.h +++ b/net/http/http_transaction_factory.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_TRANSACTION_FACTORY_H__ #define NET_HTTP_HTTP_TRANSACTION_FACTORY_H__ +#pragma once #include "base/scoped_ptr.h" diff --git a/net/http/http_transaction_unittest.h b/net/http/http_transaction_unittest.h index e550903..6b8d428 100644 --- a/net/http/http_transaction_unittest.h +++ b/net/http/http_transaction_unittest.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_TRANSACTION_UNITTEST_H_ #define NET_HTTP_HTTP_TRANSACTION_UNITTEST_H_ +#pragma once #include "net/http/http_transaction.h" diff --git a/net/http/http_util.h b/net/http/http_util.h index 447e490..33da33d 100644 --- a/net/http/http_util.h +++ b/net/http/http_util.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_UTIL_H_ #define NET_HTTP_HTTP_UTIL_H_ +#pragma once #include <vector> diff --git a/net/http/http_vary_data.h b/net/http/http_vary_data.h index 98b94fa..7e5cbb9 100644 --- a/net/http/http_vary_data.h +++ b/net/http/http_vary_data.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_VARY_DATA_H__ #define NET_HTTP_HTTP_VARY_DATA_H__ +#pragma once #include "base/md5.h" diff --git a/net/http/http_version.h b/net/http/http_version.h index 127e711..554de21 100644 --- a/net/http/http_version.h +++ b/net/http/http_version.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_VERSION_H_ #define NET_HTTP_HTTP_VERSION_H_ +#pragma once #include "base/basictypes.h" diff --git a/net/http/md4.h b/net/http/md4.h index b416e26..887f15f 100644 --- a/net/http/md4.h +++ b/net/http/md4.h @@ -43,6 +43,7 @@ #ifndef NET_HTTP_MD4_H_ #define NET_HTTP_MD4_H_ +#pragma once #include "base/basictypes.h" diff --git a/net/http/mock_gssapi_library_posix.h b/net/http/mock_gssapi_library_posix.h index a78fb00..4c655bc 100644 --- a/net/http/mock_gssapi_library_posix.h +++ b/net/http/mock_gssapi_library_posix.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_MOCK_GSSAPI_LIBRARY_POSIX_H_ #define NET_HTTP_MOCK_GSSAPI_LIBRARY_POSIX_H_ +#pragma once #include <list> #include <set> diff --git a/net/http/mock_sspi_library_win.h b/net/http/mock_sspi_library_win.h index eca3eb5..9d673b4 100644 --- a/net/http/mock_sspi_library_win.h +++ b/net/http/mock_sspi_library_win.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_MOCK_SSPI_LIBRARY_WIN_H_ #define NET_HTTP_MOCK_SSPI_LIBRARY_WIN_H_ +#pragma once #include <list> #include <set> diff --git a/net/http/partial_data.h b/net/http/partial_data.h index b720e6e..bbb1f8b 100644 --- a/net/http/partial_data.h +++ b/net/http/partial_data.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_PARTIAL_DATA_H_ #define NET_HTTP_PARTIAL_DATA_H_ +#pragma once #include <string> diff --git a/net/http/url_security_manager.h b/net/http/url_security_manager.h index cd80a7d..151a446 100644 --- a/net/http/url_security_manager.h +++ b/net/http/url_security_manager.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_URL_SECURITY_MANAGER_H_ #define NET_HTTP_URL_SECURITY_MANAGER_H_ +#pragma once #include "base/scoped_ptr.h" #include "base/basictypes.h" |