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 /ipc | |
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 'ipc')
-rw-r--r-- | ipc/file_descriptor_set_posix.h | 1 | ||||
-rw-r--r-- | ipc/ipc_channel.h | 1 | ||||
-rw-r--r-- | ipc/ipc_channel_handle.h | 1 | ||||
-rw-r--r-- | ipc/ipc_channel_posix.h | 1 | ||||
-rw-r--r-- | ipc/ipc_channel_proxy.h | 1 | ||||
-rw-r--r-- | ipc/ipc_channel_win.h | 1 | ||||
-rw-r--r-- | ipc/ipc_descriptors.h | 1 | ||||
-rw-r--r-- | ipc/ipc_logging.h | 1 | ||||
-rw-r--r-- | ipc/ipc_message.h | 1 | ||||
-rw-r--r-- | ipc/ipc_message_utils.h | 1 | ||||
-rw-r--r-- | ipc/ipc_platform_file.h | 1 | ||||
-rw-r--r-- | ipc/ipc_switches.h | 1 | ||||
-rw-r--r-- | ipc/ipc_sync_channel.h | 1 | ||||
-rw-r--r-- | ipc/ipc_sync_message.h | 1 | ||||
-rw-r--r-- | ipc/ipc_sync_message_filter.h | 1 | ||||
-rw-r--r-- | ipc/ipc_tests.h | 1 |
16 files changed, 16 insertions, 0 deletions
diff --git a/ipc/file_descriptor_set_posix.h b/ipc/file_descriptor_set_posix.h index fcb5061..4f0a682 100644 --- a/ipc/file_descriptor_set_posix.h +++ b/ipc/file_descriptor_set_posix.h @@ -4,6 +4,7 @@ #ifndef IPC_FILE_DESCRIPTOR_SET_POSIX_H_ #define IPC_FILE_DESCRIPTOR_SET_POSIX_H_ +#pragma once #include <vector> diff --git a/ipc/ipc_channel.h b/ipc/ipc_channel.h index d1dbd03..f085704 100644 --- a/ipc/ipc_channel.h +++ b/ipc/ipc_channel.h @@ -4,6 +4,7 @@ #ifndef IPC_IPC_CHANNEL_H_ #define IPC_IPC_CHANNEL_H_ +#pragma once #include "ipc/ipc_message.h" diff --git a/ipc/ipc_channel_handle.h b/ipc/ipc_channel_handle.h index 2342429..dc6957f 100644 --- a/ipc/ipc_channel_handle.h +++ b/ipc/ipc_channel_handle.h @@ -4,6 +4,7 @@ #ifndef IPC_IPC_CHANNEL_HANDLE_H_ #define IPC_IPC_CHANNEL_HANDLE_H_ +#pragma once #include <string> diff --git a/ipc/ipc_channel_posix.h b/ipc/ipc_channel_posix.h index 7cb8e1d..15f5f5e 100644 --- a/ipc/ipc_channel_posix.h +++ b/ipc/ipc_channel_posix.h @@ -4,6 +4,7 @@ #ifndef IPC_IPC_CHANNEL_POSIX_H_ #define IPC_IPC_CHANNEL_POSIX_H_ +#pragma once #include "ipc/ipc_channel.h" diff --git a/ipc/ipc_channel_proxy.h b/ipc/ipc_channel_proxy.h index aee6dae..bfebcb8 100644 --- a/ipc/ipc_channel_proxy.h +++ b/ipc/ipc_channel_proxy.h @@ -4,6 +4,7 @@ #ifndef IPC_IPC_CHANNEL_PROXY_H__ #define IPC_IPC_CHANNEL_PROXY_H__ +#pragma once #include <vector> diff --git a/ipc/ipc_channel_win.h b/ipc/ipc_channel_win.h index 31b8ad4..6965fd8 100644 --- a/ipc/ipc_channel_win.h +++ b/ipc/ipc_channel_win.h @@ -4,6 +4,7 @@ #ifndef IPC_IPC_CHANNEL_WIN_H_ #define IPC_IPC_CHANNEL_WIN_H_ +#pragma once #include "ipc/ipc_channel.h" diff --git a/ipc/ipc_descriptors.h b/ipc/ipc_descriptors.h index 5717aa4..4750fa8 100644 --- a/ipc/ipc_descriptors.h +++ b/ipc/ipc_descriptors.h @@ -4,6 +4,7 @@ #ifndef IPC_IPC_DESCRIPTORS_H_ #define IPC_IPC_DESCRIPTORS_H_ +#pragma once // This is a list of global descriptor keys to be used with the // base::GlobalDescriptors object (see base/global_descriptors_posix.h) diff --git a/ipc/ipc_logging.h b/ipc/ipc_logging.h index 271b2a1..2abb7f2 100644 --- a/ipc/ipc_logging.h +++ b/ipc/ipc_logging.h @@ -4,6 +4,7 @@ #ifndef IPC_IPC_LOGGING_H_ #define IPC_IPC_LOGGING_H_ +#pragma once #include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. diff --git a/ipc/ipc_message.h b/ipc/ipc_message.h index 83e1e08..75cdd23 100644 --- a/ipc/ipc_message.h +++ b/ipc/ipc_message.h @@ -4,6 +4,7 @@ #ifndef IPC_IPC_MESSAGE_H__ #define IPC_IPC_MESSAGE_H__ +#pragma once #include <string> diff --git a/ipc/ipc_message_utils.h b/ipc/ipc_message_utils.h index 46c7298..aab80ee 100644 --- a/ipc/ipc_message_utils.h +++ b/ipc/ipc_message_utils.h @@ -4,6 +4,7 @@ #ifndef IPC_IPC_MESSAGE_UTILS_H_ #define IPC_IPC_MESSAGE_UTILS_H_ +#pragma once #include <algorithm> #include <string> diff --git a/ipc/ipc_platform_file.h b/ipc/ipc_platform_file.h index 7ba7414..e08b8a5 100644 --- a/ipc/ipc_platform_file.h +++ b/ipc/ipc_platform_file.h @@ -4,6 +4,7 @@ #ifndef IPC_IPC_PLATFORM_FILE_H_ #define IPC_IPC_PLATFORM_FILE_H_ +#pragma once #include "base/basictypes.h" diff --git a/ipc/ipc_switches.h b/ipc/ipc_switches.h index 143dc3d..dc34eeb 100644 --- a/ipc/ipc_switches.h +++ b/ipc/ipc_switches.h @@ -6,6 +6,7 @@ #ifndef IPC_IPC_SWITCHES_H_ #define IPC_IPC_SWITCHES_H_ +#pragma once #include "base/base_switches.h" diff --git a/ipc/ipc_sync_channel.h b/ipc/ipc_sync_channel.h index 22e69c5..713b868 100644 --- a/ipc/ipc_sync_channel.h +++ b/ipc/ipc_sync_channel.h @@ -4,6 +4,7 @@ #ifndef IPC_IPC_SYNC_SENDER_H__ #define IPC_IPC_SYNC_SENDER_H__ +#pragma once #include <string> #include <deque> diff --git a/ipc/ipc_sync_message.h b/ipc/ipc_sync_message.h index ea6387a4..149fd41 100644 --- a/ipc/ipc_sync_message.h +++ b/ipc/ipc_sync_message.h @@ -4,6 +4,7 @@ #ifndef IPC_IPC_SYNC_MESSAGE_H_ #define IPC_IPC_SYNC_MESSAGE_H_ +#pragma once #if defined(OS_WIN) #include <windows.h> diff --git a/ipc/ipc_sync_message_filter.h b/ipc/ipc_sync_message_filter.h index 87fd612..62303cf 100644 --- a/ipc/ipc_sync_message_filter.h +++ b/ipc/ipc_sync_message_filter.h @@ -4,6 +4,7 @@ #ifndef IPC_IPC_SYNC_MESSAGE_FILTER_H_ #define IPC_IPC_SYNC_MESSAGE_FILTER_H_ +#pragma once #include "base/basictypes.h" #include "base/lock.h" diff --git a/ipc/ipc_tests.h b/ipc/ipc_tests.h index 755dafd..89117ab 100644 --- a/ipc/ipc_tests.h +++ b/ipc/ipc_tests.h @@ -4,6 +4,7 @@ #ifndef IPC_IPC_TESTS_H__ #define IPC_IPC_TESTS_H__ +#pragma once #include "base/multiprocess_test.h" #include "base/process.h" |