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 | |
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')
302 files changed, 302 insertions, 0 deletions
diff --git a/net/base/address_family.h b/net/base/address_family.h index a9302d9..49e1583 100644 --- a/net/base/address_family.h +++ b/net/base/address_family.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_ADDRESS_FAMILY_H_ #define NET_BASE_ADDRESS_FAMILY_H_ +#pragma once namespace net { diff --git a/net/base/address_list.h b/net/base/address_list.h index ce17645..996d871 100644 --- a/net/base/address_list.h +++ b/net/base/address_list.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_ADDRESS_LIST_H_ #define NET_BASE_ADDRESS_LIST_H_ +#pragma once #include <string> diff --git a/net/base/address_list_net_log_param.h b/net/base/address_list_net_log_param.h index 2a56961..141c2d0 100644 --- a/net/base/address_list_net_log_param.h +++ b/net/base/address_list_net_log_param.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_ADDRESS_LIST_NET_LOG_PARAM_H_ #define NET_BASE_ADDRESS_LIST_NET_LOG_PARAM_H_ +#pragma once #include "net/base/address_list.h" #include "net/base/net_log.h" diff --git a/net/base/auth.h b/net/base/auth.h index 1704e5b..3050a4c5 100644 --- a/net/base/auth.h +++ b/net/base/auth.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_AUTH_H__ #define NET_BASE_AUTH_H__ +#pragma once #include <string> diff --git a/net/base/bandwidth_metrics.h b/net/base/bandwidth_metrics.h index c290ca9..c82d1a9 100644 --- a/net/base/bandwidth_metrics.h +++ b/net/base/bandwidth_metrics.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_BANDWIDTH_METRICS_H_ #define NET_BASE_BANDWIDTH_METRICS_H_ +#pragma once #include <list> diff --git a/net/base/cache_type.h b/net/base/cache_type.h index 0823389..280a3d2 100644 --- a/net/base/cache_type.h +++ b/net/base/cache_type.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_CACHE_TYPE_H_ #define NET_BASE_CACHE_TYPE_H_ +#pragma once namespace net { diff --git a/net/base/capturing_net_log.h b/net/base/capturing_net_log.h index cad2d26..9a5addd 100644 --- a/net/base/capturing_net_log.h +++ b/net/base/capturing_net_log.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_CAPTURING_NET_LOG_H_ #define NET_BASE_CAPTURING_NET_LOG_H_ +#pragma once #include <vector> diff --git a/net/base/cert_database.h b/net/base/cert_database.h index 31e3401..9621e45 100644 --- a/net/base/cert_database.h +++ b/net/base/cert_database.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_CERT_DATABASE_H_ #define NET_BASE_CERT_DATABASE_H_ +#pragma once #include "base/basictypes.h" diff --git a/net/base/cert_status_flags.h b/net/base/cert_status_flags.h index e4f07bb..26e465c 100644 --- a/net/base/cert_status_flags.h +++ b/net/base/cert_status_flags.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_CERT_STATUS_FLAGS_H_ #define NET_BASE_CERT_STATUS_FLAGS_H_ +#pragma once namespace net { diff --git a/net/base/cert_test_util.h b/net/base/cert_test_util.h index a288774..b800c23 100644 --- a/net/base/cert_test_util.h +++ b/net/base/cert_test_util.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_CERT_TEST_UTIL_H_ #define NET_BASE_CERT_TEST_UTIL_H_ +#pragma once #include "base/file_path.h" #include "build/build_config.h" diff --git a/net/base/cert_verifier.h b/net/base/cert_verifier.h index b685f2e..791f8d3 100644 --- a/net/base/cert_verifier.h +++ b/net/base/cert_verifier.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_CERT_VERIFIER_H_ #define NET_BASE_CERT_VERIFIER_H_ +#pragma once #include <string> diff --git a/net/base/cert_verify_result.h b/net/base/cert_verify_result.h index 9ab48b9..b3381af 100644 --- a/net/base/cert_verify_result.h +++ b/net/base/cert_verify_result.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_CERT_VERIFY_RESULT_H_ #define NET_BASE_CERT_VERIFY_RESULT_H_ +#pragma once namespace net { diff --git a/net/base/completion_callback.h b/net/base/completion_callback.h index 11a6b3a..739d86d 100644 --- a/net/base/completion_callback.h +++ b/net/base/completion_callback.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_COMPLETION_CALLBACK_H__ #define NET_BASE_COMPLETION_CALLBACK_H__ +#pragma once #include "base/callback.h" diff --git a/net/base/connection_type_histograms.h b/net/base/connection_type_histograms.h index 582f09d..e6c2a59 100644 --- a/net/base/connection_type_histograms.h +++ b/net/base/connection_type_histograms.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_CONNECTION_TYPE_HISTOGRAMS_H_ #define NET_BASE_CONNECTION_TYPE_HISTOGRAMS_H_ +#pragma once // The UpdateConnectionTypeHistograms function collects statistics related // to the number of MD5 certificates that our users are encountering. The diff --git a/net/base/cookie_monster.h b/net/base/cookie_monster.h index 9e88bb2..544192f 100644 --- a/net/base/cookie_monster.h +++ b/net/base/cookie_monster.h @@ -6,6 +6,7 @@ #ifndef NET_BASE_COOKIE_MONSTER_H_ #define NET_BASE_COOKIE_MONSTER_H_ +#pragma once #include <map> #include <string> diff --git a/net/base/cookie_options.h b/net/base/cookie_options.h index 9995a05..8ace523 100644 --- a/net/base/cookie_options.h +++ b/net/base/cookie_options.h @@ -6,6 +6,7 @@ #ifndef NET_BASE_COOKIE_OPTIONS_H_ #define NET_BASE_COOKIE_OPTIONS_H_ +#pragma once namespace net { diff --git a/net/base/cookie_policy.h b/net/base/cookie_policy.h index 5e57c90..c32c8a9 100644 --- a/net/base/cookie_policy.h +++ b/net/base/cookie_policy.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_COOKIE_POLICY_H_ #define NET_BASE_COOKIE_POLICY_H_ +#pragma once #include <string> diff --git a/net/base/cookie_store.h b/net/base/cookie_store.h index 2fbe1d8..5c22bb0 100644 --- a/net/base/cookie_store.h +++ b/net/base/cookie_store.h @@ -6,6 +6,7 @@ #ifndef NET_BASE_COOKIE_STORE_H_ #define NET_BASE_COOKIE_STORE_H_ +#pragma once #include <string> diff --git a/net/base/data_url.h b/net/base/data_url.h index aa63d5c..b40878a 100644 --- a/net/base/data_url.h +++ b/net/base/data_url.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_DATA_URL_H_ #define NET_BASE_DATA_URL_H_ +#pragma once #include <string> diff --git a/net/base/directory_lister.h b/net/base/directory_lister.h index 541741e..bc21218 100644 --- a/net/base/directory_lister.h +++ b/net/base/directory_lister.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_DIRECTORY_LISTER_H_ #define NET_BASE_DIRECTORY_LISTER_H_ +#pragma once #include <string> diff --git a/net/base/dns_util.h b/net/base/dns_util.h index f0d2051..cd81420 100644 --- a/net/base/dns_util.h +++ b/net/base/dns_util.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_DNS_UTIL_H_ #define NET_BASE_DNS_UTIL_H_ +#pragma once #include <string> diff --git a/net/base/escape.h b/net/base/escape.h index b9b0b6a..315c647 100644 --- a/net/base/escape.h +++ b/net/base/escape.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_ESCAPE_H_ #define NET_BASE_ESCAPE_H_ +#pragma once #include <string> diff --git a/net/base/ev_root_ca_metadata.h b/net/base/ev_root_ca_metadata.h index b1b2781..21f9729 100644 --- a/net/base/ev_root_ca_metadata.h +++ b/net/base/ev_root_ca_metadata.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_EV_ROOT_CA_METADATA_H_ #define NET_BASE_EV_ROOT_CA_METADATA_H_ +#pragma once #include "build/build_config.h" diff --git a/net/base/file_stream.h b/net/base/file_stream.h index a6d5739..f6e854b 100644 --- a/net/base/file_stream.h +++ b/net/base/file_stream.h @@ -9,6 +9,7 @@ #ifndef NET_BASE_FILE_STREAM_H_ #define NET_BASE_FILE_STREAM_H_ +#pragma once #include "base/platform_file.h" #include "base/scoped_ptr.h" diff --git a/net/base/filter.h b/net/base/filter.h index acc0e7e..db0ef9d 100644 --- a/net/base/filter.h +++ b/net/base/filter.h @@ -28,6 +28,7 @@ #ifndef NET_BASE_FILTER_H__ #define NET_BASE_FILTER_H__ +#pragma once #include <string> #include <vector> diff --git a/net/base/filter_unittest.h b/net/base/filter_unittest.h index 9de5bb5..a45e353 100644 --- a/net/base/filter_unittest.h +++ b/net/base/filter_unittest.h @@ -5,6 +5,7 @@ #ifndef NET_BASE_FILTER_UNITTEST_H_ #define NET_BASE_FILTER_UNITTEST_H_ +#pragma once #include <string> diff --git a/net/base/forwarding_net_log.h b/net/base/forwarding_net_log.h index a97d4acd..36ff9d2 100644 --- a/net/base/forwarding_net_log.h +++ b/net/base/forwarding_net_log.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_FORWARDING_NET_LOG_H_ #define NET_BASE_FORWARDING_NET_LOG_H_ +#pragma once #include "base/basictypes.h" #include "net/base/net_log.h" diff --git a/net/base/gzip_filter.h b/net/base/gzip_filter.h index eb88b7f..afdc970 100644 --- a/net/base/gzip_filter.h +++ b/net/base/gzip_filter.h @@ -14,6 +14,7 @@ #ifndef NET_BASE_GZIP_FILTER_H__ #define NET_BASE_GZIP_FILTER_H__ +#pragma once #include "base/scoped_ptr.h" #include "net/base/filter.h" diff --git a/net/base/gzip_header.h b/net/base/gzip_header.h index 725537b..81f6f19 100644 --- a/net/base/gzip_header.h +++ b/net/base/gzip_header.h @@ -14,6 +14,7 @@ #ifndef NET_BASE_GZIP_HEADER_H_ #define NET_BASE_GZIP_HEADER_H_ +#pragma once #include "base/basictypes.h" diff --git a/net/base/host_cache.h b/net/base/host_cache.h index 1b40318..81e4cd7 100644 --- a/net/base/host_cache.h +++ b/net/base/host_cache.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_HOST_CACHE_H_ #define NET_BASE_HOST_CACHE_H_ +#pragma once #include <map> #include <string> diff --git a/net/base/host_mapping_rules.h b/net/base/host_mapping_rules.h index e9b3484..9ab06fe 100644 --- a/net/base/host_mapping_rules.h +++ b/net/base/host_mapping_rules.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_HOST_MAPPING_RULES_H_ #define NET_BASE_HOST_MAPPING_RULES_H_ +#pragma once #include <string> #include <vector> diff --git a/net/base/host_port_pair.h b/net/base/host_port_pair.h index 7c1d33f..a87a19b 100644 --- a/net/base/host_port_pair.h +++ b/net/base/host_port_pair.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_HOST_PORT_PAIR_H_ #define NET_BASE_HOST_PORT_PAIR_H_ +#pragma once #include <string> #include "base/basictypes.h" diff --git a/net/base/host_resolver.h b/net/base/host_resolver.h index 895ffc2..ff0ce24 100644 --- a/net/base/host_resolver.h +++ b/net/base/host_resolver.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_HOST_RESOLVER_H_ #define NET_BASE_HOST_RESOLVER_H_ +#pragma once #include <string> diff --git a/net/base/host_resolver_impl.h b/net/base/host_resolver_impl.h index 199ddcf..5206536 100644 --- a/net/base/host_resolver_impl.h +++ b/net/base/host_resolver_impl.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_HOST_RESOLVER_IMPL_H_ #define NET_BASE_HOST_RESOLVER_IMPL_H_ +#pragma once #include <string> #include <vector> diff --git a/net/base/host_resolver_proc.h b/net/base/host_resolver_proc.h index 3a8adc7..d86e4559 100644 --- a/net/base/host_resolver_proc.h +++ b/net/base/host_resolver_proc.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_HOST_RESOLVER_PROC_H_ #define NET_BASE_HOST_RESOLVER_PROC_H_ +#pragma once #include <string> diff --git a/net/base/io_buffer.h b/net/base/io_buffer.h index cc6092a..f8fb328 100644 --- a/net/base/io_buffer.h +++ b/net/base/io_buffer.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_IO_BUFFER_H_ #define NET_BASE_IO_BUFFER_H_ +#pragma once #include <string> diff --git a/net/base/keygen_handler.h b/net/base/keygen_handler.h index a582816..3f3a115 100644 --- a/net/base/keygen_handler.h +++ b/net/base/keygen_handler.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_KEYGEN_HANDLER_H_ #define NET_BASE_KEYGEN_HANDLER_H_ +#pragma once #include <string> diff --git a/net/base/listen_socket.h b/net/base/listen_socket.h index 923d361..7ce8887 100644 --- a/net/base/listen_socket.h +++ b/net/base/listen_socket.h @@ -10,6 +10,7 @@ #ifndef NET_BASE_LISTEN_SOCKET_H_ #define NET_BASE_LISTEN_SOCKET_H_ +#pragma once #include "build/build_config.h" diff --git a/net/base/listen_socket_unittest.h b/net/base/listen_socket_unittest.h index d43364a..f509093 100644 --- a/net/base/listen_socket_unittest.h +++ b/net/base/listen_socket_unittest.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_LISTEN_SOCKET_UNITTEST_H_ #define NET_BASE_LISTEN_SOCKET_UNITTEST_H_ +#pragma once #include "build/build_config.h" diff --git a/net/base/load_flags.h b/net/base/load_flags.h index 53b2d58..f3ce82a 100644 --- a/net/base/load_flags.h +++ b/net/base/load_flags.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_LOAD_FLAGS_H_ #define NET_BASE_LOAD_FLAGS_H_ +#pragma once namespace net { diff --git a/net/base/load_states.h b/net/base/load_states.h index 321dee8..d80e182 100644 --- a/net/base/load_states.h +++ b/net/base/load_states.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_LOAD_STATES_H__ #define NET_BASE_LOAD_STATES_H__ +#pragma once namespace net { diff --git a/net/base/mapped_host_resolver.h b/net/base/mapped_host_resolver.h index 3229209..d0ef835 100644 --- a/net/base/mapped_host_resolver.h +++ b/net/base/mapped_host_resolver.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_MAPPED_HOST_RESOLVER_H_ #define NET_BASE_MAPPED_HOST_RESOLVER_H_ +#pragma once #include <string> #include <vector> diff --git a/net/base/mime_sniffer.h b/net/base/mime_sniffer.h index d0c4e78..5f3862b8 100644 --- a/net/base/mime_sniffer.h +++ b/net/base/mime_sniffer.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_MIME_SNIFFER_H__ #define NET_BASE_MIME_SNIFFER_H__ +#pragma once #include <string> diff --git a/net/base/mime_util.h b/net/base/mime_util.h index eebc2e8..fbbe478 100644 --- a/net/base/mime_util.h +++ b/net/base/mime_util.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_MIME_UTIL_H__ #define NET_BASE_MIME_UTIL_H__ +#pragma once #include <string> #include <vector> diff --git a/net/base/mock_host_resolver.h b/net/base/mock_host_resolver.h index ee1e55a..865c918 100644 --- a/net/base/mock_host_resolver.h +++ b/net/base/mock_host_resolver.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_MOCK_HOST_RESOLVER_H_ #define NET_BASE_MOCK_HOST_RESOLVER_H_ +#pragma once #include <list> diff --git a/net/base/net_errors.h b/net/base/net_errors.h index 227b5b8..847b215 100644 --- a/net/base/net_errors.h +++ b/net/base/net_errors.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_NET_ERRORS_H__ #define NET_BASE_NET_ERRORS_H__ +#pragma once #include "base/basictypes.h" diff --git a/net/base/net_log.h b/net/base/net_log.h index 266b93a..b3b370f 100644 --- a/net/base/net_log.h +++ b/net/base/net_log.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_NET_LOG_H_ #define NET_BASE_NET_LOG_H_ +#pragma once #include <string> #include <vector> diff --git a/net/base/net_log_unittest.h b/net/base/net_log_unittest.h index 376ceac..a013f23 100644 --- a/net/base/net_log_unittest.h +++ b/net/base/net_log_unittest.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_NET_LOG_UNITTEST_H_ #define NET_BASE_NET_LOG_UNITTEST_H_ +#pragma once #include <cstddef> #include <vector> diff --git a/net/base/net_module.h b/net/base/net_module.h index 6df4bfe..b08a30a 100644 --- a/net/base/net_module.h +++ b/net/base/net_module.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_NET_MODULE_H__ #define NET_BASE_NET_MODULE_H__ +#pragma once #include "base/basictypes.h" #include "base/string_piece.h" diff --git a/net/base/net_test_suite.h b/net/base/net_test_suite.h index cc4ed2a..804db01 100644 --- a/net/base/net_test_suite.h +++ b/net/base/net_test_suite.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_NET_TEST_SUITE_H_ #define NET_BASE_NET_TEST_SUITE_H_ +#pragma once #include "base/message_loop.h" #include "base/ref_counted.h" diff --git a/net/base/net_util.h b/net/base/net_util.h index 978d4fb..7b2ed36 100644 --- a/net/base/net_util.h +++ b/net/base/net_util.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_NET_UTIL_H_ #define NET_BASE_NET_UTIL_H_ +#pragma once #include "build/build_config.h" diff --git a/net/base/network_change_notifier.h b/net/base/network_change_notifier.h index e0a8800..79909c2a 100644 --- a/net/base/network_change_notifier.h +++ b/net/base/network_change_notifier.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_NETWORK_CHANGE_NOTIFIER_H_ #define NET_BASE_NETWORK_CHANGE_NOTIFIER_H_ +#pragma once #include "base/basictypes.h" #include "base/observer_list_threadsafe.h" diff --git a/net/base/network_change_notifier_linux.h b/net/base/network_change_notifier_linux.h index aca9377..d5a64d7 100644 --- a/net/base/network_change_notifier_linux.h +++ b/net/base/network_change_notifier_linux.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_NETWORK_CHANGE_NOTIFIER_LINUX_H_ #define NET_BASE_NETWORK_CHANGE_NOTIFIER_LINUX_H_ +#pragma once #include "base/basictypes.h" #include "base/message_loop.h" diff --git a/net/base/network_change_notifier_mac.h b/net/base/network_change_notifier_mac.h index c85f244..86792e0 100644 --- a/net/base/network_change_notifier_mac.h +++ b/net/base/network_change_notifier_mac.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_NETWORK_CHANGE_NOTIFIER_MAC_H_ #define NET_BASE_NETWORK_CHANGE_NOTIFIER_MAC_H_ +#pragma once #include <SystemConfiguration/SCDynamicStore.h> diff --git a/net/base/network_change_notifier_netlink_linux.h b/net/base/network_change_notifier_netlink_linux.h index c06fdc7..13abbc6 100644 --- a/net/base/network_change_notifier_netlink_linux.h +++ b/net/base/network_change_notifier_netlink_linux.h @@ -8,6 +8,7 @@ #ifndef NET_BASE_NETWORK_CHANGE_NOTIFIER_NETLINK_LINUX_H_ #define NET_BASE_NETWORK_CHANGE_NOTIFIER_NETLINK_LINUX_H_ +#pragma once #include <cstddef> diff --git a/net/base/network_change_notifier_win.h b/net/base/network_change_notifier_win.h index 2077ca8..80f13f0 100644 --- a/net/base/network_change_notifier_win.h +++ b/net/base/network_change_notifier_win.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_NETWORK_CHANGE_NOTIFIER_WIN_H_ #define NET_BASE_NETWORK_CHANGE_NOTIFIER_WIN_H_ +#pragma once #include <windows.h> diff --git a/net/base/nss_memio.h b/net/base/nss_memio.h index a2b642a..c93e91f 100644 --- a/net/base/nss_memio.h +++ b/net/base/nss_memio.h @@ -5,6 +5,7 @@ #ifndef __MEMIO_H #define __MEMIO_H +#pragma once #include <stddef.h> diff --git a/net/base/pem_tokenizer.h b/net/base/pem_tokenizer.h index eebba2d..5074b20 100644 --- a/net/base/pem_tokenizer.h +++ b/net/base/pem_tokenizer.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_PEM_TOKENIZER_H_ #define NET_BASE_PEM_TOKENIZER_H_ +#pragma once #include <string> #include <vector> diff --git a/net/base/platform_mime_util.h b/net/base/platform_mime_util.h index 5bbabb8..e2b9589 100644 --- a/net/base/platform_mime_util.h +++ b/net/base/platform_mime_util.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_PLATFORM_MIME_UTIL_H_ #define NET_BASE_PLATFORM_MIME_UTIL_H_ +#pragma once #include <string> diff --git a/net/base/registry_controlled_domain.h b/net/base/registry_controlled_domain.h index ff922ddf..fc64f3a 100644 --- a/net/base/registry_controlled_domain.h +++ b/net/base/registry_controlled_domain.h @@ -109,6 +109,7 @@ #ifndef NET_BASE_REGISTRY_CONTROLLED_DOMAIN_H_ #define NET_BASE_REGISTRY_CONTROLLED_DOMAIN_H_ +#pragma once #include <string> diff --git a/net/base/request_priority.h b/net/base/request_priority.h index 1347001..6d9b2a5 100644 --- a/net/base/request_priority.h +++ b/net/base/request_priority.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_REQUEST_PRIORITY_H__ #define NET_BASE_REQUEST_PRIORITY_H__ +#pragma once namespace net { diff --git a/net/base/scoped_cert_chain_context.h b/net/base/scoped_cert_chain_context.h index 61bb2f3..af60dd3 100644 --- a/net/base/scoped_cert_chain_context.h +++ b/net/base/scoped_cert_chain_context.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_SCOPED_CERT_CHAIN_CONTEXT_H_ #define NET_BASE_SCOPED_CERT_CHAIN_CONTEXT_H_ +#pragma once #include <windows.h> #include <wincrypt.h> diff --git a/net/base/sdch_filter.h b/net/base/sdch_filter.h index 20a3b6e..4c96f49 100644 --- a/net/base/sdch_filter.h +++ b/net/base/sdch_filter.h @@ -13,6 +13,7 @@ #ifndef NET_BASE_SDCH_FILTER_H_ #define NET_BASE_SDCH_FILTER_H_ +#pragma once #include <string> diff --git a/net/base/sdch_manager.h b/net/base/sdch_manager.h index 23d100d..74e38ca 100644 --- a/net/base/sdch_manager.h +++ b/net/base/sdch_manager.h @@ -19,6 +19,7 @@ #ifndef NET_BASE_SDCH_MANAGER_H_ #define NET_BASE_SDCH_MANAGER_H_ +#pragma once #include <map> #include <set> diff --git a/net/base/ssl_cert_request_info.h b/net/base/ssl_cert_request_info.h index 7946e17..feabb1e 100644 --- a/net/base/ssl_cert_request_info.h +++ b/net/base/ssl_cert_request_info.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_SSL_CERT_REQUEST_INFO_H_ #define NET_BASE_SSL_CERT_REQUEST_INFO_H_ +#pragma once #include <string> #include <vector> diff --git a/net/base/ssl_cipher_suite_names.h b/net/base/ssl_cipher_suite_names.h index 09429ae..cd61471 100644 --- a/net/base/ssl_cipher_suite_names.h +++ b/net/base/ssl_cipher_suite_names.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_SSL_CIPHER_SUITE_NAMES_H_ #define NET_BASE_SSL_CIPHER_SUITE_NAMES_H_ +#pragma once #include "base/basictypes.h" diff --git a/net/base/ssl_client_auth_cache.h b/net/base/ssl_client_auth_cache.h index 386da41..3c8ed99 100644 --- a/net/base/ssl_client_auth_cache.h +++ b/net/base/ssl_client_auth_cache.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_SSL_CLIENT_AUTH_CACHE_H_ #define NET_BASE_SSL_CLIENT_AUTH_CACHE_H_ +#pragma once #include <string> #include <map> diff --git a/net/base/ssl_config_service.h b/net/base/ssl_config_service.h index 3f0f479..851dd94 100644 --- a/net/base/ssl_config_service.h +++ b/net/base/ssl_config_service.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_SSL_CONFIG_SERVICE_H_ #define NET_BASE_SSL_CONFIG_SERVICE_H_ +#pragma once #include <vector> diff --git a/net/base/ssl_config_service_defaults.h b/net/base/ssl_config_service_defaults.h index 5425b27..e20b616 100644 --- a/net/base/ssl_config_service_defaults.h +++ b/net/base/ssl_config_service_defaults.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_SSL_CONFIG_SERVICE_DEFAULTS_H_ #define NET_BASE_SSL_CONFIG_SERVICE_DEFAULTS_H_ +#pragma once #include "net/base/ssl_config_service.h" diff --git a/net/base/ssl_config_service_mac.h b/net/base/ssl_config_service_mac.h index 6d639ca..4524d95 100644 --- a/net/base/ssl_config_service_mac.h +++ b/net/base/ssl_config_service_mac.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_SSL_CONFIG_SERVICE_MAC_H_ #define NET_BASE_SSL_CONFIG_SERVICE_MAC_H_ +#pragma once #include "base/time.h" #include "net/base/ssl_config_service.h" diff --git a/net/base/ssl_config_service_win.h b/net/base/ssl_config_service_win.h index 928ca1a..a37ecff 100644 --- a/net/base/ssl_config_service_win.h +++ b/net/base/ssl_config_service_win.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_SSL_CONFIG_SERVICE_WIN_H_ #define NET_BASE_SSL_CONFIG_SERVICE_WIN_H_ +#pragma once #include <set> diff --git a/net/base/ssl_connection_status_flags.h b/net/base/ssl_connection_status_flags.h index 9ec22fa..1b7640c 100644 --- a/net/base/ssl_connection_status_flags.h +++ b/net/base/ssl_connection_status_flags.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_SSL_CONNECTION_STATUS_FLAGS_H_ #define NET_BASE_SSL_CONNECTION_STATUS_FLAGS_H_ +#pragma once namespace net { diff --git a/net/base/ssl_info.h b/net/base/ssl_info.h index 7c14163..be0a6cf 100644 --- a/net/base/ssl_info.h +++ b/net/base/ssl_info.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_SSL_INFO_H_ #define NET_BASE_SSL_INFO_H_ +#pragma once #include <string> diff --git a/net/base/static_cookie_policy.h b/net/base/static_cookie_policy.h index d903149..4633161 100644 --- a/net/base/static_cookie_policy.h +++ b/net/base/static_cookie_policy.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_STATIC_COOKIE_POLICY_H_ #define NET_BASE_STATIC_COOKIE_POLICY_H_ +#pragma once #include <string> diff --git a/net/base/telnet_server.h b/net/base/telnet_server.h index 8160141..ef367dd 100644 --- a/net/base/telnet_server.h +++ b/net/base/telnet_server.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_TELNET_SERVER_H_ #define NET_BASE_TELNET_SERVER_H_ +#pragma once #include "net/base/listen_socket.h" diff --git a/net/base/test_completion_callback.h b/net/base/test_completion_callback.h index 1d24532..b4a005b 100644 --- a/net/base/test_completion_callback.h +++ b/net/base/test_completion_callback.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_TEST_COMPLETION_CALLBACK_H_ #define NET_BASE_TEST_COMPLETION_CALLBACK_H_ +#pragma once #include "base/callback.h" #include "base/message_loop.h" diff --git a/net/base/transport_security_state.h b/net/base/transport_security_state.h index 6d03776..2cd6abe 100644 --- a/net/base/transport_security_state.h +++ b/net/base/transport_security_state.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_TRANSPORT_SECURITY_STATE_H_ #define NET_BASE_TRANSPORT_SECURITY_STATE_H_ +#pragma once #include <map> #include <string> diff --git a/net/base/upload_data.h b/net/base/upload_data.h index fe395f0..d139e18 100644 --- a/net/base/upload_data.h +++ b/net/base/upload_data.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_UPLOAD_DATA_H_ #define NET_BASE_UPLOAD_DATA_H_ +#pragma once #include <vector> diff --git a/net/base/upload_data_stream.h b/net/base/upload_data_stream.h index 5e28721..646335f 100644 --- a/net/base/upload_data_stream.h +++ b/net/base/upload_data_stream.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_UPLOAD_DATA_STREAM_H_ #define NET_BASE_UPLOAD_DATA_STREAM_H_ +#pragma once #include "net/base/file_stream.h" #include "net/base/upload_data.h" diff --git a/net/base/winsock_init.h b/net/base/winsock_init.h index 9608e95..3d2bcb1 100644 --- a/net/base/winsock_init.h +++ b/net/base/winsock_init.h @@ -7,6 +7,7 @@ #ifndef NET_BASE_WINSOCK_INIT_H_ #define NET_BASE_WINSOCK_INIT_H_ +#pragma once namespace net { diff --git a/net/base/x509_cert_types.h b/net/base/x509_cert_types.h index ad3ea2d..8693ba9 100644 --- a/net/base/x509_cert_types.h +++ b/net/base/x509_cert_types.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_X509_CERT_TYPES_H_ #define NET_BASE_X509_CERT_TYPES_H_ +#pragma once #include <string.h> diff --git a/net/base/x509_certificate.h b/net/base/x509_certificate.h index 7ae2604..58b32bc 100644 --- a/net/base/x509_certificate.h +++ b/net/base/x509_certificate.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_X509_CERTIFICATE_H_ #define NET_BASE_X509_CERTIFICATE_H_ +#pragma once #include <string.h> diff --git a/net/disk_cache/addr.h b/net/disk_cache/addr.h index 938a442..c10dcc3 100644 --- a/net/disk_cache/addr.h +++ b/net/disk_cache/addr.h @@ -7,6 +7,7 @@ #ifndef NET_DISK_CACHE_ADDR_H_ #define NET_DISK_CACHE_ADDR_H_ +#pragma once #include "net/disk_cache/disk_format.h" diff --git a/net/disk_cache/backend_impl.h b/net/disk_cache/backend_impl.h index 98fc16d..d67dad9 100644 --- a/net/disk_cache/backend_impl.h +++ b/net/disk_cache/backend_impl.h @@ -6,6 +6,7 @@ #ifndef NET_DISK_CACHE_BACKEND_IMPL_H_ #define NET_DISK_CACHE_BACKEND_IMPL_H_ +#pragma once #include "base/file_path.h" #include "base/hash_tables.h" diff --git a/net/disk_cache/bitmap.h b/net/disk_cache/bitmap.h index 4d38f83..8e24e15 100644 --- a/net/disk_cache/bitmap.h +++ b/net/disk_cache/bitmap.h @@ -4,6 +4,7 @@ #ifndef NET_DISK_CACHE_BITMAP_H_ #define NET_DISK_CACHE_BITMAP_H_ +#pragma once #include <algorithm> diff --git a/net/disk_cache/block_files.h b/net/disk_cache/block_files.h index 3ed19de..0625d2a 100644 --- a/net/disk_cache/block_files.h +++ b/net/disk_cache/block_files.h @@ -6,6 +6,7 @@ #ifndef NET_DISK_CACHE_BLOCK_FILES_H__ #define NET_DISK_CACHE_BLOCK_FILES_H__ +#pragma once #include <vector> diff --git a/net/disk_cache/cache_util.h b/net/disk_cache/cache_util.h index cb78f16..f30e70a 100644 --- a/net/disk_cache/cache_util.h +++ b/net/disk_cache/cache_util.h @@ -4,6 +4,7 @@ #ifndef NET_DISK_CACHE_CACHE_UTIL_H_ #define NET_DISK_CACHE_CACHE_UTIL_H_ +#pragma once #include <string> diff --git a/net/disk_cache/disk_cache.h b/net/disk_cache/disk_cache.h index b2d76a4..59efe06 100644 --- a/net/disk_cache/disk_cache.h +++ b/net/disk_cache/disk_cache.h @@ -7,6 +7,7 @@ #ifndef NET_DISK_CACHE_DISK_CACHE_H_ #define NET_DISK_CACHE_DISK_CACHE_H_ +#pragma once #include <string> #include <vector> diff --git a/net/disk_cache/disk_cache_test_base.h b/net/disk_cache/disk_cache_test_base.h index 6c6b54b..4bcc2cb 100644 --- a/net/disk_cache/disk_cache_test_base.h +++ b/net/disk_cache/disk_cache_test_base.h @@ -4,6 +4,7 @@ #ifndef NET_DISK_CACHE_DISK_CACHE_TEST_BASE_H_ #define NET_DISK_CACHE_DISK_CACHE_TEST_BASE_H_ +#pragma once #include "base/basictypes.h" #include "base/thread.h" diff --git a/net/disk_cache/disk_cache_test_util.h b/net/disk_cache/disk_cache_test_util.h index 7249ee0..f55905b 100644 --- a/net/disk_cache/disk_cache_test_util.h +++ b/net/disk_cache/disk_cache_test_util.h @@ -4,6 +4,7 @@ #ifndef NET_DISK_CACHE_DISK_CACHE_TEST_UTIL_H_ #define NET_DISK_CACHE_DISK_CACHE_TEST_UTIL_H_ +#pragma once #include <string> diff --git a/net/disk_cache/disk_format.h b/net/disk_cache/disk_format.h index 619bd89..ac4c6348 100644 --- a/net/disk_cache/disk_format.h +++ b/net/disk_cache/disk_format.h @@ -54,6 +54,7 @@ #ifndef NET_DISK_CACHE_DISK_FORMAT_H_ #define NET_DISK_CACHE_DISK_FORMAT_H_ +#pragma once #include "base/basictypes.h" diff --git a/net/disk_cache/entry_impl.h b/net/disk_cache/entry_impl.h index 9d37fff3a..73fb481 100644 --- a/net/disk_cache/entry_impl.h +++ b/net/disk_cache/entry_impl.h @@ -4,6 +4,7 @@ #ifndef NET_DISK_CACHE_ENTRY_IMPL_H_ #define NET_DISK_CACHE_ENTRY_IMPL_H_ +#pragma once #include "base/scoped_ptr.h" #include "net/disk_cache/disk_cache.h" diff --git a/net/disk_cache/errors.h b/net/disk_cache/errors.h index 4bf6f72..723b566 100644 --- a/net/disk_cache/errors.h +++ b/net/disk_cache/errors.h @@ -6,6 +6,7 @@ #ifndef NET_DISK_CACHE_ERRORS_H__ #define NET_DISK_CACHE_ERRORS_H__ +#pragma once namespace disk_cache { diff --git a/net/disk_cache/eviction.h b/net/disk_cache/eviction.h index 76ee00b..69736ea 100644 --- a/net/disk_cache/eviction.h +++ b/net/disk_cache/eviction.h @@ -4,6 +4,7 @@ #ifndef NET_DISK_CACHE_EVICTION_H_ #define NET_DISK_CACHE_EVICTION_H_ +#pragma once #include "base/basictypes.h" #include "base/compiler_specific.h" diff --git a/net/disk_cache/file.h b/net/disk_cache/file.h index 76c2f79..5e1c276 100644 --- a/net/disk_cache/file.h +++ b/net/disk_cache/file.h @@ -6,6 +6,7 @@ #ifndef NET_DISK_CACHE_FILE_H_ #define NET_DISK_CACHE_FILE_H_ +#pragma once #include <string> diff --git a/net/disk_cache/file_block.h b/net/disk_cache/file_block.h index 2570920..7d453e5 100644 --- a/net/disk_cache/file_block.h +++ b/net/disk_cache/file_block.h @@ -6,6 +6,7 @@ #ifndef NET_DISK_CACHE_FILE_BLOCK_H__ #define NET_DISK_CACHE_FILE_BLOCK_H__ +#pragma once namespace disk_cache { diff --git a/net/disk_cache/file_lock.h b/net/disk_cache/file_lock.h index 3ebed76..2c560ef 100644 --- a/net/disk_cache/file_lock.h +++ b/net/disk_cache/file_lock.h @@ -6,6 +6,7 @@ #ifndef NET_DISK_CACHE_FILE_LOCK_H__ #define NET_DISK_CACHE_FILE_LOCK_H__ +#pragma once #include "net/disk_cache/disk_format.h" diff --git a/net/disk_cache/hash.h b/net/disk_cache/hash.h index bf35c26..01e0058 100644 --- a/net/disk_cache/hash.h +++ b/net/disk_cache/hash.h @@ -4,6 +4,7 @@ #ifndef NET_DISK_CACHE_HASH_H__ #define NET_DISK_CACHE_HASH_H__ +#pragma once #include <string> diff --git a/net/disk_cache/histogram_macros.h b/net/disk_cache/histogram_macros.h index 361a9d6..2b8af4b 100644 --- a/net/disk_cache/histogram_macros.h +++ b/net/disk_cache/histogram_macros.h @@ -10,6 +10,7 @@ #ifndef NET_DISK_CACHE_HISTOGRAM_MACROS_H_ #define NET_DISK_CACHE_HISTOGRAM_MACROS_H_ +#pragma once // ----------------------------------------------------------------------------- diff --git a/net/disk_cache/in_flight_backend_io.h b/net/disk_cache/in_flight_backend_io.h index 1cd0d41..083c6fd 100644 --- a/net/disk_cache/in_flight_backend_io.h +++ b/net/disk_cache/in_flight_backend_io.h @@ -4,6 +4,7 @@ #ifndef NET_DISK_CACHE_IN_FLIGHT_BACKEND_IO_H_ #define NET_DISK_CACHE_IN_FLIGHT_BACKEND_IO_H_ +#pragma once #include <list> #include <string> diff --git a/net/disk_cache/in_flight_io.h b/net/disk_cache/in_flight_io.h index 4486f44..70a3d8c 100644 --- a/net/disk_cache/in_flight_io.h +++ b/net/disk_cache/in_flight_io.h @@ -4,6 +4,7 @@ #ifndef NET_DISK_CACHE_IN_FLIGHT_IO_H_ #define NET_DISK_CACHE_IN_FLIGHT_IO_H_ +#pragma once #include <set> diff --git a/net/disk_cache/mapped_file.h b/net/disk_cache/mapped_file.h index 5b34141..2c7d6e6 100644 --- a/net/disk_cache/mapped_file.h +++ b/net/disk_cache/mapped_file.h @@ -6,6 +6,7 @@ #ifndef NET_DISK_CACHE_MAPPED_FILE_H_ #define NET_DISK_CACHE_MAPPED_FILE_H_ +#pragma once #include <string> diff --git a/net/disk_cache/mem_backend_impl.h b/net/disk_cache/mem_backend_impl.h index c5e947f..62ed3c5 100644 --- a/net/disk_cache/mem_backend_impl.h +++ b/net/disk_cache/mem_backend_impl.h @@ -6,6 +6,7 @@ #ifndef NET_DISK_CACHE_MEM_BACKEND_IMPL_H__ #define NET_DISK_CACHE_MEM_BACKEND_IMPL_H__ +#pragma once #include "base/hash_tables.h" diff --git a/net/disk_cache/mem_entry_impl.h b/net/disk_cache/mem_entry_impl.h index 66535d5..573a306 100644 --- a/net/disk_cache/mem_entry_impl.h +++ b/net/disk_cache/mem_entry_impl.h @@ -4,6 +4,7 @@ #ifndef NET_DISK_CACHE_MEM_ENTRY_IMPL_H_ #define NET_DISK_CACHE_MEM_ENTRY_IMPL_H_ +#pragma once #include "base/hash_tables.h" #include "base/scoped_ptr.h" diff --git a/net/disk_cache/mem_rankings.h b/net/disk_cache/mem_rankings.h index fa90688..166224f 100644 --- a/net/disk_cache/mem_rankings.h +++ b/net/disk_cache/mem_rankings.h @@ -6,6 +6,7 @@ #ifndef NET_DISK_CACHE_MEM_RANKINGS_H__ #define NET_DISK_CACHE_MEM_RANKINGS_H__ +#pragma once #include "base/basictypes.h" diff --git a/net/disk_cache/rankings.h b/net/disk_cache/rankings.h index f635355..8347b4c 100644 --- a/net/disk_cache/rankings.h +++ b/net/disk_cache/rankings.h @@ -6,6 +6,7 @@ #ifndef NET_DISK_CACHE_RANKINGS_H_ #define NET_DISK_CACHE_RANKINGS_H_ +#pragma once #include <list> diff --git a/net/disk_cache/sparse_control.h b/net/disk_cache/sparse_control.h index b88f258..88a012b 100644 --- a/net/disk_cache/sparse_control.h +++ b/net/disk_cache/sparse_control.h @@ -4,6 +4,7 @@ #ifndef NET_DISK_CACHE_SPARSE_CONTROL_H_ #define NET_DISK_CACHE_SPARSE_CONTROL_H_ +#pragma once #include <string> #include <vector> diff --git a/net/disk_cache/stats.h b/net/disk_cache/stats.h index 13536b1..19dac58 100644 --- a/net/disk_cache/stats.h +++ b/net/disk_cache/stats.h @@ -4,6 +4,7 @@ #ifndef NET_DISK_CACHE_STATS_H_ #define NET_DISK_CACHE_STATS_H_ +#pragma once #include <string> #include <vector> diff --git a/net/disk_cache/stats_histogram.h b/net/disk_cache/stats_histogram.h index 995d486..1c2e15a 100644 --- a/net/disk_cache/stats_histogram.h +++ b/net/disk_cache/stats_histogram.h @@ -4,6 +4,7 @@ #ifndef NET_DISK_CACHE_STATS_HISTOGRAM_H_ #define NET_DISK_CACHE_STATS_HISTOGRAM_H_ +#pragma once #include <string> diff --git a/net/disk_cache/storage_block-inl.h b/net/disk_cache/storage_block-inl.h index 5e026a7..e2f4b3c 100644 --- a/net/disk_cache/storage_block-inl.h +++ b/net/disk_cache/storage_block-inl.h @@ -4,6 +4,7 @@ #ifndef NET_DISK_CACHE_STORAGE_BLOCK_INL_H_ #define NET_DISK_CACHE_STORAGE_BLOCK_INL_H_ +#pragma once #include "net/disk_cache/storage_block.h" diff --git a/net/disk_cache/storage_block.h b/net/disk_cache/storage_block.h index e77c5bb..ab7cd41 100644 --- a/net/disk_cache/storage_block.h +++ b/net/disk_cache/storage_block.h @@ -6,6 +6,7 @@ #ifndef NET_DISK_CACHE_STORAGE_BLOCK_H__ #define NET_DISK_CACHE_STORAGE_BLOCK_H__ +#pragma once #include "net/disk_cache/addr.h" #include "net/disk_cache/mapped_file.h" diff --git a/net/disk_cache/trace.h b/net/disk_cache/trace.h index a431890..7a3d4bf 100644 --- a/net/disk_cache/trace.h +++ b/net/disk_cache/trace.h @@ -8,6 +8,7 @@ #ifndef NET_DISK_CACHE_TRACE_H__ #define NET_DISK_CACHE_TRACE_H__ +#pragma once #include <string> #include <vector> diff --git a/net/ftp/ftp_auth_cache.h b/net/ftp/ftp_auth_cache.h index 83cdd63..d541b8e 100644 --- a/net/ftp/ftp_auth_cache.h +++ b/net/ftp/ftp_auth_cache.h @@ -4,6 +4,7 @@ #ifndef NET_FTP_FTP_AUTH_CACHE_H_ #define NET_FTP_FTP_AUTH_CACHE_H_ +#pragma once #include <list> #include <string> diff --git a/net/ftp/ftp_ctrl_response_buffer.h b/net/ftp/ftp_ctrl_response_buffer.h index 6ea34cb..907e496 100644 --- a/net/ftp/ftp_ctrl_response_buffer.h +++ b/net/ftp/ftp_ctrl_response_buffer.h @@ -4,6 +4,7 @@ #ifndef NET_FTP_FTP_CTRL_RESPONSE_BUFFER_H_ #define NET_FTP_FTP_CTRL_RESPONSE_BUFFER_H_ +#pragma once #include <queue> #include <string> diff --git a/net/ftp/ftp_directory_listing_buffer.h b/net/ftp/ftp_directory_listing_buffer.h index 4123cf0..f107e8f 100644 --- a/net/ftp/ftp_directory_listing_buffer.h +++ b/net/ftp/ftp_directory_listing_buffer.h @@ -4,6 +4,7 @@ #ifndef NET_FTP_FTP_DIRECTORY_LISTING_BUFFER_H_ #define NET_FTP_FTP_DIRECTORY_LISTING_BUFFER_H_ +#pragma once #include <deque> #include <set> diff --git a/net/ftp/ftp_directory_listing_parser.h b/net/ftp/ftp_directory_listing_parser.h index 7ba895a..f373baf 100644 --- a/net/ftp/ftp_directory_listing_parser.h +++ b/net/ftp/ftp_directory_listing_parser.h @@ -4,6 +4,7 @@ #ifndef NET_FTP_FTP_DIRECTORY_LISTING_PARSER_H_ #define NET_FTP_FTP_DIRECTORY_LISTING_PARSER_H_ +#pragma once #include "base/basictypes.h" #include "base/string16.h" diff --git a/net/ftp/ftp_directory_listing_parser_ls.h b/net/ftp/ftp_directory_listing_parser_ls.h index 0d52791..568d74e 100644 --- a/net/ftp/ftp_directory_listing_parser_ls.h +++ b/net/ftp/ftp_directory_listing_parser_ls.h @@ -4,6 +4,7 @@ #ifndef NET_FTP_FTP_DIRECTORY_LISTING_PARSER_LS_H_ #define NET_FTP_FTP_DIRECTORY_LISTING_PARSER_LS_H_ +#pragma once #include <queue> diff --git a/net/ftp/ftp_directory_listing_parser_mlsd.h b/net/ftp/ftp_directory_listing_parser_mlsd.h index 8d0e3b7..d791ba4 100644 --- a/net/ftp/ftp_directory_listing_parser_mlsd.h +++ b/net/ftp/ftp_directory_listing_parser_mlsd.h @@ -4,6 +4,7 @@ #ifndef NET_FTP_FTP_DIRECTORY_LISTING_PARSER_MLSD_H_ #define NET_FTP_FTP_DIRECTORY_LISTING_PARSER_MLSD_H_ +#pragma once #include <queue> diff --git a/net/ftp/ftp_directory_listing_parser_netware.h b/net/ftp/ftp_directory_listing_parser_netware.h index aef490a..e54c289 100644 --- a/net/ftp/ftp_directory_listing_parser_netware.h +++ b/net/ftp/ftp_directory_listing_parser_netware.h @@ -4,6 +4,7 @@ #ifndef NET_FTP_FTP_DIRECTORY_LISTING_PARSER_NETWARE_H_ #define NET_FTP_FTP_DIRECTORY_LISTING_PARSER_NETWARE_H_ +#pragma once #include <queue> diff --git a/net/ftp/ftp_directory_listing_parser_unittest.h b/net/ftp/ftp_directory_listing_parser_unittest.h index 90670fd..f0203fb 100644 --- a/net/ftp/ftp_directory_listing_parser_unittest.h +++ b/net/ftp/ftp_directory_listing_parser_unittest.h @@ -4,6 +4,7 @@ #ifndef NET_FTP_FTP_DIRECTORY_LISTING_PARSER_UNITTEST_H_ #define NET_FTP_FTP_DIRECTORY_LISTING_PARSER_UNITTEST_H_ +#pragma once #include "base/utf_string_conversions.h" #include "net/ftp/ftp_directory_listing_parser.h" diff --git a/net/ftp/ftp_directory_listing_parser_vms.h b/net/ftp/ftp_directory_listing_parser_vms.h index 1512b63..9958994 100644 --- a/net/ftp/ftp_directory_listing_parser_vms.h +++ b/net/ftp/ftp_directory_listing_parser_vms.h @@ -4,6 +4,7 @@ #ifndef NET_FTP_FTP_DIRECTORY_LISTING_PARSER_VMS_H_ #define NET_FTP_FTP_DIRECTORY_LISTING_PARSER_VMS_H_ +#pragma once #include <queue> diff --git a/net/ftp/ftp_directory_listing_parser_windows.h b/net/ftp/ftp_directory_listing_parser_windows.h index da58370..42cb03d 100644 --- a/net/ftp/ftp_directory_listing_parser_windows.h +++ b/net/ftp/ftp_directory_listing_parser_windows.h @@ -4,6 +4,7 @@ #ifndef NET_FTP_FTP_DIRECTORY_LISTING_PARSER_WINDOWS_H_ #define NET_FTP_FTP_DIRECTORY_LISTING_PARSER_WINDOWS_H_ +#pragma once #include <queue> diff --git a/net/ftp/ftp_network_layer.h b/net/ftp/ftp_network_layer.h index 2d37eae..9a0f021 100644 --- a/net/ftp/ftp_network_layer.h +++ b/net/ftp/ftp_network_layer.h @@ -4,6 +4,7 @@ #ifndef NET_FTP_FTP_NETWORK_LAYER_H_ #define NET_FTP_FTP_NETWORK_LAYER_H_ +#pragma once #include "base/ref_counted.h" #include "net/ftp/ftp_transaction_factory.h" diff --git a/net/ftp/ftp_network_session.h b/net/ftp/ftp_network_session.h index 3c29a85..64f1741 100644 --- a/net/ftp/ftp_network_session.h +++ b/net/ftp/ftp_network_session.h @@ -4,6 +4,7 @@ #ifndef NET_FTP_FTP_NETWORK_SESSION_H_ #define NET_FTP_FTP_NETWORK_SESSION_H_ +#pragma once #include "base/ref_counted.h" #include "net/ftp/ftp_auth_cache.h" diff --git a/net/ftp/ftp_network_transaction.h b/net/ftp/ftp_network_transaction.h index 31c38c74..6b2a1f8 100644 --- a/net/ftp/ftp_network_transaction.h +++ b/net/ftp/ftp_network_transaction.h @@ -4,6 +4,7 @@ #ifndef NET_FTP_FTP_NETWORK_TRANSACTION_H_ #define NET_FTP_FTP_NETWORK_TRANSACTION_H_ +#pragma once #include <string> #include <queue> diff --git a/net/ftp/ftp_request_info.h b/net/ftp/ftp_request_info.h index a2e90c6..1228b5c 100644 --- a/net/ftp/ftp_request_info.h +++ b/net/ftp/ftp_request_info.h @@ -4,6 +4,7 @@ #ifndef NET_FTP_FTP_REQUEST_INFO_H_ #define NET_FTP_FTP_REQUEST_INFO_H_ +#pragma once #include "googleurl/src/gurl.h" diff --git a/net/ftp/ftp_response_info.h b/net/ftp/ftp_response_info.h index daec6c2..0abfe06 100644 --- a/net/ftp/ftp_response_info.h +++ b/net/ftp/ftp_response_info.h @@ -4,6 +4,7 @@ #ifndef NET_FTP_FTP_RESPONSE_INFO_H_ #define NET_FTP_FTP_RESPONSE_INFO_H_ +#pragma once #include "base/time.h" diff --git a/net/ftp/ftp_server_type_histograms.h b/net/ftp/ftp_server_type_histograms.h index ed77b69..72d3c78 100644 --- a/net/ftp/ftp_server_type_histograms.h +++ b/net/ftp/ftp_server_type_histograms.h @@ -4,6 +4,7 @@ #ifndef NET_FTP_FTP_SERVER_TYPE_HISTOGRAMS_H_ #define NET_FTP_FTP_SERVER_TYPE_HISTOGRAMS_H_ +#pragma once // The UpdateFtpServerTypeHistograms function collects statistics related // to the types of FTP servers that our users are encountering. diff --git a/net/ftp/ftp_transaction.h b/net/ftp/ftp_transaction.h index 881a977..b4d1f76 100644 --- a/net/ftp/ftp_transaction.h +++ b/net/ftp/ftp_transaction.h @@ -4,6 +4,7 @@ #ifndef NET_FTP_FTP_TRANSACTION_H_ #define NET_FTP_FTP_TRANSACTION_H_ +#pragma once #include "net/base/completion_callback.h" #include "net/base/io_buffer.h" diff --git a/net/ftp/ftp_transaction_factory.h b/net/ftp/ftp_transaction_factory.h index 7e39026..fcdddb7 100644 --- a/net/ftp/ftp_transaction_factory.h +++ b/net/ftp/ftp_transaction_factory.h @@ -4,6 +4,7 @@ #ifndef NET_FTP_FTP_TRANSACTION_FACTORY_H_ #define NET_FTP_FTP_TRANSACTION_FACTORY_H_ +#pragma once namespace net { diff --git a/net/ftp/ftp_util.h b/net/ftp/ftp_util.h index 37a51c2..eb7e963 100644 --- a/net/ftp/ftp_util.h +++ b/net/ftp/ftp_util.h @@ -4,6 +4,7 @@ #ifndef NET_FTP_FTP_UTIL_H_ #define NET_FTP_FTP_UTIL_H_ +#pragma once #include <string> 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" diff --git a/net/ocsp/nss_ocsp.h b/net/ocsp/nss_ocsp.h index 1bacd76..a31d025 100644 --- a/net/ocsp/nss_ocsp.h +++ b/net/ocsp/nss_ocsp.h @@ -4,6 +4,7 @@ #ifndef NET_OCSP_NSS_OCSP_H_ #define NET_OCSP_NSS_OCSP_H_ +#pragma once class URLRequestContext; diff --git a/net/proxy/init_proxy_resolver.h b/net/proxy/init_proxy_resolver.h index 814e932..f875457 100644 --- a/net/proxy/init_proxy_resolver.h +++ b/net/proxy/init_proxy_resolver.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_INIT_PROXY_RESOLVER_H_ #define NET_PROXY_INIT_PROXY_RESOLVER_H_ +#pragma once #include <string> #include <vector> diff --git a/net/proxy/mock_proxy_resolver.h b/net/proxy/mock_proxy_resolver.h index 9babb66..8932558 100644 --- a/net/proxy/mock_proxy_resolver.h +++ b/net/proxy/mock_proxy_resolver.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_MOCK_PROXY_RESOLVER_H_ #define NET_PROXY_MOCK_PROXY_RESOLVER_H_ +#pragma once #include <vector> diff --git a/net/proxy/multi_threaded_proxy_resolver.h b/net/proxy/multi_threaded_proxy_resolver.h index a69699a..aedba35 100644 --- a/net/proxy/multi_threaded_proxy_resolver.h +++ b/net/proxy/multi_threaded_proxy_resolver.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_MULTI_THREADED_PROXY_RESOLVER_H_ #define NET_PROXY_MULTI_THREADED_PROXY_RESOLVER_H_ +#pragma once #include <deque> #include <string> diff --git a/net/proxy/polling_proxy_config_service.h b/net/proxy/polling_proxy_config_service.h index 1bf889b..455359a 100644 --- a/net/proxy/polling_proxy_config_service.h +++ b/net/proxy/polling_proxy_config_service.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_POLLING_PROXY_CONFIG_SERVICE_H_ #define NET_PROXY_POLLING_PROXY_CONFIG_SERVICE_H_ +#pragma once #include "base/time.h" #include "base/ref_counted.h" diff --git a/net/proxy/proxy_bypass_rules.h b/net/proxy/proxy_bypass_rules.h index 267fdc9..f66984b 100644 --- a/net/proxy/proxy_bypass_rules.h +++ b/net/proxy/proxy_bypass_rules.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_PROXY_BYPASS_RULES_H_ #define NET_PROXY_PROXY_BYPASS_RULES_H_ +#pragma once #include <string> #include <vector> diff --git a/net/proxy/proxy_config.h b/net/proxy/proxy_config.h index a247e38..a4d535da 100644 --- a/net/proxy/proxy_config.h +++ b/net/proxy/proxy_config.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_PROXY_CONFIG_H_ #define NET_PROXY_PROXY_CONFIG_H_ +#pragma once #include <ostream> #include <string> diff --git a/net/proxy/proxy_config_service.h b/net/proxy/proxy_config_service.h index 1c65e3a..da67cd6 100644 --- a/net/proxy/proxy_config_service.h +++ b/net/proxy/proxy_config_service.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_PROXY_CONFIG_SERVICE_H_ #define NET_PROXY_PROXY_CONFIG_SERVICE_H_ +#pragma once namespace net { diff --git a/net/proxy/proxy_config_service_common_unittest.h b/net/proxy/proxy_config_service_common_unittest.h index 3b70ef0..4a70b26 100644 --- a/net/proxy/proxy_config_service_common_unittest.h +++ b/net/proxy/proxy_config_service_common_unittest.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_PROXY_CONFIG_SERVICE_COMMON_UNITTEST_H_ #define NET_PROXY_PROXY_CONFIG_SERVICE_COMMON_UNITTEST_H_ +#pragma once #include <string> #include <vector> diff --git a/net/proxy/proxy_config_service_fixed.h b/net/proxy/proxy_config_service_fixed.h index c8641b8..e9eac8e 100644 --- a/net/proxy/proxy_config_service_fixed.h +++ b/net/proxy/proxy_config_service_fixed.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_PROXY_CONFIG_SERVICE_FIXED_H_ #define NET_PROXY_PROXY_CONFIG_SERVICE_FIXED_H_ +#pragma once #include "net/base/net_errors.h" #include "net/proxy/proxy_config.h" diff --git a/net/proxy/proxy_config_service_linux.h b/net/proxy/proxy_config_service_linux.h index 600c5cc..071ab4c 100644 --- a/net/proxy/proxy_config_service_linux.h +++ b/net/proxy/proxy_config_service_linux.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_PROXY_CONFIG_SERVICE_LINUX_H_ #define NET_PROXY_PROXY_CONFIG_SERVICE_LINUX_H_ +#pragma once #include <string> #include <vector> diff --git a/net/proxy/proxy_config_service_mac.h b/net/proxy/proxy_config_service_mac.h index 4a62fa4..3602313 100644 --- a/net/proxy/proxy_config_service_mac.h +++ b/net/proxy/proxy_config_service_mac.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_PROXY_CONFIG_SERVICE_MAC_H_ #define NET_PROXY_PROXY_CONFIG_SERVICE_MAC_H_ +#pragma once #include "net/proxy/polling_proxy_config_service.h" diff --git a/net/proxy/proxy_config_service_win.h b/net/proxy/proxy_config_service_win.h index fee68cc..a79110c 100644 --- a/net/proxy/proxy_config_service_win.h +++ b/net/proxy/proxy_config_service_win.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_PROXY_CONFIG_SERVICE_WIN_H_ #define NET_PROXY_PROXY_CONFIG_SERVICE_WIN_H_ +#pragma once #include <windows.h> #include <winhttp.h> diff --git a/net/proxy/proxy_info.h b/net/proxy/proxy_info.h index 2531c6d..8d799e2 100644 --- a/net/proxy/proxy_info.h +++ b/net/proxy/proxy_info.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_PROXY_INFO_H_ #define NET_PROXY_PROXY_INFO_H_ +#pragma once #include <string> diff --git a/net/proxy/proxy_list.h b/net/proxy/proxy_list.h index 5df1e0a09..26265d0 100644 --- a/net/proxy/proxy_list.h +++ b/net/proxy/proxy_list.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_PROXY_LIST_H_ #define NET_PROXY_PROXY_LIST_H_ +#pragma once #include <string> #include <vector> diff --git a/net/proxy/proxy_resolver.h b/net/proxy/proxy_resolver.h index 003fa84..9220f5e 100644 --- a/net/proxy/proxy_resolver.h +++ b/net/proxy/proxy_resolver.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_PROXY_RESOLVER_H_ #define NET_PROXY_PROXY_RESOLVER_H_ +#pragma once #include "base/logging.h" #include "base/ref_counted.h" diff --git a/net/proxy/proxy_resolver_js_bindings.h b/net/proxy/proxy_resolver_js_bindings.h index ae13584..e69109b 100644 --- a/net/proxy/proxy_resolver_js_bindings.h +++ b/net/proxy/proxy_resolver_js_bindings.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_PROXY_RESOLVER_JS_BINDINGS_H_ #define NET_PROXY_PROXY_RESOLVER_JS_BINDINGS_H_ +#pragma once #include <string> diff --git a/net/proxy/proxy_resolver_mac.h b/net/proxy/proxy_resolver_mac.h index cacf6c8..040e4ac9 100644 --- a/net/proxy/proxy_resolver_mac.h +++ b/net/proxy/proxy_resolver_mac.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_PROXY_RESOLVER_MAC_H_ #define NET_PROXY_PROXY_RESOLVER_MAC_H_ +#pragma once #include <string> diff --git a/net/proxy/proxy_resolver_request_context.h b/net/proxy/proxy_resolver_request_context.h index fdcced1..4d1b372 100644 --- a/net/proxy/proxy_resolver_request_context.h +++ b/net/proxy/proxy_resolver_request_context.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_PROXY_RESOLVER_REQUEST_CONTEXT_H_ #define NET_PROXY_PROXY_RESOLVER_REQUEST_CONTEXT_H_ +#pragma once namespace net { diff --git a/net/proxy/proxy_resolver_script.h b/net/proxy/proxy_resolver_script.h index a872cba..21c5d27 100644 --- a/net/proxy/proxy_resolver_script.h +++ b/net/proxy/proxy_resolver_script.h @@ -39,6 +39,7 @@ #ifndef NET_PROXY_PROXY_RESOLVER_SCRIPT_H_ #define NET_PROXY_PROXY_RESOLVER_SCRIPT_H_ +#pragma once // The following code was formatted from: // 'mozilla/netwerk/base/src/nsProxyAutoConfig.js' (1.55) diff --git a/net/proxy/proxy_resolver_script_data.h b/net/proxy/proxy_resolver_script_data.h index f0bb2ee..72092e1 100644 --- a/net/proxy/proxy_resolver_script_data.h +++ b/net/proxy/proxy_resolver_script_data.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_PROXY_RESOLVER_SCRIPT_DATA_H_ #define NET_PROXY_PROXY_RESOLVER_SCRIPT_DATA_H_ +#pragma once #include "base/ref_counted.h" #include "base/string16.h" diff --git a/net/proxy/proxy_resolver_v8.h b/net/proxy/proxy_resolver_v8.h index 8d7a231..70a31c2 100644 --- a/net/proxy/proxy_resolver_v8.h +++ b/net/proxy/proxy_resolver_v8.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_PROXY_RESOLVER_V8_H_ #define NET_PROXY_PROXY_RESOLVER_V8_H_ +#pragma once #include "base/scoped_ptr.h" #include "net/proxy/proxy_resolver.h" diff --git a/net/proxy/proxy_resolver_winhttp.h b/net/proxy/proxy_resolver_winhttp.h index 7ad40dc..f6da68c 100644 --- a/net/proxy/proxy_resolver_winhttp.h +++ b/net/proxy/proxy_resolver_winhttp.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_PROXY_RESOLVER_WINHTTP_H_ #define NET_PROXY_PROXY_RESOLVER_WINHTTP_H_ +#pragma once #include <string> diff --git a/net/proxy/proxy_retry_info.h b/net/proxy/proxy_retry_info.h index c5ac782..2206718 100644 --- a/net/proxy/proxy_retry_info.h +++ b/net/proxy/proxy_retry_info.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_PROXY_RETRY_INFO_H_ #define NET_PROXY_PROXY_RETRY_INFO_H_ +#pragma once #include <map> diff --git a/net/proxy/proxy_script_fetcher.h b/net/proxy/proxy_script_fetcher.h index 8899cbb..4ba3248 100644 --- a/net/proxy/proxy_script_fetcher.h +++ b/net/proxy/proxy_script_fetcher.h @@ -8,6 +8,7 @@ #ifndef NET_PROXY_PROXY_SCRIPT_FETCHER_H_ #define NET_PROXY_PROXY_SCRIPT_FETCHER_H_ +#pragma once #include "base/string16.h" #include "net/base/completion_callback.h" diff --git a/net/proxy/proxy_server.h b/net/proxy/proxy_server.h index ea06188..18124fc 100644 --- a/net/proxy/proxy_server.h +++ b/net/proxy/proxy_server.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_PROXY_SERVER_H_ #define NET_PROXY_PROXY_SERVER_H_ +#pragma once #include "build/build_config.h" diff --git a/net/proxy/proxy_service.h b/net/proxy/proxy_service.h index d3699cd..81ce871 100644 --- a/net/proxy/proxy_service.h +++ b/net/proxy/proxy_service.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_PROXY_SERVICE_H_ #define NET_PROXY_PROXY_SERVICE_H_ +#pragma once #include <string> #include <vector> diff --git a/net/proxy/sync_host_resolver_bridge.h b/net/proxy/sync_host_resolver_bridge.h index b02d496..d3b9bb9 100644 --- a/net/proxy/sync_host_resolver_bridge.h +++ b/net/proxy/sync_host_resolver_bridge.h @@ -4,6 +4,7 @@ #ifndef NET_PROXY_SYNC_HOST_RESOLVER_BRIDGE_H_ #define NET_PROXY_SYNC_HOST_RESOLVER_BRIDGE_H_ +#pragma once #include "base/scoped_ptr.h" #include "net/base/host_resolver.h" diff --git a/net/server/http_listen_socket.h b/net/server/http_listen_socket.h index 536abb2..2eae47d 100644 --- a/net/server/http_listen_socket.h +++ b/net/server/http_listen_socket.h @@ -4,6 +4,7 @@ #ifndef NET_SERVER_HTTP_LISTEN_SOCKET_H_ #define NET_SERVER_HTTP_LISTEN_SOCKET_H_ +#pragma once #include "net/base/listen_socket.h" diff --git a/net/server/http_server_request_info.h b/net/server/http_server_request_info.h index 39689c7..9c362e2 100644 --- a/net/server/http_server_request_info.h +++ b/net/server/http_server_request_info.h @@ -4,6 +4,7 @@ #ifndef NET_SERVER_HTTP_SERVER_REQUEST_INFO_H_ #define NET_SERVER_HTTP_SERVER_REQUEST_INFO_H_ +#pragma once #include <string> #include <map> diff --git a/net/socket/client_socket.h b/net/socket/client_socket.h index 2bc1adb..29d297e 100644 --- a/net/socket/client_socket.h +++ b/net/socket/client_socket.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_CLIENT_SOCKET_H_ #define NET_SOCKET_CLIENT_SOCKET_H_ +#pragma once #include "net/socket/socket.h" diff --git a/net/socket/client_socket_factory.h b/net/socket/client_socket_factory.h index dddf1de..d0f1581 100644 --- a/net/socket/client_socket_factory.h +++ b/net/socket/client_socket_factory.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_CLIENT_SOCKET_FACTORY_H_ #define NET_SOCKET_CLIENT_SOCKET_FACTORY_H_ +#pragma once #include <string> diff --git a/net/socket/client_socket_handle.h b/net/socket/client_socket_handle.h index 7fdf784..a25bfdb 100644 --- a/net/socket/client_socket_handle.h +++ b/net/socket/client_socket_handle.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_CLIENT_SOCKET_HANDLE_H_ #define NET_SOCKET_CLIENT_SOCKET_HANDLE_H_ +#pragma once #include <string> diff --git a/net/socket/client_socket_pool.h b/net/socket/client_socket_pool.h index 646b5ed..2a50285 100644 --- a/net/socket/client_socket_pool.h +++ b/net/socket/client_socket_pool.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_CLIENT_SOCKET_POOL_H_ #define NET_SOCKET_CLIENT_SOCKET_POOL_H_ +#pragma once #include <deque> #include <map> diff --git a/net/socket/client_socket_pool_base.h b/net/socket/client_socket_pool_base.h index 5b905cf..30cff70 100644 --- a/net/socket/client_socket_pool_base.h +++ b/net/socket/client_socket_pool_base.h @@ -21,6 +21,7 @@ // #ifndef NET_SOCKET_CLIENT_SOCKET_POOL_BASE_H_ #define NET_SOCKET_CLIENT_SOCKET_POOL_BASE_H_ +#pragma once #include <deque> #include <map> diff --git a/net/socket/client_socket_pool_histograms.h b/net/socket/client_socket_pool_histograms.h index 1aea112..01c38a2 100644 --- a/net/socket/client_socket_pool_histograms.h +++ b/net/socket/client_socket_pool_histograms.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_CLIENT_SOCKET_POOL_HISTOGRAMS_H_ #define NET_SOCKET_CLIENT_SOCKET_POOL_HISTOGRAMS_H_ +#pragma once #include <string> diff --git a/net/socket/socket.h b/net/socket/socket.h index a0834bf..b94b4a6 100644 --- a/net/socket/socket.h +++ b/net/socket/socket.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_SOCKET_H_ #define NET_SOCKET_SOCKET_H_ +#pragma once #include "net/base/completion_callback.h" diff --git a/net/socket/socket_test_util.h b/net/socket/socket_test_util.h index 2bd0d23..d2dd31a 100644 --- a/net/socket/socket_test_util.h +++ b/net/socket/socket_test_util.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_SOCKET_TEST_UTIL_H_ #define NET_SOCKET_SOCKET_TEST_UTIL_H_ +#pragma once #include <cstring> #include <deque> diff --git a/net/socket/socks5_client_socket.h b/net/socket/socks5_client_socket.h index e6150f3..c2a1793 100644 --- a/net/socket/socks5_client_socket.h +++ b/net/socket/socks5_client_socket.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_ #define NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_ +#pragma once #include <string> diff --git a/net/socket/socks_client_socket.h b/net/socket/socks_client_socket.h index f99bff0..0ed7ef6 100644 --- a/net/socket/socks_client_socket.h +++ b/net/socket/socks_client_socket.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_SOCKS_CLIENT_SOCKET_H_ #define NET_SOCKET_SOCKS_CLIENT_SOCKET_H_ +#pragma once #include <string> diff --git a/net/socket/socks_client_socket_pool.h b/net/socket/socks_client_socket_pool.h index 4387aa7..37963d3 100644 --- a/net/socket/socks_client_socket_pool.h +++ b/net/socket/socks_client_socket_pool.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_ #define NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_ +#pragma once #include <string> diff --git a/net/socket/ssl_client_socket.h b/net/socket/ssl_client_socket.h index 9c34282..ec41c43 100644 --- a/net/socket/ssl_client_socket.h +++ b/net/socket/ssl_client_socket.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_H_ #define NET_SOCKET_SSL_CLIENT_SOCKET_H_ +#pragma once #include <string> diff --git a/net/socket/ssl_client_socket_mac.h b/net/socket/ssl_client_socket_mac.h index dc2ed65..009df75 100644 --- a/net/socket/ssl_client_socket_mac.h +++ b/net/socket/ssl_client_socket_mac.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_MAC_H_ #define NET_SOCKET_SSL_CLIENT_SOCKET_MAC_H_ +#pragma once #include <Security/Security.h> diff --git a/net/socket/ssl_client_socket_mac_factory.h b/net/socket/ssl_client_socket_mac_factory.h index dafc40f..2c793c2 100644 --- a/net/socket/ssl_client_socket_mac_factory.h +++ b/net/socket/ssl_client_socket_mac_factory.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_MAC_FACTORY_H_ #define NET_SOCKET_SSL_CLIENT_SOCKET_MAC_FACTORY_H_ +#pragma once #include "net/socket/client_socket_factory.h" diff --git a/net/socket/ssl_client_socket_nss.h b/net/socket/ssl_client_socket_nss.h index 60544ea..540a003 100644 --- a/net/socket/ssl_client_socket_nss.h +++ b/net/socket/ssl_client_socket_nss.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ #define NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ +#pragma once #include <certt.h> #include <keyt.h> diff --git a/net/socket/ssl_client_socket_nss_factory.h b/net/socket/ssl_client_socket_nss_factory.h index b3b99b9..f977109 100644 --- a/net/socket/ssl_client_socket_nss_factory.h +++ b/net/socket/ssl_client_socket_nss_factory.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_NSS_FACTORY_H_ #define NET_SOCKET_SSL_CLIENT_SOCKET_NSS_FACTORY_H_ +#pragma once #include "net/socket/client_socket_factory.h" diff --git a/net/socket/ssl_client_socket_pool.h b/net/socket/ssl_client_socket_pool.h index 7a33b62..b44985f 100644 --- a/net/socket/ssl_client_socket_pool.h +++ b/net/socket/ssl_client_socket_pool.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ #define NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ +#pragma once #include <string> diff --git a/net/socket/ssl_client_socket_win.h b/net/socket/ssl_client_socket_win.h index b4a0bad..05d2d0c 100644 --- a/net/socket/ssl_client_socket_win.h +++ b/net/socket/ssl_client_socket_win.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_WIN_H_ #define NET_SOCKET_SSL_CLIENT_SOCKET_WIN_H_ +#pragma once #define SECURITY_WIN32 // Needs to be defined before including security.h diff --git a/net/socket/tcp_client_socket.h b/net/socket/tcp_client_socket.h index 194de6e..6139b5b 100644 --- a/net/socket/tcp_client_socket.h +++ b/net/socket/tcp_client_socket.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_TCP_CLIENT_SOCKET_H_ #define NET_SOCKET_TCP_CLIENT_SOCKET_H_ +#pragma once #include "build/build_config.h" diff --git a/net/socket/tcp_client_socket_libevent.h b/net/socket/tcp_client_socket_libevent.h index f0bed43..b72e632 100644 --- a/net/socket/tcp_client_socket_libevent.h +++ b/net/socket/tcp_client_socket_libevent.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_TCP_CLIENT_SOCKET_LIBEVENT_H_ #define NET_SOCKET_TCP_CLIENT_SOCKET_LIBEVENT_H_ +#pragma once #include "base/message_loop.h" #include "base/non_thread_safe.h" diff --git a/net/socket/tcp_client_socket_pool.h b/net/socket/tcp_client_socket_pool.h index 1ee50d2..12f695d 100644 --- a/net/socket/tcp_client_socket_pool.h +++ b/net/socket/tcp_client_socket_pool.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_TCP_CLIENT_SOCKET_POOL_H_ #define NET_SOCKET_TCP_CLIENT_SOCKET_POOL_H_ +#pragma once #include <string> diff --git a/net/socket/tcp_client_socket_win.h b/net/socket/tcp_client_socket_win.h index 4ac57a8..c46a14e 100644 --- a/net/socket/tcp_client_socket_win.h +++ b/net/socket/tcp_client_socket_win.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_TCP_CLIENT_SOCKET_WIN_H_ #define NET_SOCKET_TCP_CLIENT_SOCKET_WIN_H_ +#pragma once #include <winsock2.h> diff --git a/net/socket/tcp_pinger.h b/net/socket/tcp_pinger.h index 96fa4fd..9c7163c 100644 --- a/net/socket/tcp_pinger.h +++ b/net/socket/tcp_pinger.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_TCP_PINGER_H_ #define NET_SOCKET_TCP_PINGER_H_ +#pragma once #include "base/compiler_specific.h" #include "base/ref_counted.h" diff --git a/net/socket_stream/socket_stream.h b/net/socket_stream/socket_stream.h index d0e8b2e..74b87cf 100644 --- a/net/socket_stream/socket_stream.h +++ b/net/socket_stream/socket_stream.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_STREAM_SOCKET_STREAM_H_ #define NET_SOCKET_STREAM_SOCKET_STREAM_H_ +#pragma once #include <deque> #include <map> diff --git a/net/socket_stream/socket_stream_job.h b/net/socket_stream/socket_stream_job.h index 618620c..086aa79 100644 --- a/net/socket_stream/socket_stream_job.h +++ b/net/socket_stream/socket_stream_job.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_STREAM_SOCKET_STREAM_JOB_H_ #define NET_SOCKET_STREAM_SOCKET_STREAM_JOB_H_ +#pragma once #include <string> diff --git a/net/socket_stream/socket_stream_job_manager.h b/net/socket_stream/socket_stream_job_manager.h index 17ff833..1150058 100644 --- a/net/socket_stream/socket_stream_job_manager.h +++ b/net/socket_stream/socket_stream_job_manager.h @@ -4,6 +4,7 @@ #ifndef NET_SOCKET_STREAM_SOCKET_STREAM_JOB_MANAGER_H_ #define NET_SOCKET_STREAM_SOCKET_STREAM_JOB_MANAGER_H_ +#pragma once #include <map> #include <string> diff --git a/net/socket_stream/socket_stream_metrics.h b/net/socket_stream/socket_stream_metrics.h index 44cbc7b..519b7e7 100644 --- a/net/socket_stream/socket_stream_metrics.h +++ b/net/socket_stream/socket_stream_metrics.h @@ -7,6 +7,7 @@ #ifndef NET_SOCKET_STREAM_SOCKET_STREAM_METRICS_H_ #define NET_SOCKET_STREAM_SOCKET_STREAM_METRICS_H_ +#pragma once #include <string> diff --git a/net/spdy/spdy_bitmasks.h b/net/spdy/spdy_bitmasks.h index 03752e3..eb34ce6 100644 --- a/net/spdy/spdy_bitmasks.h +++ b/net/spdy/spdy_bitmasks.h @@ -4,6 +4,7 @@ #ifndef NET_SPDY_SPDY_BITMASKS_H_ #define NET_SPDY_SPDY_BITMASKS_H_ +#pragma once namespace spdy { diff --git a/net/spdy/spdy_frame_builder.h b/net/spdy/spdy_frame_builder.h index 5b70437..e69add9 100644 --- a/net/spdy/spdy_frame_builder.h +++ b/net/spdy/spdy_frame_builder.h @@ -4,6 +4,7 @@ #ifndef NET_SPDY_FRAME_BUILDER_H_ #define NET_SPDY_FRAME_BUILDER_H_ +#pragma once #ifdef WIN32 #include <winsock2.h> // for htonl() functions diff --git a/net/spdy/spdy_framer.h b/net/spdy/spdy_framer.h index f188373..dcd7170 100644 --- a/net/spdy/spdy_framer.h +++ b/net/spdy/spdy_framer.h @@ -4,6 +4,7 @@ #ifndef NET_SPDY_SPDY_FRAMER_H_ #define NET_SPDY_SPDY_FRAMER_H_ +#pragma once #ifdef _WIN32 #include <winsock2.h> diff --git a/net/spdy/spdy_http_stream.h b/net/spdy/spdy_http_stream.h index 3926501..ad643f2 100644 --- a/net/spdy/spdy_http_stream.h +++ b/net/spdy/spdy_http_stream.h @@ -4,6 +4,7 @@ #ifndef NET_SPDY_SPDY_HTTP_STREAM_H_ #define NET_SPDY_SPDY_HTTP_STREAM_H_ +#pragma once #include <list> diff --git a/net/spdy/spdy_io_buffer.h b/net/spdy/spdy_io_buffer.h index e34c7fe..23d6465 100644 --- a/net/spdy/spdy_io_buffer.h +++ b/net/spdy/spdy_io_buffer.h @@ -4,6 +4,7 @@ #ifndef NET_SPDY_SPDY_IO_BUFFER_H_ #define NET_SPDY_SPDY_IO_BUFFER_H_ +#pragma once #include "base/ref_counted.h" #include "net/base/io_buffer.h" diff --git a/net/spdy/spdy_network_transaction.h b/net/spdy/spdy_network_transaction.h index 4611cda..92357ac 100644 --- a/net/spdy/spdy_network_transaction.h +++ b/net/spdy/spdy_network_transaction.h @@ -4,6 +4,7 @@ #ifndef NET_SPDY_NETWORK_TRANSACTION_H_ #define NET_SPDY_NETWORK_TRANSACTION_H_ +#pragma once #include <string> #include <deque> diff --git a/net/spdy/spdy_protocol.h b/net/spdy/spdy_protocol.h index 810d5b3..6b41e53 100644 --- a/net/spdy/spdy_protocol.h +++ b/net/spdy/spdy_protocol.h @@ -6,6 +6,7 @@ #ifndef NET_SPDY_SPDY_PROTOCOL_H_ #define NET_SPDY_SPDY_PROTOCOL_H_ +#pragma once #ifdef WIN32 #include <winsock2.h> diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h index b25d3b4..03db0ed 100644 --- a/net/spdy/spdy_session.h +++ b/net/spdy/spdy_session.h @@ -4,6 +4,7 @@ #ifndef NET_SPDY_SPDY_SESSION_H_ #define NET_SPDY_SPDY_SESSION_H_ +#pragma once #include <deque> #include <list> diff --git a/net/spdy/spdy_session_pool.h b/net/spdy/spdy_session_pool.h index 0819b71..362fdc9 100644 --- a/net/spdy/spdy_session_pool.h +++ b/net/spdy/spdy_session_pool.h @@ -4,6 +4,7 @@ #ifndef NET_SPDY_SPDY_SESSION_POOL_H_ #define NET_SPDY_SPDY_SESSION_POOL_H_ +#pragma once #include <map> #include <list> diff --git a/net/spdy/spdy_settings_storage.h b/net/spdy/spdy_settings_storage.h index 93b44dc..09d829e 100644 --- a/net/spdy/spdy_settings_storage.h +++ b/net/spdy/spdy_settings_storage.h @@ -4,6 +4,7 @@ #ifndef NET_SPDY_SPDY_SETTING_STORAGE_H_ #define NET_SPDY_SPDY_SETTING_STORAGE_H_ +#pragma once #include <map> #include "base/basictypes.h" diff --git a/net/spdy/spdy_stream.h b/net/spdy/spdy_stream.h index 0d2ae44..cdf3132 100644 --- a/net/spdy/spdy_stream.h +++ b/net/spdy/spdy_stream.h @@ -4,6 +4,7 @@ #ifndef NET_SPDY_SPDY_STREAM_H_ #define NET_SPDY_SPDY_STREAM_H_ +#pragma once #include <string> #include <vector> diff --git a/net/spdy/spdy_test_util.h b/net/spdy/spdy_test_util.h index 6e7a8d0..b8b5584 100644 --- a/net/spdy/spdy_test_util.h +++ b/net/spdy/spdy_test_util.h @@ -4,6 +4,7 @@ #ifndef NET_SPDY_SPDY_TEST_UTIL_H_ #define NET_SPDY_SPDY_TEST_UTIL_H_ +#pragma once #include "base/basictypes.h" #include "net/base/mock_host_resolver.h" diff --git a/net/spdy/spdy_transaction_factory.h b/net/spdy/spdy_transaction_factory.h index bb626f9..5a99526 100644 --- a/net/spdy/spdy_transaction_factory.h +++ b/net/spdy/spdy_transaction_factory.h @@ -4,6 +4,7 @@ #ifndef NET_SPDY_SPDY_TRANSACTION_FACTORY_H__ #define NET_SPDY_SPDY_TRANSACTION_FACTORY_H__ +#pragma once #include "net/http/http_transaction_factory.h" #include "net/spdy/spdy_network_transaction.h" diff --git a/net/test/test_server.h b/net/test/test_server.h index 39cae12..8c3f2f3 100644 --- a/net/test/test_server.h +++ b/net/test/test_server.h @@ -4,6 +4,7 @@ #ifndef NET_TEST_TEST_SERVER_H_ #define NET_TEST_TEST_SERVER_H_ +#pragma once #include "build/build_config.h" diff --git a/net/tools/dump_cache/cache_dumper.h b/net/tools/dump_cache/cache_dumper.h index d2e6034..03c7ac9 100644 --- a/net/tools/dump_cache/cache_dumper.h +++ b/net/tools/dump_cache/cache_dumper.h @@ -4,6 +4,7 @@ #ifndef NET_TOOLS_DUMP_CACHE_CACHE_DUMPER_H_ #define NET_TOOLS_DUMP_CACHE_CACHE_DUMPER_H_ +#pragma once #include <string> #include "base/file_path.h" diff --git a/net/tools/dump_cache/url_to_filename_encoder.h b/net/tools/dump_cache/url_to_filename_encoder.h index b5cac37..9e888ce 100644 --- a/net/tools/dump_cache/url_to_filename_encoder.h +++ b/net/tools/dump_cache/url_to_filename_encoder.h @@ -74,6 +74,7 @@ #ifndef NET_TOOLS_DUMP_CACHE_URL_TO_FILE_ENCODER_H_ #define NET_TOOLS_DUMP_CACHE_URL_TO_FILE_ENCODER_H_ +#pragma once #include <string> diff --git a/net/tools/dump_cache/url_utilities.h b/net/tools/dump_cache/url_utilities.h index 4de95dc..5c1f406 100644 --- a/net/tools/dump_cache/url_utilities.h +++ b/net/tools/dump_cache/url_utilities.h @@ -4,6 +4,7 @@ #ifndef NET_TOOLS_DUMP_CACHE_URL_UTILITIES_H_ #define NET_TOOLS_DUMP_CACHE_URL_UTILITIES_H_ +#pragma once #include <string> diff --git a/net/tools/fetch/http_listen_socket.h b/net/tools/fetch/http_listen_socket.h index a1b77c5e..781ac32 100644 --- a/net/tools/fetch/http_listen_socket.h +++ b/net/tools/fetch/http_listen_socket.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_TOOLS_HTTP_LISTEN_SOCKET_H_ #define NET_BASE_TOOLS_HTTP_LISTEN_SOCKET_H_ +#pragma once #include "base/message_loop.h" #include "net/base/listen_socket.h" diff --git a/net/tools/fetch/http_server.h b/net/tools/fetch/http_server.h index 1a3d402..5b1692a 100644 --- a/net/tools/fetch/http_server.h +++ b/net/tools/fetch/http_server.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_TOOLS_HTTP_SERVER_H_ #define NET_BASE_TOOLS_HTTP_SERVER_H_ +#pragma once #include "base/basictypes.h" #include "net/tools/fetch/http_session.h" diff --git a/net/tools/fetch/http_server_request_info.h b/net/tools/fetch/http_server_request_info.h index fb45bdb..2b7cfb5 100644 --- a/net/tools/fetch/http_server_request_info.h +++ b/net/tools/fetch/http_server_request_info.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_TOOLS_HTTP_SERVER_REQUEST_INFO_H_ #define NET_BASE_TOOLS_HTTP_SERVER_REQUEST_INFO_H_ +#pragma once #include <map> #include <string> diff --git a/net/tools/fetch/http_server_response_info.h b/net/tools/fetch/http_server_response_info.h index 03015c8..86bff40 100644 --- a/net/tools/fetch/http_server_response_info.h +++ b/net/tools/fetch/http_server_response_info.h @@ -4,6 +4,7 @@ #ifndef NET_HTTP_HTTP_RESPONSE_INFO_H__ #define NET_HTTP_HTTP_RESPONSE_INFO_H__ +#pragma once #include <string> #include <map> diff --git a/net/tools/fetch/http_session.h b/net/tools/fetch/http_session.h index a1d57bf..b4b582c 100644 --- a/net/tools/fetch/http_session.h +++ b/net/tools/fetch/http_session.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_TOOLS_HTTP_SESSION_H_ #define NET_BASE_TOOLS_HTTP_SESSION_H_ +#pragma once #include "base/basictypes.h" #include "net/http/http_request_info.h" diff --git a/net/tools/flip_server/balsa_enums.h b/net/tools/flip_server/balsa_enums.h index 4273ee4..6a68532 100644 --- a/net/tools/flip_server/balsa_enums.h +++ b/net/tools/flip_server/balsa_enums.h @@ -4,6 +4,7 @@ #ifndef NET_TOOLS_FLIP_SERVER_BALSA_ENUMS_H_ #define NET_TOOLS_FLIP_SERVER_BALSA_ENUMS_H_ +#pragma once namespace net { diff --git a/net/tools/flip_server/balsa_frame.h b/net/tools/flip_server/balsa_frame.h index 37bf5be..6c0b1d0 100644 --- a/net/tools/flip_server/balsa_frame.h +++ b/net/tools/flip_server/balsa_frame.h @@ -4,6 +4,7 @@ #ifndef NET_TOOLS_FLIP_SERVER_BALSA_FRAME_H_ #define NET_TOOLS_FLIP_SERVER_BALSA_FRAME_H_ +#pragma once #include <strings.h> diff --git a/net/tools/flip_server/balsa_headers.h b/net/tools/flip_server/balsa_headers.h index 24e7940..d89c7f9 100644 --- a/net/tools/flip_server/balsa_headers.h +++ b/net/tools/flip_server/balsa_headers.h @@ -4,6 +4,7 @@ #ifndef NET_TOOLS_FLIP_SERVER_BALSA_HEADERS_H_ #define NET_TOOLS_FLIP_SERVER_BALSA_HEADERS_H_ +#pragma once #include <algorithm> #include <iosfwd> diff --git a/net/tools/flip_server/balsa_headers_token_utils.h b/net/tools/flip_server/balsa_headers_token_utils.h index c2c5a68..80c6b0c 100644 --- a/net/tools/flip_server/balsa_headers_token_utils.h +++ b/net/tools/flip_server/balsa_headers_token_utils.h @@ -7,6 +7,7 @@ #ifndef NET_TOOLS_FLIP_SERVER_BALSA_HEADERS_TOKEN_UTILS_H_ #define NET_TOOLS_FLIP_SERVER_BALSA_HEADERS_TOKEN_UTILS_H_ +#pragma once #include "net/tools/flip_server/balsa_headers.h" #include "base/string_piece.h" diff --git a/net/tools/flip_server/balsa_visitor_interface.h b/net/tools/flip_server/balsa_visitor_interface.h index c932ff8..393d4f7 100644 --- a/net/tools/flip_server/balsa_visitor_interface.h +++ b/net/tools/flip_server/balsa_visitor_interface.h @@ -4,6 +4,7 @@ #ifndef NET_TOOLS_FLIP_SERVER_BALSA_VISITOR_INTERFACE_H_ #define NET_TOOLS_FLIP_SERVER_BALSA_VISITOR_INTERFACE_H_ +#pragma once #include <cstddef> diff --git a/net/tools/flip_server/buffer_interface.h b/net/tools/flip_server/buffer_interface.h index ec061c9..67e1729 100644 --- a/net/tools/flip_server/buffer_interface.h +++ b/net/tools/flip_server/buffer_interface.h @@ -4,6 +4,7 @@ #ifndef NET_TOOLS_FLIP_SERVER_BUFFER_INTERFACE_H__ #define NET_TOOLS_FLIP_SERVER_BUFFER_INTERFACE_H__ +#pragma once namespace net { diff --git a/net/tools/flip_server/create_listener.h b/net/tools/flip_server/create_listener.h index 32758ee..4c0a277 100644 --- a/net/tools/flip_server/create_listener.h +++ b/net/tools/flip_server/create_listener.h @@ -4,6 +4,7 @@ #ifndef NET_TOOLS_FLIP_SERVER_CREATE_LISTENER_H__ #define NET_TOOLS_FLIP_SERVER_CREATE_LISTENER_H__ +#pragma once #include <iosfwd> #include <string> diff --git a/net/tools/flip_server/epoll_server.h b/net/tools/flip_server/epoll_server.h index 262dd8a..2ada5a9 100644 --- a/net/tools/flip_server/epoll_server.h +++ b/net/tools/flip_server/epoll_server.h @@ -4,6 +4,7 @@ #ifndef NET_TOOLS_FLIP_SERVER_EPOLL_SERVER_H_ #define NET_TOOLS_FLIP_SERVER_EPOLL_SERVER_H_ +#pragma once #include <fcntl.h> #include <sys/queue.h> diff --git a/net/tools/flip_server/http_message_constants.h b/net/tools/flip_server/http_message_constants.h index de700cc..f34d783 100644 --- a/net/tools/flip_server/http_message_constants.h +++ b/net/tools/flip_server/http_message_constants.h @@ -4,6 +4,7 @@ #ifndef NET_TOOLS_FLIP_SERVER_HTTP_MESSAGE_CONSTANTS_H__ #define NET_TOOLS_FLIP_SERVER_HTTP_MESSAGE_CONSTANTS_H__ +#pragma once namespace net { diff --git a/net/tools/flip_server/loadtime_measurement.h b/net/tools/flip_server/loadtime_measurement.h index b46217e..fa069d4 100644 --- a/net/tools/flip_server/loadtime_measurement.h +++ b/net/tools/flip_server/loadtime_measurement.h @@ -4,6 +4,7 @@ #ifndef NET_TOOLS_FLIP_SERVER_LOADTIME_MEASUREMENT_H__ #define NET_TOOLS_FLIP_SERVER_LOADTIME_MEASUREMENT_H__ +#pragma once #include <errno.h> #include <fcntl.h> diff --git a/net/tools/flip_server/other_defines.h b/net/tools/flip_server/other_defines.h index ed824e4..4aaa493 100644 --- a/net/tools/flip_server/other_defines.h +++ b/net/tools/flip_server/other_defines.h @@ -1,5 +1,6 @@ #ifndef NET_TOOLS_FLIP_SERVER_OTHER_DEFINES #define NET_TOOLS_FLIP_SERVER_OTHER_DEFINES +#pragma once class NullStream { public: diff --git a/net/tools/flip_server/ring_buffer.h b/net/tools/flip_server/ring_buffer.h index a1a5491..ee6f360 100644 --- a/net/tools/flip_server/ring_buffer.h +++ b/net/tools/flip_server/ring_buffer.h @@ -4,6 +4,7 @@ #ifndef NET_TOOLS_FLIP_SERVER_RING_BUFFER_H__ #define NET_TOOLS_FLIP_SERVER_RING_BUFFER_H__ +#pragma once #include "base/scoped_ptr.h" #include "net/tools/flip_server/buffer_interface.h" diff --git a/net/tools/flip_server/simple_buffer.h b/net/tools/flip_server/simple_buffer.h index c10558a..71fafc9 100644 --- a/net/tools/flip_server/simple_buffer.h +++ b/net/tools/flip_server/simple_buffer.h @@ -4,6 +4,7 @@ #ifndef NET_TOOLS_FLIP_SERVER_SIMPLE_BUFFER_H__ #define NET_TOOLS_FLIP_SERVER_SIMPLE_BUFFER_H__ +#pragma once #include <string> diff --git a/net/tools/flip_server/split.h b/net/tools/flip_server/split.h index 247fef8..16ab74d 100644 --- a/net/tools/flip_server/split.h +++ b/net/tools/flip_server/split.h @@ -4,6 +4,7 @@ #ifndef NET_TOOLS_FLIP_SERVER_SPLIT_H_ #define NET_TOOLS_FLIP_SERVER_SPLIT_H_ +#pragma once #include <vector> #include "base/string_piece.h" diff --git a/net/tools/flip_server/string_piece_utils.h b/net/tools/flip_server/string_piece_utils.h index 3f3a251..8240c53 100644 --- a/net/tools/flip_server/string_piece_utils.h +++ b/net/tools/flip_server/string_piece_utils.h @@ -4,6 +4,7 @@ #ifndef NET_TOOLS_FLIP_SERVER_STRING_PIECE_UTILS_H_ #define NET_TOOLS_FLIP_SERVER_STRING_PIECE_UTILS_H_ +#pragma once #include <ctype.h> diff --git a/net/tools/flip_server/url_to_filename_encoder.h b/net/tools/flip_server/url_to_filename_encoder.h index 568c1ee..429da25 100644 --- a/net/tools/flip_server/url_to_filename_encoder.h +++ b/net/tools/flip_server/url_to_filename_encoder.h @@ -4,6 +4,7 @@ #ifndef NET_TOOLS_FLIP_SERVER_URL_TO_FILE_ENCODER_H__ #define NET_TOOLS_FLIP_SERVER_URL_TO_FILE_ENCODER_H__ +#pragma once #include <string> #include "net/tools/flip_server/url_utilities.h" diff --git a/net/tools/flip_server/url_utilities.h b/net/tools/flip_server/url_utilities.h index 52a768a..39d0372 100644 --- a/net/tools/flip_server/url_utilities.h +++ b/net/tools/flip_server/url_utilities.h @@ -4,6 +4,7 @@ #ifndef NET_TOOLS_FLIP_SERVER_URL_UTILITIES_H__ #define NET_TOOLS_FLIP_SERVER_URL_UTILITIES_H__ +#pragma once #include <string> diff --git a/net/tools/spdyshark/packet-spdy.h b/net/tools/spdyshark/packet-spdy.h index 02b586b..b370a55 100644 --- a/net/tools/spdyshark/packet-spdy.h +++ b/net/tools/spdyshark/packet-spdy.h @@ -26,6 +26,7 @@ #ifndef __PACKET_SPDY_H__ #define __PACKET_SPDY_H__ +#pragma once #include <epan/packet.h> #ifdef HAVE_LIBZ diff --git a/net/url_request/https_prober.h b/net/url_request/https_prober.h index c1c9941..b85b126 100644 --- a/net/url_request/https_prober.h +++ b/net/url_request/https_prober.h @@ -4,6 +4,7 @@ #ifndef NET_BASE_HTTPS_PROBER_H_ #define NET_BASE_HTTPS_PROBER_H_ +#pragma once #include <map> #include <set> diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h index 7256ec0..e5a644e 100644 --- a/net/url_request/url_request.h +++ b/net/url_request/url_request.h @@ -4,6 +4,7 @@ #ifndef NET_URL_REQUEST_URL_REQUEST_H_ #define NET_URL_REQUEST_URL_REQUEST_H_ +#pragma once #include <map> #include <string> diff --git a/net/url_request/url_request_about_job.h b/net/url_request/url_request_about_job.h index 70822d2..f31ba0a 100644 --- a/net/url_request/url_request_about_job.h +++ b/net/url_request/url_request_about_job.h @@ -4,6 +4,7 @@ #ifndef NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_ #define NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_ +#pragma once #include <string> diff --git a/net/url_request/url_request_context.h b/net/url_request/url_request_context.h index 0f7fd51..3f6cc64 100644 --- a/net/url_request/url_request_context.h +++ b/net/url_request/url_request_context.h @@ -9,6 +9,7 @@ #ifndef NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ #define NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ +#pragma once #include "base/non_thread_safe.h" #include "base/ref_counted.h" diff --git a/net/url_request/url_request_data_job.h b/net/url_request/url_request_data_job.h index 1c1dbaa..80ea450 100644 --- a/net/url_request/url_request_data_job.h +++ b/net/url_request/url_request_data_job.h @@ -4,6 +4,7 @@ #ifndef NET_URL_REQUEST_URL_REQUEST_DATA_JOB_H_ #define NET_URL_REQUEST_URL_REQUEST_DATA_JOB_H_ +#pragma once #include <string> diff --git a/net/url_request/url_request_error_job.h b/net/url_request/url_request_error_job.h index 396c38d..efaea0c 100644 --- a/net/url_request/url_request_error_job.h +++ b/net/url_request/url_request_error_job.h @@ -7,6 +7,7 @@ #ifndef NET_URL_REQUEST_URL_REQUEST_ERROR_JOB_H_ #define NET_URL_REQUEST_URL_REQUEST_ERROR_JOB_H_ +#pragma once #include "net/url_request/url_request_job.h" diff --git a/net/url_request/url_request_file_dir_job.h b/net/url_request/url_request_file_dir_job.h index 0322f10..863d5a9 100644 --- a/net/url_request/url_request_file_dir_job.h +++ b/net/url_request/url_request_file_dir_job.h @@ -4,6 +4,7 @@ #ifndef NET_URL_REQUEST_URL_REQUEST_FILE_DIR_JOB_H__ #define NET_URL_REQUEST_URL_REQUEST_FILE_DIR_JOB_H__ +#pragma once #include <string> diff --git a/net/url_request/url_request_file_job.h b/net/url_request/url_request_file_job.h index aed6859..5185ab6 100644 --- a/net/url_request/url_request_file_job.h +++ b/net/url_request/url_request_file_job.h @@ -4,6 +4,7 @@ #ifndef NET_URL_REQUEST_URL_REQUEST_FILE_JOB_H_ #define NET_URL_REQUEST_URL_REQUEST_FILE_JOB_H_ +#pragma once #include <string> diff --git a/net/url_request/url_request_filter.h b/net/url_request/url_request_filter.h index d81e68c..58f9886 100644 --- a/net/url_request/url_request_filter.h +++ b/net/url_request/url_request_filter.h @@ -18,6 +18,7 @@ #ifndef NET_URL_REQUEST_URL_REQUEST_FILTER_H_ #define NET_URL_REQUEST_URL_REQUEST_FILTER_H_ +#pragma once #include <map> #include <string> diff --git a/net/url_request/url_request_ftp_job.h b/net/url_request/url_request_ftp_job.h index 453543f..02a034d 100644 --- a/net/url_request/url_request_ftp_job.h +++ b/net/url_request/url_request_ftp_job.h @@ -4,6 +4,7 @@ #ifndef NET_URL_REQUEST_URL_REQUEST_FTP_JOB_H_ #define NET_URL_REQUEST_URL_REQUEST_FTP_JOB_H_ +#pragma once #include <string> diff --git a/net/url_request/url_request_http_job.h b/net/url_request/url_request_http_job.h index 279cdd4..223edf8 100644 --- a/net/url_request/url_request_http_job.h +++ b/net/url_request/url_request_http_job.h @@ -4,6 +4,7 @@ #ifndef NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ #define NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ +#pragma once #include <set> #include <string> diff --git a/net/url_request/url_request_job.h b/net/url_request/url_request_job.h index 617bbf9..7cd496b 100644 --- a/net/url_request/url_request_job.h +++ b/net/url_request/url_request_job.h @@ -4,6 +4,7 @@ #ifndef NET_URL_REQUEST_URL_REQUEST_JOB_H_ #define NET_URL_REQUEST_URL_REQUEST_JOB_H_ +#pragma once #include <string> #include <vector> diff --git a/net/url_request/url_request_job_manager.h b/net/url_request/url_request_job_manager.h index d8934e6..51de77a 100644 --- a/net/url_request/url_request_job_manager.h +++ b/net/url_request/url_request_job_manager.h @@ -4,6 +4,7 @@ #ifndef NET_URL_REQUEST_URL_REQUEST_JOB_MANAGER_H__ #define NET_URL_REQUEST_URL_REQUEST_JOB_MANAGER_H__ +#pragma once #include <map> #include <vector> diff --git a/net/url_request/url_request_job_metrics.h b/net/url_request/url_request_job_metrics.h index 11ee288..0c12ff2 100644 --- a/net/url_request/url_request_job_metrics.h +++ b/net/url_request/url_request_job_metrics.h @@ -7,6 +7,7 @@ #ifndef NET_URL_REQUEST_URL_REQUEST_JOB_METRICS_H_ #define NET_URL_REQUEST_URL_REQUEST_JOB_METRICS_H_ +#pragma once #include <string> diff --git a/net/url_request/url_request_job_tracker.h b/net/url_request/url_request_job_tracker.h index 5f12fc7..4ec69d7 100644 --- a/net/url_request/url_request_job_tracker.h +++ b/net/url_request/url_request_job_tracker.h @@ -4,6 +4,7 @@ #ifndef NET_URL_REQUEST_URL_REQUEST_JOB_TRACKER_H_ #define NET_URL_REQUEST_URL_REQUEST_JOB_TRACKER_H_ +#pragma once #include <vector> diff --git a/net/url_request/url_request_netlog_params.h b/net/url_request/url_request_netlog_params.h index d84052a..12bd1f1 100644 --- a/net/url_request/url_request_netlog_params.h +++ b/net/url_request/url_request_netlog_params.h @@ -4,6 +4,7 @@ #ifndef NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_ #define NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_ +#pragma once #include <string> diff --git a/net/url_request/url_request_redirect_job.h b/net/url_request/url_request_redirect_job.h index 8a13204..55c34a7 100644 --- a/net/url_request/url_request_redirect_job.h +++ b/net/url_request/url_request_redirect_job.h @@ -4,6 +4,7 @@ #ifndef NET_URL_REQUEST_URL_REQUEST_REDIRECT_JOB_H_ #define NET_URL_REQUEST_URL_REQUEST_REDIRECT_JOB_H_ +#pragma once #include "net/url_request/url_request_job.h" diff --git a/net/url_request/url_request_simple_job.h b/net/url_request/url_request_simple_job.h index 4ea856c..bcc4047 100644 --- a/net/url_request/url_request_simple_job.h +++ b/net/url_request/url_request_simple_job.h @@ -4,6 +4,7 @@ #ifndef NET_URL_REQUEST_URL_REQUEST_SIMPLE_JOB_H_ #define NET_URL_REQUEST_URL_REQUEST_SIMPLE_JOB_H_ +#pragma once #include <string> diff --git a/net/url_request/url_request_status.h b/net/url_request/url_request_status.h index f82bb83..9861c51 100644 --- a/net/url_request/url_request_status.h +++ b/net/url_request/url_request_status.h @@ -7,6 +7,7 @@ #ifndef NET_URL_REQUEST_URL_REQUEST_STATUS_H_ #define NET_URL_REQUEST_URL_REQUEST_STATUS_H_ +#pragma once // Respresents the result of a URL request. It encodes errors and various // types of success. diff --git a/net/url_request/url_request_test_job.h b/net/url_request/url_request_test_job.h index f618c07..7cb4777 100644 --- a/net/url_request/url_request_test_job.h +++ b/net/url_request/url_request_test_job.h @@ -4,6 +4,7 @@ #ifndef NET_URL_REQUEST_URL_REQUEST_TEST_JOB_H_ #define NET_URL_REQUEST_URL_REQUEST_TEST_JOB_H_ +#pragma once #include <string> diff --git a/net/url_request/url_request_unittest.h b/net/url_request/url_request_unittest.h index 969e034..39dc5bf 100644 --- a/net/url_request/url_request_unittest.h +++ b/net/url_request/url_request_unittest.h @@ -4,6 +4,7 @@ #ifndef NET_URL_REQUEST_URL_REQUEST_UNITTEST_H_ #define NET_URL_REQUEST_URL_REQUEST_UNITTEST_H_ +#pragma once #include <stdlib.h> diff --git a/net/url_request/view_cache_helper.h b/net/url_request/view_cache_helper.h index 777775a..dd960a9 100644 --- a/net/url_request/view_cache_helper.h +++ b/net/url_request/view_cache_helper.h @@ -4,6 +4,7 @@ #ifndef NET_URL_REQUEST_VIEW_CACHE_HELPER_H_ #define NET_URL_REQUEST_VIEW_CACHE_HELPER_H_ +#pragma once #include <string> diff --git a/net/websockets/websocket.h b/net/websockets/websocket.h index 373c5e4..19720ae 100644 --- a/net/websockets/websocket.h +++ b/net/websockets/websocket.h @@ -10,6 +10,7 @@ #ifndef NET_WEBSOCKETS_WEBSOCKET_H_ #define NET_WEBSOCKETS_WEBSOCKET_H_ +#pragma once #include <deque> #include <string> diff --git a/net/websockets/websocket_frame_handler.h b/net/websockets/websocket_frame_handler.h index d6c38da..ec5762d 100644 --- a/net/websockets/websocket_frame_handler.h +++ b/net/websockets/websocket_frame_handler.h @@ -4,6 +4,7 @@ #ifndef NET_WEBSOCKETS_WEBSOCKET_FRAME_HANDLER_H_ #define NET_WEBSOCKETS_WEBSOCKET_FRAME_HANDLER_H_ +#pragma once #include <deque> #include <vector> diff --git a/net/websockets/websocket_handshake.h b/net/websockets/websocket_handshake.h index 3f64b8b..b74f9be7 100644 --- a/net/websockets/websocket_handshake.h +++ b/net/websockets/websocket_handshake.h @@ -4,6 +4,7 @@ #ifndef NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_H_ #define NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_H_ +#pragma once #include <string> diff --git a/net/websockets/websocket_handshake_draft75.h b/net/websockets/websocket_handshake_draft75.h index 6cc0506..3caaa98 100644 --- a/net/websockets/websocket_handshake_draft75.h +++ b/net/websockets/websocket_handshake_draft75.h @@ -4,6 +4,7 @@ #ifndef NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_DRAFT75_H_ #define NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_DRAFT75_H_ +#pragma once #include <string> diff --git a/net/websockets/websocket_handshake_handler.h b/net/websockets/websocket_handshake_handler.h index cf5700b..3fff3da 100644 --- a/net/websockets/websocket_handshake_handler.h +++ b/net/websockets/websocket_handshake_handler.h @@ -12,6 +12,7 @@ #ifndef NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_HANDLER_H_ #define NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_HANDLER_H_ +#pragma once #include <string> #include <vector> diff --git a/net/websockets/websocket_job.h b/net/websockets/websocket_job.h index 833726b..d1dae8d 100644 --- a/net/websockets/websocket_job.h +++ b/net/websockets/websocket_job.h @@ -4,6 +4,7 @@ #ifndef NET_WEBSOCKETS_WEBSOCKET_JOB_H_ #define NET_WEBSOCKETS_WEBSOCKET_JOB_H_ +#pragma once #include <string> #include <vector> diff --git a/net/websockets/websocket_throttle.h b/net/websockets/websocket_throttle.h index d05b246..0849834 100644 --- a/net/websockets/websocket_throttle.h +++ b/net/websockets/websocket_throttle.h @@ -4,6 +4,7 @@ #ifndef NET_WEBSOCKETS_WEBSOCKET_THROTTLE_H_ #define NET_WEBSOCKETS_WEBSOCKET_THROTTLE_H_ +#pragma once #include <deque> #include <string> |