diff options
author | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-11 19:01:43 +0000 |
---|---|---|
committer | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-11 19:01:43 +0000 |
commit | 01c86ece0232e9b15bff05f1ee508c7f6bdc2ef0 (patch) | |
tree | ce78aa58908c7bc64bcb3596bd1298b872b85701 /ipc | |
parent | a19317f99fd8f35cd2bf8ebe3d0f34dc71866574 (diff) | |
download | chromium_src-01c86ece0232e9b15bff05f1ee508c7f6bdc2ef0.zip chromium_src-01c86ece0232e9b15bff05f1ee508c7f6bdc2ef0.tar.gz chromium_src-01c86ece0232e9b15bff05f1ee508c7f6bdc2ef0.tar.bz2 |
Remove the rest of #pragma once in one big CL.
For context see this thread:
https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II
TBR=thakis,pkasting,jam
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 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_nacl.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_export.h | 1 | ||||
-rw-r--r-- | ipc/ipc_logging.h | 1 | ||||
-rw-r--r-- | ipc/ipc_message.h | 1 | ||||
-rw-r--r-- | ipc/ipc_message_macros.h | 2 | ||||
-rw-r--r-- | ipc/ipc_message_utils.h | 1 | ||||
-rw-r--r-- | ipc/ipc_multiprocess_test.h | 1 | ||||
-rw-r--r-- | ipc/ipc_param_traits.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_test_sink.h | 1 | ||||
-rw-r--r-- | ipc/ipc_tests.h | 1 | ||||
-rw-r--r-- | ipc/param_traits_log_macros.h | 1 | ||||
-rw-r--r-- | ipc/param_traits_read_macros.h | 1 | ||||
-rw-r--r-- | ipc/param_traits_write_macros.h | 1 |
25 files changed, 1 insertions, 25 deletions
diff --git a/ipc/file_descriptor_set_posix.h b/ipc/file_descriptor_set_posix.h index f7d4ad0..de4c5c6 100644 --- a/ipc/file_descriptor_set_posix.h +++ b/ipc/file_descriptor_set_posix.h @@ -4,7 +4,6 @@ #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 da87797..36e7326 100644 --- a/ipc/ipc_channel.h +++ b/ipc/ipc_channel.h @@ -4,7 +4,6 @@ #ifndef IPC_IPC_CHANNEL_H_ #define IPC_IPC_CHANNEL_H_ -#pragma once #include <string> diff --git a/ipc/ipc_channel_handle.h b/ipc/ipc_channel_handle.h index 7eceebb..1b6fd8c 100644 --- a/ipc/ipc_channel_handle.h +++ b/ipc/ipc_channel_handle.h @@ -4,7 +4,6 @@ #ifndef IPC_IPC_CHANNEL_HANDLE_H_ #define IPC_IPC_CHANNEL_HANDLE_H_ -#pragma once #include <string> diff --git a/ipc/ipc_channel_nacl.h b/ipc/ipc_channel_nacl.h index 4fefe4f..1670658 100644 --- a/ipc/ipc_channel_nacl.h +++ b/ipc/ipc_channel_nacl.h @@ -4,7 +4,6 @@ #ifndef IPC_IPC_CHANNEL_NACL_H_ #define IPC_IPC_CHANNEL_NACL_H_ -#pragma once #include <deque> #include <string> diff --git a/ipc/ipc_channel_posix.h b/ipc/ipc_channel_posix.h index c71370f..38e14ef 100644 --- a/ipc/ipc_channel_posix.h +++ b/ipc/ipc_channel_posix.h @@ -4,7 +4,6 @@ #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 4311054..cce35f7 100644 --- a/ipc/ipc_channel_proxy.h +++ b/ipc/ipc_channel_proxy.h @@ -4,7 +4,6 @@ #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 e8302fe..bffae54 100644 --- a/ipc/ipc_channel_win.h +++ b/ipc/ipc_channel_win.h @@ -4,7 +4,6 @@ #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 4750fa8..5717aa4 100644 --- a/ipc/ipc_descriptors.h +++ b/ipc/ipc_descriptors.h @@ -4,7 +4,6 @@ #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_export.h b/ipc/ipc_export.h index 3c658db..776b3ee 100644 --- a/ipc/ipc_export.h +++ b/ipc/ipc_export.h @@ -4,7 +4,6 @@ #ifndef IPC_IPC_EXPORT_H_ #define IPC_IPC_EXPORT_H_ -#pragma once // Defines IPC_EXPORT so that functionality implemented by the IPC module can be // exported to consumers. diff --git a/ipc/ipc_logging.h b/ipc/ipc_logging.h index 43a1394..720f5e3 100644 --- a/ipc/ipc_logging.h +++ b/ipc/ipc_logging.h @@ -4,7 +4,6 @@ #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 cbb23b0..4603f09 100644 --- a/ipc/ipc_message.h +++ b/ipc/ipc_message.h @@ -4,7 +4,6 @@ #ifndef IPC_IPC_MESSAGE_H_ #define IPC_IPC_MESSAGE_H_ -#pragma once #include <string> diff --git a/ipc/ipc_message_macros.h b/ipc/ipc_message_macros.h index 0ef300e..686655ef 100644 --- a/ipc/ipc_message_macros.h +++ b/ipc/ipc_message_macros.h @@ -76,7 +76,7 @@ // of inclusions of other headers (which are self-guarding) and IPC // macros (which are multiply evaluating). // -// Note that there is no #pragma once either; doing so would mark the whole +// Note that #pragma once cannot be used here; doing so would mark the whole // file as being singly-included. Since your XXX_messages.h file is only // partially-guarded, care must be taken to ensure that it is only included // by other .cc files (and the YYY_message_generator.h file). Including an diff --git a/ipc/ipc_message_utils.h b/ipc/ipc_message_utils.h index 1682e81..3f1d25a 100644 --- a/ipc/ipc_message_utils.h +++ b/ipc/ipc_message_utils.h @@ -4,7 +4,6 @@ #ifndef IPC_IPC_MESSAGE_UTILS_H_ #define IPC_IPC_MESSAGE_UTILS_H_ -#pragma once #include <algorithm> #include <map> diff --git a/ipc/ipc_multiprocess_test.h b/ipc/ipc_multiprocess_test.h index 5364eeb..da920c1 100644 --- a/ipc/ipc_multiprocess_test.h +++ b/ipc/ipc_multiprocess_test.h @@ -4,7 +4,6 @@ #ifndef IPC_IPC_MULTIPROCESS_TEST_H_ #define IPC_IPC_MULTIPROCESS_TEST_H_ -#pragma once #include "base/test/multiprocess_test.h" diff --git a/ipc/ipc_param_traits.h b/ipc/ipc_param_traits.h index e90be18..45e975c 100644 --- a/ipc/ipc_param_traits.h +++ b/ipc/ipc_param_traits.h @@ -4,7 +4,6 @@ #ifndef IPC_IPC_PARAM_TRAITS_H_ #define IPC_IPC_PARAM_TRAITS_H_ -#pragma once // Our IPC system uses the following partially specialized header to define how // a data type is read, written and logged in the IPC system. diff --git a/ipc/ipc_platform_file.h b/ipc/ipc_platform_file.h index daaf21c..c628329 100644 --- a/ipc/ipc_platform_file.h +++ b/ipc/ipc_platform_file.h @@ -4,7 +4,6 @@ #ifndef IPC_IPC_PLATFORM_FILE_H_ #define IPC_IPC_PLATFORM_FILE_H_ -#pragma once #include "base/basictypes.h" #include "base/platform_file.h" diff --git a/ipc/ipc_switches.h b/ipc/ipc_switches.h index 7c7a833..d88afb5 100644 --- a/ipc/ipc_switches.h +++ b/ipc/ipc_switches.h @@ -6,7 +6,6 @@ #ifndef IPC_IPC_SWITCHES_H_ #define IPC_IPC_SWITCHES_H_ -#pragma once #include "ipc/ipc_export.h" diff --git a/ipc/ipc_sync_channel.h b/ipc/ipc_sync_channel.h index dd610ee..87fc1f4 100644 --- a/ipc/ipc_sync_channel.h +++ b/ipc/ipc_sync_channel.h @@ -4,7 +4,6 @@ #ifndef IPC_IPC_SYNC_CHANNEL_H_ #define IPC_IPC_SYNC_CHANNEL_H_ -#pragma once #include <string> #include <deque> diff --git a/ipc/ipc_sync_message.h b/ipc/ipc_sync_message.h index 17a7324..a741591 100644 --- a/ipc/ipc_sync_message.h +++ b/ipc/ipc_sync_message.h @@ -4,7 +4,6 @@ #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 b551f16..dbc2834 100644 --- a/ipc/ipc_sync_message_filter.h +++ b/ipc/ipc_sync_message_filter.h @@ -4,7 +4,6 @@ #ifndef IPC_IPC_SYNC_MESSAGE_FILTER_H_ #define IPC_IPC_SYNC_MESSAGE_FILTER_H_ -#pragma once #include <set> diff --git a/ipc/ipc_test_sink.h b/ipc/ipc_test_sink.h index 1cdac2a..78be9e7 100644 --- a/ipc/ipc_test_sink.h +++ b/ipc/ipc_test_sink.h @@ -4,7 +4,6 @@ #ifndef IPC_IPC_TEST_SINK_H_ #define IPC_IPC_TEST_SINK_H_ -#pragma once #include <utility> #include <vector> diff --git a/ipc/ipc_tests.h b/ipc/ipc_tests.h index f4fa113..76d274c 100644 --- a/ipc/ipc_tests.h +++ b/ipc/ipc_tests.h @@ -4,7 +4,6 @@ #ifndef IPC_IPC_TESTS_H_ #define IPC_IPC_TESTS_H_ -#pragma once #include "base/test/multiprocess_test.h" #include "base/process.h" diff --git a/ipc/param_traits_log_macros.h b/ipc/param_traits_log_macros.h index 4932853..67863ac 100644 --- a/ipc/param_traits_log_macros.h +++ b/ipc/param_traits_log_macros.h @@ -4,7 +4,6 @@ #ifndef IPC_PARAM_TRAITS_LOG_MACROS_H_ #define IPC_PARAM_TRAITS_LOG_MACROS_H_ -#pragma once #include <string> diff --git a/ipc/param_traits_read_macros.h b/ipc/param_traits_read_macros.h index f504cb4..3fc0ad1 100644 --- a/ipc/param_traits_read_macros.h +++ b/ipc/param_traits_read_macros.h @@ -4,7 +4,6 @@ #ifndef IPC_PARAM_TRAITS_READ_MACROS_H_ #define IPC_PARAM_TRAITS_READ_MACROS_H_ -#pragma once // Null out all the macros that need nulling. #include "ipc/ipc_message_null_macros.h" diff --git a/ipc/param_traits_write_macros.h b/ipc/param_traits_write_macros.h index eaa4a3c..dd977cd 100644 --- a/ipc/param_traits_write_macros.h +++ b/ipc/param_traits_write_macros.h @@ -4,7 +4,6 @@ #ifndef IPC_PARAM_TRAITS_WRITE_MACROS_H_ #define IPC_PARAM_TRAITS_WRITE_MACROS_H_ -#pragma once // Null out all the macros that need nulling. #include "ipc/ipc_message_null_macros.h" |