diff options
Diffstat (limited to 'net/base')
82 files changed, 82 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> |