From 32b76eff6f630b9bcc0fc3f3bad826f3d1217dda Mon Sep 17 00:00:00 2001 From: "thakis@chromium.org" Date: Mon, 26 Jul 2010 23:08:24 +0000 Subject: `#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 --- net/tools/flip_server/balsa_enums.h | 1 + net/tools/flip_server/balsa_frame.h | 1 + net/tools/flip_server/balsa_headers.h | 1 + net/tools/flip_server/balsa_headers_token_utils.h | 1 + net/tools/flip_server/balsa_visitor_interface.h | 1 + net/tools/flip_server/buffer_interface.h | 1 + net/tools/flip_server/create_listener.h | 1 + net/tools/flip_server/epoll_server.h | 1 + net/tools/flip_server/http_message_constants.h | 1 + net/tools/flip_server/loadtime_measurement.h | 1 + net/tools/flip_server/other_defines.h | 1 + net/tools/flip_server/ring_buffer.h | 1 + net/tools/flip_server/simple_buffer.h | 1 + net/tools/flip_server/split.h | 1 + net/tools/flip_server/string_piece_utils.h | 1 + net/tools/flip_server/url_to_filename_encoder.h | 1 + net/tools/flip_server/url_utilities.h | 1 + 17 files changed, 17 insertions(+) (limited to 'net/tools/flip_server') 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 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 #include 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 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 #include 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 #include 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 #include 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 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 #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 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 #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 -- cgit v1.1