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/tools | |
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/tools')
26 files changed, 26 insertions, 0 deletions
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 |