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/spdy/spdy_bitmasks.h | 1 + net/spdy/spdy_frame_builder.h | 1 + net/spdy/spdy_framer.h | 1 + net/spdy/spdy_http_stream.h | 1 + net/spdy/spdy_io_buffer.h | 1 + net/spdy/spdy_network_transaction.h | 1 + net/spdy/spdy_protocol.h | 1 + net/spdy/spdy_session.h | 1 + net/spdy/spdy_session_pool.h | 1 + net/spdy/spdy_settings_storage.h | 1 + net/spdy/spdy_stream.h | 1 + net/spdy/spdy_test_util.h | 1 + net/spdy/spdy_transaction_factory.h | 1 + 13 files changed, 13 insertions(+) (limited to 'net/spdy') 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 // 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 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 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 #include 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 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 #include 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 #include 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 #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 #include 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" -- cgit v1.1