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 /base | |
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 'base')
273 files changed, 0 insertions, 273 deletions
diff --git a/base/allocator/allocator_extension.h b/base/allocator/allocator_extension.h index d63f189..b71fffe 100644 --- a/base/allocator/allocator_extension.h +++ b/base/allocator/allocator_extension.h @@ -4,7 +4,6 @@ #ifndef BASE_ALLOCATOR_ALLOCATOR_EXTENSION_H #define BASE_ALLOCATOR_ALLOCATOR_EXTENSION_H -#pragma once #include "base/allocator/allocator_extension_thunks.h" #include "base/base_export.h" diff --git a/base/allocator/allocator_extension_thunks.h b/base/allocator/allocator_extension_thunks.h index 7c9c231..4a46b45 100644 --- a/base/allocator/allocator_extension_thunks.h +++ b/base/allocator/allocator_extension_thunks.h @@ -4,7 +4,6 @@ #ifndef BASE_ALLOCATOR_ALLOCATOR_THUNKS_EXTENSION_H #define BASE_ALLOCATOR_ALLOCATOR_THUNKS_EXTENSION_H -#pragma once namespace base { namespace allocator { diff --git a/base/android/locale_utils.h b/base/android/locale_utils.h index 35d0015..c7f8f33 100644 --- a/base/android/locale_utils.h +++ b/base/android/locale_utils.h @@ -4,7 +4,6 @@ #ifndef BASE_ANDROID_LOCALE_UTILS_H_ #define BASE_ANDROID_LOCALE_UTILS_H_ -#pragma once #include <jni.h> diff --git a/base/at_exit.h b/base/at_exit.h index 29ea76d..0aa7958 100644 --- a/base/at_exit.h +++ b/base/at_exit.h @@ -4,7 +4,6 @@ #ifndef BASE_AT_EXIT_H_ #define BASE_AT_EXIT_H_ -#pragma once #include <stack> diff --git a/base/atomic_ref_count.h b/base/atomic_ref_count.h index 985c42c..5130860 100644 --- a/base/atomic_ref_count.h +++ b/base/atomic_ref_count.h @@ -10,7 +10,6 @@ #ifndef BASE_ATOMIC_REF_COUNT_H_ #define BASE_ATOMIC_REF_COUNT_H_ -#pragma once #include "base/atomicops.h" #include "base/third_party/dynamic_annotations/dynamic_annotations.h" diff --git a/base/atomic_sequence_num.h b/base/atomic_sequence_num.h index 7cfd4e8..7bf2778 100644 --- a/base/atomic_sequence_num.h +++ b/base/atomic_sequence_num.h @@ -4,7 +4,6 @@ #ifndef BASE_ATOMIC_SEQUENCE_NUM_H_ #define BASE_ATOMIC_SEQUENCE_NUM_H_ -#pragma once #include "base/atomicops.h" #include "base/basictypes.h" diff --git a/base/atomicops.h b/base/atomicops.h index 4300114..a88fdff 100644 --- a/base/atomicops.h +++ b/base/atomicops.h @@ -27,7 +27,6 @@ #ifndef BASE_ATOMICOPS_H_ #define BASE_ATOMICOPS_H_ -#pragma once #include "base/basictypes.h" #include "build/build_config.h" diff --git a/base/atomicops_internals_arm_gcc.h b/base/atomicops_internals_arm_gcc.h index 091b34d..e838f1b 100644 --- a/base/atomicops_internals_arm_gcc.h +++ b/base/atomicops_internals_arm_gcc.h @@ -8,7 +8,6 @@ #ifndef BASE_ATOMICOPS_INTERNALS_ARM_GCC_H_ #define BASE_ATOMICOPS_INTERNALS_ARM_GCC_H_ -#pragma once namespace base { namespace subtle { diff --git a/base/atomicops_internals_atomicword_compat.h b/base/atomicops_internals_atomicword_compat.h index 8382fe1..e02d11d 100644 --- a/base/atomicops_internals_atomicword_compat.h +++ b/base/atomicops_internals_atomicword_compat.h @@ -6,7 +6,6 @@ #ifndef BASE_ATOMICOPS_INTERNALS_ATOMICWORD_COMPAT_H_ #define BASE_ATOMICOPS_INTERNALS_ATOMICWORD_COMPAT_H_ -#pragma once // AtomicWord is a synonym for intptr_t, and Atomic32 is a synonym for int32, // which in turn means int. On some LP32 platforms, intptr_t is an int, but diff --git a/base/atomicops_internals_mips_gcc.h b/base/atomicops_internals_mips_gcc.h index 74854fc..505597e 100644 --- a/base/atomicops_internals_mips_gcc.h +++ b/base/atomicops_internals_mips_gcc.h @@ -8,7 +8,6 @@ #ifndef BASE_ATOMICOPS_INTERNALS_MIPS_GCC_H_ #define BASE_ATOMICOPS_INTERNALS_MIPS_GCC_H_ -#pragma once #define ATOMICOPS_COMPILER_BARRIER() __asm__ __volatile__("" : : : "memory") diff --git a/base/atomicops_internals_x86_gcc.h b/base/atomicops_internals_x86_gcc.h index 72fd350..ac02b17 100644 --- a/base/atomicops_internals_x86_gcc.h +++ b/base/atomicops_internals_x86_gcc.h @@ -6,7 +6,6 @@ #ifndef BASE_ATOMICOPS_INTERNALS_X86_GCC_H_ #define BASE_ATOMICOPS_INTERNALS_X86_GCC_H_ -#pragma once #include "base/base_export.h" diff --git a/base/atomicops_internals_x86_macosx.h b/base/atomicops_internals_x86_macosx.h index 4b7cec8..5de385b 100644 --- a/base/atomicops_internals_x86_macosx.h +++ b/base/atomicops_internals_x86_macosx.h @@ -6,7 +6,6 @@ #ifndef BASE_ATOMICOPS_INTERNALS_X86_MACOSX_H_ #define BASE_ATOMICOPS_INTERNALS_X86_MACOSX_H_ -#pragma once #include <libkern/OSAtomic.h> diff --git a/base/atomicops_internals_x86_msvc.h b/base/atomicops_internals_x86_msvc.h index 1574528..eacbb5e 100644 --- a/base/atomicops_internals_x86_msvc.h +++ b/base/atomicops_internals_x86_msvc.h @@ -6,7 +6,6 @@ #ifndef BASE_ATOMICOPS_INTERNALS_X86_MSVC_H_ #define BASE_ATOMICOPS_INTERNALS_X86_MSVC_H_ -#pragma once #include <windows.h> diff --git a/base/auto_reset.h b/base/auto_reset.h index b9b0e1d..86b60cbd 100644 --- a/base/auto_reset.h +++ b/base/auto_reset.h @@ -4,7 +4,6 @@ #ifndef BASE_AUTO_RESET_H_ #define BASE_AUTO_RESET_H_ -#pragma once #include "base/basictypes.h" diff --git a/base/base64.h b/base/base64.h index df7dc16..983d5e2 100644 --- a/base/base64.h +++ b/base/base64.h @@ -4,7 +4,6 @@ #ifndef BASE_BASE64_H__ #define BASE_BASE64_H__ -#pragma once #include <string> diff --git a/base/base_export.h b/base/base_export.h index 37bbc60..723b38a 100644 --- a/base/base_export.h +++ b/base/base_export.h @@ -4,7 +4,6 @@ #ifndef BASE_BASE_EXPORT_H_ #define BASE_BASE_EXPORT_H_ -#pragma once #if defined(COMPONENT_BUILD) #if defined(WIN32) diff --git a/base/base_paths.h b/base/base_paths.h index f1f3f16..ea62a8b 100644 --- a/base/base_paths.h +++ b/base/base_paths.h @@ -4,7 +4,6 @@ #ifndef BASE_BASE_PATHS_H_ #define BASE_BASE_PATHS_H_ -#pragma once // This file declares path keys for the base module. These can be used with // the PathService to access various special directories and files. diff --git a/base/base_paths_android.h b/base/base_paths_android.h index 2f881fe..8e59b87 100644 --- a/base/base_paths_android.h +++ b/base/base_paths_android.h @@ -4,7 +4,6 @@ #ifndef BASE_BASE_PATHS_ANDROID_H_ #define BASE_BASE_PATHS_ANDROID_H_ -#pragma once // This file declares Android-specific path keys for the base module. // These can be used with the PathService to access various special diff --git a/base/base_paths_mac.h b/base/base_paths_mac.h index cb6fbd0..ac75402 100644 --- a/base/base_paths_mac.h +++ b/base/base_paths_mac.h @@ -4,7 +4,6 @@ #ifndef BASE_BASE_PATHS_MAC_H_ #define BASE_BASE_PATHS_MAC_H_ -#pragma once // This file declares Mac-specific path keys for the base module. // These can be used with the PathService to access various special diff --git a/base/base_paths_win.h b/base/base_paths_win.h index c005bb2..0f1a5a5 100644 --- a/base/base_paths_win.h +++ b/base/base_paths_win.h @@ -4,7 +4,6 @@ #ifndef BASE_BASE_PATHS_WIN_H__ #define BASE_BASE_PATHS_WIN_H__ -#pragma once // This file declares windows-specific path keys for the base module. // These can be used with the PathService to access various special diff --git a/base/base_switches.h b/base/base_switches.h index 288cd78..558a5cf 100644 --- a/base/base_switches.h +++ b/base/base_switches.h @@ -6,7 +6,6 @@ #ifndef BASE_BASE_SWITCHES_H_ #define BASE_BASE_SWITCHES_H_ -#pragma once namespace switches { diff --git a/base/basictypes.h b/base/basictypes.h index a12313e..9681756 100644 --- a/base/basictypes.h +++ b/base/basictypes.h @@ -4,7 +4,6 @@ #ifndef BASE_BASICTYPES_H_ #define BASE_BASICTYPES_H_ -#pragma once #include <limits.h> // So we can set the bounds of our types #include <stddef.h> // For size_t diff --git a/base/bind.h b/base/bind.h index 22a3b4b..5393f88 100644 --- a/base/bind.h +++ b/base/bind.h @@ -9,7 +9,6 @@ #ifndef BASE_BIND_H_ #define BASE_BIND_H_ -#pragma once #include "base/bind_internal.h" #include "base/callback_internal.h" diff --git a/base/bind.h.pump b/base/bind.h.pump index 494d716..aba9b02 100644 --- a/base/bind.h.pump +++ b/base/bind.h.pump @@ -31,7 +31,6 @@ $var MAX_ARITY = 7 #ifndef BASE_BIND_H_ #define BASE_BIND_H_ -#pragma once #include "base/bind_internal.h" #include "base/callback_internal.h" diff --git a/base/bind_helpers.h b/base/bind_helpers.h index ae2a63c..0ac9069 100644 --- a/base/bind_helpers.h +++ b/base/bind_helpers.h @@ -146,7 +146,6 @@ #ifndef BASE_BIND_HELPERS_H_ #define BASE_BIND_HELPERS_H_ -#pragma once #include "base/basictypes.h" #include "base/callback.h" diff --git a/base/bind_internal.h b/base/bind_internal.h index 50ffaa5..4f61ea0 100644 --- a/base/bind_internal.h +++ b/base/bind_internal.h @@ -9,7 +9,6 @@ #ifndef BASE_BIND_INTERNAL_H_ #define BASE_BIND_INTERNAL_H_ -#pragma once #include "base/bind_helpers.h" #include "base/callback_internal.h" diff --git a/base/bind_internal.h.pump b/base/bind_internal.h.pump index 7fd63d8..8e2e249 100644 --- a/base/bind_internal.h.pump +++ b/base/bind_internal.h.pump @@ -15,7 +15,6 @@ $range ARITY 0..MAX_ARITY #ifndef BASE_BIND_INTERNAL_H_ #define BASE_BIND_INTERNAL_H_ -#pragma once #include "base/bind_helpers.h" #include "base/callback_internal.h" diff --git a/base/bind_internal_win.h b/base/bind_internal_win.h index b50361b..7a8486a 100644 --- a/base/bind_internal_win.h +++ b/base/bind_internal_win.h @@ -12,7 +12,6 @@ #ifndef BASE_BIND_INTERNAL_WIN_H_ #define BASE_BIND_INTERNAL_WIN_H_ -#pragma once // In the x64 architecture in Windows, __fastcall, __stdcall, etc, are all // the same as __cdecl which would turn the following specializations into diff --git a/base/bind_internal_win.h.pump b/base/bind_internal_win.h.pump index a557a29..cd108b6 100644 --- a/base/bind_internal_win.h.pump +++ b/base/bind_internal_win.h.pump @@ -17,7 +17,6 @@ $var MAX_ARITY = 7 #ifndef BASE_BIND_INTERNAL_WIN_H_ #define BASE_BIND_INTERNAL_WIN_H_ -#pragma once // In the x64 architecture in Windows, __fastcall, __stdcall, etc, are all // the same as __cdecl which would turn the following specializations into diff --git a/base/bits.h b/base/bits.h index 75f9859..b2209e8 100644 --- a/base/bits.h +++ b/base/bits.h @@ -6,7 +6,6 @@ #ifndef BASE_BITS_H_ #define BASE_BITS_H_ -#pragma once #include "base/basictypes.h" #include "base/logging.h" diff --git a/base/build_time.h b/base/build_time.h index 6d413bc..e7bbb39 100644 --- a/base/build_time.h +++ b/base/build_time.h @@ -4,7 +4,6 @@ #ifndef BASE_BUILD_TIME_ #define BASE_BUILD_TIME_ -#pragma once #include "base/base_export.h" #include "base/time.h" diff --git a/base/callback.h b/base/callback.h index ab8f7bb..b0aa0c3 100644 --- a/base/callback.h +++ b/base/callback.h @@ -9,7 +9,6 @@ #ifndef BASE_CALLBACK_H_ #define BASE_CALLBACK_H_ -#pragma once #include "base/callback_forward.h" #include "base/callback_internal.h" diff --git a/base/callback.h.pump b/base/callback.h.pump index ef65e83..e427f7a8 100644 --- a/base/callback.h.pump +++ b/base/callback.h.pump @@ -14,7 +14,6 @@ $var MAX_ARITY = 7 #ifndef BASE_CALLBACK_H_ #define BASE_CALLBACK_H_ -#pragma once #include "base/callback_forward.h" #include "base/callback_internal.h" diff --git a/base/callback_forward.h b/base/callback_forward.h index 0f62864..7983248 100644 --- a/base/callback_forward.h +++ b/base/callback_forward.h @@ -4,7 +4,6 @@ #ifndef BASE_CALLBACK_FORWARD_H_ #define BASE_CALLBACK_FORWARD_H_ -#pragma once namespace base { diff --git a/base/callback_internal.h b/base/callback_internal.h index 56d88a3..2f834c3 100644 --- a/base/callback_internal.h +++ b/base/callback_internal.h @@ -7,7 +7,6 @@ #ifndef BASE_CALLBACK_INTERNAL_H_ #define BASE_CALLBACK_INTERNAL_H_ -#pragma once #include <stddef.h> diff --git a/base/cancelable_callback.h b/base/cancelable_callback.h index 4de7d12..b781677 100644 --- a/base/cancelable_callback.h +++ b/base/cancelable_callback.h @@ -41,7 +41,6 @@ #ifndef BASE_CANCELABLE_CALLBACK_H_ #define BASE_CANCELABLE_CALLBACK_H_ -#pragma once #include "base/base_export.h" #include "base/bind.h" diff --git a/base/chromeos/chromeos_version.h b/base/chromeos/chromeos_version.h index fc4b242..25acd43 100644 --- a/base/chromeos/chromeos_version.h +++ b/base/chromeos/chromeos_version.h @@ -4,7 +4,6 @@ #ifndef BASE_CHROMEOS_CHROMEOS_VERSION_H_ #define BASE_CHROMEOS_CHROMEOS_VERSION_H_ -#pragma once #include "base/base_export.h" diff --git a/base/command_line.h b/base/command_line.h index 2ae2189..37cc71b 100644 --- a/base/command_line.h +++ b/base/command_line.h @@ -14,7 +14,6 @@ #ifndef BASE_COMMAND_LINE_H_ #define BASE_COMMAND_LINE_H_ -#pragma once #include <stddef.h> #include <map> diff --git a/base/compiler_specific.h b/base/compiler_specific.h index 9e65ae4..64273a9 100644 --- a/base/compiler_specific.h +++ b/base/compiler_specific.h @@ -4,7 +4,6 @@ #ifndef BASE_COMPILER_SPECIFIC_H_ #define BASE_COMPILER_SPECIFIC_H_ -#pragma once #include "build/build_config.h" @@ -4,7 +4,6 @@ #ifndef BASE_CPU_H_ #define BASE_CPU_H_ -#pragma once #include <string> diff --git a/base/debug/alias.h b/base/debug/alias.h index 4946e558..3b2ab64 100644 --- a/base/debug/alias.h +++ b/base/debug/alias.h @@ -4,7 +4,6 @@ #ifndef BASE_DEBUG_ALIAS_H_ #define BASE_DEBUG_ALIAS_H_ -#pragma once #include "base/base_export.h" diff --git a/base/debug/debug_on_start_win.h b/base/debug/debug_on_start_win.h index 86d4721..edcaa0a 100644 --- a/base/debug/debug_on_start_win.h +++ b/base/debug/debug_on_start_win.h @@ -8,7 +8,6 @@ #ifndef BASE_DEBUG_DEBUG_ON_START_WIN_H_ #define BASE_DEBUG_DEBUG_ON_START_WIN_H_ -#pragma once #include "base/basictypes.h" #include "build/build_config.h" diff --git a/base/debug/debugger.h b/base/debug/debugger.h index 489007b..4f368d9 100644 --- a/base/debug/debugger.h +++ b/base/debug/debugger.h @@ -8,7 +8,6 @@ #ifndef BASE_DEBUG_DEBUGGER_H #define BASE_DEBUG_DEBUGGER_H -#pragma once #include "base/base_export.h" diff --git a/base/debug/leak_annotations.h b/base/debug/leak_annotations.h index 5ebf9d8..7da0920 100644 --- a/base/debug/leak_annotations.h +++ b/base/debug/leak_annotations.h @@ -4,7 +4,6 @@ #ifndef BASE_DEBUG_LEAK_ANNOTATIONS_H_ #define BASE_DEBUG_LEAK_ANNOTATIONS_H_ -#pragma once #include "build/build_config.h" diff --git a/base/debug/leak_tracker.h b/base/debug/leak_tracker.h index ec9f5d6..22ded0d 100644 --- a/base/debug/leak_tracker.h +++ b/base/debug/leak_tracker.h @@ -4,7 +4,6 @@ #ifndef BASE_DEBUG_LEAK_TRACKER_H_ #define BASE_DEBUG_LEAK_TRACKER_H_ -#pragma once // Only enable leak tracking in debug builds. #ifndef NDEBUG diff --git a/base/debug/profiler.h b/base/debug/profiler.h index d880324..d703876 100644 --- a/base/debug/profiler.h +++ b/base/debug/profiler.h @@ -4,7 +4,6 @@ #ifndef BASE_DEBUG_PROFILER_H #define BASE_DEBUG_PROFILER_H -#pragma once #include <string> diff --git a/base/debug/stack_trace.h b/base/debug/stack_trace.h index 65421b23..99bb452 100644 --- a/base/debug/stack_trace.h +++ b/base/debug/stack_trace.h @@ -4,7 +4,6 @@ #ifndef BASE_DEBUG_STACK_TRACE_H_ #define BASE_DEBUG_STACK_TRACE_H_ -#pragma once #include <iosfwd> #include <string> diff --git a/base/debug/trace_event.h b/base/debug/trace_event.h index d6ccae7..a82b4a8 100644 --- a/base/debug/trace_event.h +++ b/base/debug/trace_event.h @@ -150,7 +150,6 @@ #ifndef BASE_DEBUG_TRACE_EVENT_H_ #define BASE_DEBUG_TRACE_EVENT_H_ -#pragma once #include <string> diff --git a/base/debug/trace_event_impl.h b/base/debug/trace_event_impl.h index 04aea18..ca711db 100644 --- a/base/debug/trace_event_impl.h +++ b/base/debug/trace_event_impl.h @@ -5,7 +5,6 @@ #ifndef BASE_DEBUG_TRACE_EVENT_IMPL_H_ #define BASE_DEBUG_TRACE_EVENT_IMPL_H_ -#pragma once #include "build/build_config.h" diff --git a/base/debug/trace_event_win.h b/base/debug/trace_event_win.h index 3da95ea..2a900bb 100644 --- a/base/debug/trace_event_win.h +++ b/base/debug/trace_event_win.h @@ -5,7 +5,6 @@ // This file contains the Windows-specific declarations for trace_event.h. #ifndef BASE_DEBUG_TRACE_EVENT_WIN_H_ #define BASE_DEBUG_TRACE_EVENT_WIN_H_ -#pragma once #include <string> diff --git a/base/eintr_wrapper.h b/base/eintr_wrapper.h index 3d52760..a1b7f7b 100644 --- a/base/eintr_wrapper.h +++ b/base/eintr_wrapper.h @@ -9,7 +9,6 @@ #ifndef BASE_EINTR_WRAPPER_H_ #define BASE_EINTR_WRAPPER_H_ -#pragma once #include "build/build_config.h" diff --git a/base/environment.h b/base/environment.h index 8a31e07..5160ff2 100644 --- a/base/environment.h +++ b/base/environment.h @@ -4,7 +4,6 @@ #ifndef BASE_ENVIRONMENT_H_ #define BASE_ENVIRONMENT_H_ -#pragma once #include <string> diff --git a/base/event_recorder.h b/base/event_recorder.h index 75a738e..32e1124 100644 --- a/base/event_recorder.h +++ b/base/event_recorder.h @@ -4,7 +4,6 @@ #ifndef BASE_EVENT_RECORDER_H_ #define BASE_EVENT_RECORDER_H_ -#pragma once #include "base/base_export.h" #include "base/basictypes.h" diff --git a/base/event_types.h b/base/event_types.h index 3a3b6d2..af586e4 100644 --- a/base/event_types.h +++ b/base/event_types.h @@ -4,7 +4,6 @@ #ifndef BASE_EVENT_TYPES_H #define BASE_EVENT_TYPES_H -#pragma once #include "build/build_config.h" diff --git a/base/file_descriptor_posix.h b/base/file_descriptor_posix.h index 6f46ab49..abc0789 100644 --- a/base/file_descriptor_posix.h +++ b/base/file_descriptor_posix.h @@ -4,7 +4,6 @@ #ifndef BASE_FILE_DESCRIPTOR_POSIX_H_ #define BASE_FILE_DESCRIPTOR_POSIX_H_ -#pragma once namespace base { diff --git a/base/file_descriptor_shuffle.h b/base/file_descriptor_shuffle.h index 61aac69..5740bfa 100644 --- a/base/file_descriptor_shuffle.h +++ b/base/file_descriptor_shuffle.h @@ -4,7 +4,6 @@ #ifndef BASE_FILE_DESCRIPTOR_SHUFFLE_H_ #define BASE_FILE_DESCRIPTOR_SHUFFLE_H_ -#pragma once // This code exists to perform the shuffling of file descriptors which is // commonly needed when forking subprocesses. The naive approve is very simple, diff --git a/base/file_path.h b/base/file_path.h index b90056b..3770a8e 100644 --- a/base/file_path.h +++ b/base/file_path.h @@ -99,7 +99,6 @@ #ifndef BASE_FILE_PATH_H_ #define BASE_FILE_PATH_H_ -#pragma once #include <stddef.h> #include <string> diff --git a/base/file_util.h b/base/file_util.h index dec95d6..0f5af2d 100644 --- a/base/file_util.h +++ b/base/file_util.h @@ -7,7 +7,6 @@ #ifndef BASE_FILE_UTIL_H_ #define BASE_FILE_UTIL_H_ -#pragma once #include "build/build_config.h" diff --git a/base/file_version_info.h b/base/file_version_info.h index b41dc63..84eec41 100644 --- a/base/file_version_info.h +++ b/base/file_version_info.h @@ -4,7 +4,6 @@ #ifndef BASE_FILE_VERSION_INFO_H__ #define BASE_FILE_VERSION_INFO_H__ -#pragma once #include "build/build_config.h" diff --git a/base/file_version_info_mac.h b/base/file_version_info_mac.h index 3560fea..0ab3296 100644 --- a/base/file_version_info_mac.h +++ b/base/file_version_info_mac.h @@ -4,7 +4,6 @@ #ifndef BASE_FILE_VERSION_INFO_MAC_H_ #define BASE_FILE_VERSION_INFO_MAC_H_ -#pragma once #include <string> diff --git a/base/file_version_info_win.h b/base/file_version_info_win.h index 1e440317..a378577 100644 --- a/base/file_version_info_win.h +++ b/base/file_version_info_win.h @@ -4,7 +4,6 @@ #ifndef BASE_FILE_VERSION_INFO_WIN_H_ #define BASE_FILE_VERSION_INFO_WIN_H_ -#pragma once #include <string> diff --git a/base/files/dir_reader_fallback.h b/base/files/dir_reader_fallback.h index f236295..a435f25 100644 --- a/base/files/dir_reader_fallback.h +++ b/base/files/dir_reader_fallback.h @@ -4,7 +4,6 @@ #ifndef BASE_FILES_DIR_READER_FALLBACK_H_ #define BASE_FILES_DIR_READER_FALLBACK_H_ -#pragma once namespace base { diff --git a/base/files/dir_reader_linux.h b/base/files/dir_reader_linux.h index 2352273..8dd3530 100644 --- a/base/files/dir_reader_linux.h +++ b/base/files/dir_reader_linux.h @@ -4,7 +4,6 @@ #ifndef BASE_FILES_DIR_READER_LINUX_H_ #define BASE_FILES_DIR_READER_LINUX_H_ -#pragma once #include <errno.h> #include <fcntl.h> diff --git a/base/files/dir_reader_posix.h b/base/files/dir_reader_posix.h index 9d77d47..6a20ced 100644 --- a/base/files/dir_reader_posix.h +++ b/base/files/dir_reader_posix.h @@ -4,7 +4,6 @@ #ifndef BASE_FILES_DIR_READER_POSIX_H_ #define BASE_FILES_DIR_READER_POSIX_H_ -#pragma once #include "build/build_config.h" diff --git a/base/files/file_path_watcher.h b/base/files/file_path_watcher.h index 5919994..367be94 100644 --- a/base/files/file_path_watcher.h +++ b/base/files/file_path_watcher.h @@ -6,7 +6,6 @@ #ifndef BASE_FILES_FILE_PATH_WATCHER_H_ #define BASE_FILES_FILE_PATH_WATCHER_H_ -#pragma once #include "base/base_export.h" #include "base/basictypes.h" diff --git a/base/float_util.h b/base/float_util.h index 5349782..39b9202 100644 --- a/base/float_util.h +++ b/base/float_util.h @@ -4,7 +4,6 @@ #ifndef BASE_FLOAT_UTIL_H_ #define BASE_FLOAT_UTIL_H_ -#pragma once #include "build/build_config.h" diff --git a/base/format_macros.h b/base/format_macros.h index 3afad59..466d79b 100644 --- a/base/format_macros.h +++ b/base/format_macros.h @@ -4,7 +4,6 @@ #ifndef BASE_FORMAT_MACROS_H_ #define BASE_FORMAT_MACROS_H_ -#pragma once // This file defines the format macros for some integer types. diff --git a/base/global_descriptors_posix.h b/base/global_descriptors_posix.h index 988809e..4739923 100644 --- a/base/global_descriptors_posix.h +++ b/base/global_descriptors_posix.h @@ -4,7 +4,6 @@ #ifndef BASE_GLOBAL_DESCRIPTORS_POSIX_H_ #define BASE_GLOBAL_DESCRIPTORS_POSIX_H_ -#pragma once #include "build/build_config.h" diff --git a/base/gtest_prod_util.h b/base/gtest_prod_util.h index 38a72b4..1f0ce61 100644 --- a/base/gtest_prod_util.h +++ b/base/gtest_prod_util.h @@ -4,7 +4,6 @@ #ifndef BASE_GTEST_PROD_UTIL_H_ #define BASE_GTEST_PROD_UTIL_H_ -#pragma once #include "testing/gtest/include/gtest/gtest_prod.h" diff --git a/base/guid.h b/base/guid.h index 20f7706..468b65f 100644 --- a/base/guid.h +++ b/base/guid.h @@ -4,7 +4,6 @@ #ifndef BASE_GUID_H_ #define BASE_GUID_H_ -#pragma once #include <string> diff --git a/base/hash_tables.h b/base/hash_tables.h index b91d5d4..14119ed 100644 --- a/base/hash_tables.h +++ b/base/hash_tables.h @@ -20,7 +20,6 @@ #ifndef BASE_HASH_TABLES_H_ #define BASE_HASH_TABLES_H_ -#pragma once #include "build/build_config.h" diff --git a/base/hi_res_timer_manager.h b/base/hi_res_timer_manager.h index 690e89e..1bd5538 100644 --- a/base/hi_res_timer_manager.h +++ b/base/hi_res_timer_manager.h @@ -4,7 +4,6 @@ #ifndef BASE_HI_RES_TIMER_MANAGER_H_ #define BASE_HI_RES_TIMER_MANAGER_H_ -#pragma once #include "base/base_export.h" #include "base/system_monitor/system_monitor.h" diff --git a/base/i18n/base_i18n_export.h b/base/i18n/base_i18n_export.h index f21b55b..e8a2add 100644 --- a/base/i18n/base_i18n_export.h +++ b/base/i18n/base_i18n_export.h @@ -4,7 +4,6 @@ #ifndef BASE_I18N_BASE_I18N_EXPORT_H_ #define BASE_I18N_BASE_I18N_EXPORT_H_ -#pragma once #if defined(COMPONENT_BUILD) #if defined(WIN32) diff --git a/base/i18n/bidi_line_iterator.h b/base/i18n/bidi_line_iterator.h index 3beddf2..c1dc0ca 100644 --- a/base/i18n/bidi_line_iterator.h +++ b/base/i18n/bidi_line_iterator.h @@ -4,7 +4,6 @@ #ifndef BASE_I18N_BIDI_LINE_ITERATOR_H_ #define BASE_I18N_BIDI_LINE_ITERATOR_H_ -#pragma once #include "unicode/ubidi.h" diff --git a/base/i18n/break_iterator.h b/base/i18n/break_iterator.h index 3207256..ec6864e 100644 --- a/base/i18n/break_iterator.h +++ b/base/i18n/break_iterator.h @@ -4,7 +4,6 @@ #ifndef BASE_I18N_BREAK_ITERATOR_H_ #define BASE_I18N_BREAK_ITERATOR_H_ -#pragma once #include "base/basictypes.h" #include "base/string16.h" diff --git a/base/i18n/case_conversion.h b/base/i18n/case_conversion.h index c8d84f8..14fef00 100644 --- a/base/i18n/case_conversion.h +++ b/base/i18n/case_conversion.h @@ -4,7 +4,6 @@ #ifndef BASE_I18N_CASE_CONVERSION_H_ #define BASE_I18N_CASE_CONVERSION_H_ -#pragma once #include "base/i18n/base_i18n_export.h" #include "base/string16.h" diff --git a/base/i18n/char_iterator.h b/base/i18n/char_iterator.h index ab2af3c..431e350 100644 --- a/base/i18n/char_iterator.h +++ b/base/i18n/char_iterator.h @@ -4,7 +4,6 @@ #ifndef BASE_I18N_CHAR_ITERATOR_H_ #define BASE_I18N_CHAR_ITERATOR_H_ -#pragma once #include <string> diff --git a/base/i18n/file_util_icu.h b/base/i18n/file_util_icu.h index 20435e7..4672135 100644 --- a/base/i18n/file_util_icu.h +++ b/base/i18n/file_util_icu.h @@ -4,7 +4,6 @@ #ifndef BASE_I18N_FILE_UTIL_ICU_H_ #define BASE_I18N_FILE_UTIL_ICU_H_ -#pragma once // File utilities that use the ICU library go in this file. diff --git a/base/i18n/icu_encoding_detection.h b/base/i18n/icu_encoding_detection.h index c97d45a..6d1e71c 100644 --- a/base/i18n/icu_encoding_detection.h +++ b/base/i18n/icu_encoding_detection.h @@ -4,7 +4,6 @@ #ifndef BASE_I18N_ICU_ENCODING_DETECTION_H_ #define BASE_I18N_ICU_ENCODING_DETECTION_H_ -#pragma once #include <string> #include <vector> diff --git a/base/i18n/icu_string_conversions.h b/base/i18n/icu_string_conversions.h index b29d7b7..31a57df 100644 --- a/base/i18n/icu_string_conversions.h +++ b/base/i18n/icu_string_conversions.h @@ -4,7 +4,6 @@ #ifndef BASE_I18N_ICU_STRING_CONVERSIONS_H_ #define BASE_I18N_ICU_STRING_CONVERSIONS_H_ -#pragma once #include <string> diff --git a/base/i18n/icu_util.h b/base/i18n/icu_util.h index f9f0530..f6356f1 100644 --- a/base/i18n/icu_util.h +++ b/base/i18n/icu_util.h @@ -4,7 +4,6 @@ #ifndef BASE_I18N_ICU_UTIL_H_ #define BASE_I18N_ICU_UTIL_H_ -#pragma once #include "base/i18n/base_i18n_export.h" diff --git a/base/i18n/number_formatting.h b/base/i18n/number_formatting.h index 52d276c..cfc4e12 100644 --- a/base/i18n/number_formatting.h +++ b/base/i18n/number_formatting.h @@ -4,7 +4,6 @@ #ifndef BASE_I18N_NUMBER_FORMATTING_H_ #define BASE_I18N_NUMBER_FORMATTING_H_ -#pragma once #include "base/basictypes.h" #include "base/i18n/base_i18n_export.h" diff --git a/base/i18n/rtl.h b/base/i18n/rtl.h index e6c4452..b1acfb3 100644 --- a/base/i18n/rtl.h +++ b/base/i18n/rtl.h @@ -4,7 +4,6 @@ #ifndef BASE_I18N_RTL_H_ #define BASE_I18N_RTL_H_ -#pragma once #include <string> diff --git a/base/i18n/string_search.h b/base/i18n/string_search.h index 6602451..e198890 100644 --- a/base/i18n/string_search.h +++ b/base/i18n/string_search.h @@ -4,7 +4,6 @@ #ifndef BASE_I18N_STRING_SEARCH_H_ #define BASE_I18N_STRING_SEARCH_H_ -#pragma once #include "base/i18n/base_i18n_export.h" #include "base/string16.h" diff --git a/base/i18n/time_formatting.h b/base/i18n/time_formatting.h index 3c2c5b1..91b79c6 100644 --- a/base/i18n/time_formatting.h +++ b/base/i18n/time_formatting.h @@ -7,7 +7,6 @@ #ifndef BASE_I18N_TIME_FORMATTING_H_ #define BASE_I18N_TIME_FORMATTING_H_ -#pragma once #include "base/i18n/base_i18n_export.h" #include "base/string16.h" diff --git a/base/id_map.h b/base/id_map.h index 5aea98e..d3f23aa 100644 --- a/base/id_map.h +++ b/base/id_map.h @@ -4,7 +4,6 @@ #ifndef BASE_ID_MAP_H_ #define BASE_ID_MAP_H_ -#pragma once #include <set> diff --git a/base/json/json_file_value_serializer.h b/base/json/json_file_value_serializer.h index f92e776..633db5d 100644 --- a/base/json/json_file_value_serializer.h +++ b/base/json/json_file_value_serializer.h @@ -4,7 +4,6 @@ #ifndef BASE_JSON_JSON_FILE_VALUE_SERIALIZER_H_ #define BASE_JSON_JSON_FILE_VALUE_SERIALIZER_H_ -#pragma once #include <string> diff --git a/base/json/json_parser.h b/base/json/json_parser.h index 56e49a2..ae927a3 100644 --- a/base/json/json_parser.h +++ b/base/json/json_parser.h @@ -4,7 +4,6 @@ #ifndef BASE_JSON_JSON_PARSER_H_ #define BASE_JSON_JSON_PARSER_H_ -#pragma once #include <string> diff --git a/base/json/json_reader.h b/base/json/json_reader.h index a11102f..86b2612 100644 --- a/base/json/json_reader.h +++ b/base/json/json_reader.h @@ -27,7 +27,6 @@ #ifndef BASE_JSON_JSON_READER_H_ #define BASE_JSON_JSON_READER_H_ -#pragma once #include <string> diff --git a/base/json/json_string_value_serializer.h b/base/json/json_string_value_serializer.h index f867e3e..8c94dfb 100644 --- a/base/json/json_string_value_serializer.h +++ b/base/json/json_string_value_serializer.h @@ -4,7 +4,6 @@ #ifndef BASE_JSON_JSON_STRING_VALUE_SERIALIZER_H_
#define BASE_JSON_JSON_STRING_VALUE_SERIALIZER_H_
-#pragma once
#include <string>
diff --git a/base/json/json_value_converter.h b/base/json/json_value_converter.h index ff4271d..2d605e4 100644 --- a/base/json/json_value_converter.h +++ b/base/json/json_value_converter.h @@ -4,7 +4,6 @@ #ifndef BASE_JSON_JSON_VALUE_CONVERTER_H_ #define BASE_JSON_JSON_VALUE_CONVERTER_H_ -#pragma once #include <string> #include <vector> diff --git a/base/json/json_writer.h b/base/json/json_writer.h index d27fd6b..94052c8 100644 --- a/base/json/json_writer.h +++ b/base/json/json_writer.h @@ -4,7 +4,6 @@ #ifndef BASE_JSON_JSON_WRITER_H_ #define BASE_JSON_JSON_WRITER_H_ -#pragma once #include <string> diff --git a/base/json/string_escape.h b/base/json/string_escape.h index 1c79ab5..088db62 100644 --- a/base/json/string_escape.h +++ b/base/json/string_escape.h @@ -6,7 +6,6 @@ #ifndef BASE_JSON_STRING_ESCAPE_H_ #define BASE_JSON_STRING_ESCAPE_H_ -#pragma once #include <string> diff --git a/base/lazy_instance.h b/base/lazy_instance.h index c428feb..7021829 100644 --- a/base/lazy_instance.h +++ b/base/lazy_instance.h @@ -34,7 +34,6 @@ #ifndef BASE_LAZY_INSTANCE_H_ #define BASE_LAZY_INSTANCE_H_ -#pragma once #include <new> // For placement new. diff --git a/base/linked_list.h b/base/linked_list.h index d91a1f8..70e9056 100644 --- a/base/linked_list.h +++ b/base/linked_list.h @@ -4,7 +4,6 @@ #ifndef BASE_LINKED_LIST_H_ #define BASE_LINKED_LIST_H_ -#pragma once // Simple LinkedList type. (See the Q&A section to understand how this // differs from std::list). diff --git a/base/linux_util.h b/base/linux_util.h index 02605bc..3009a65 100644 --- a/base/linux_util.h +++ b/base/linux_util.h @@ -4,7 +4,6 @@ #ifndef BASE_LINUX_UTIL_H_ #define BASE_LINUX_UTIL_H_ -#pragma once #include <stdint.h> #include <sys/types.h> diff --git a/base/logging.h b/base/logging.h index cac520a..46eca37 100644 --- a/base/logging.h +++ b/base/logging.h @@ -4,7 +4,6 @@ #ifndef BASE_LOGGING_H_ #define BASE_LOGGING_H_ -#pragma once #include <cassert> #include <string> diff --git a/base/logging_win.h b/base/logging_win.h index 4457569..0720231 100644 --- a/base/logging_win.h +++ b/base/logging_win.h @@ -4,7 +4,6 @@ #ifndef BASE_LOGGING_WIN_H_ #define BASE_LOGGING_WIN_H_ -#pragma once #include <string> diff --git a/base/mac/authorization_util.h b/base/mac/authorization_util.h index 68baabb..b34348d 100644 --- a/base/mac/authorization_util.h +++ b/base/mac/authorization_util.h @@ -4,7 +4,6 @@ #ifndef BASE_MAC_AUTHORIZATION_UTIL_H_ #define BASE_MAC_AUTHORIZATION_UTIL_H_ -#pragma once // AuthorizationExecuteWithPrivileges fork()s and exec()s the tool, but it // does not wait() for it. It also doesn't provide the caller with access to diff --git a/base/mac/bundle_locations.h b/base/mac/bundle_locations.h index 00ca05d..dd84b59 100644 --- a/base/mac/bundle_locations.h +++ b/base/mac/bundle_locations.h @@ -4,7 +4,6 @@ #ifndef BASE_MAC_BUNDLE_LOCATIONS_H_ #define BASE_MAC_BUNDLE_LOCATIONS_H_ -#pragma once #include "base/base_export.h" #include "base/file_path.h" diff --git a/base/mac/closure_blocks_leopard_compat.h b/base/mac/closure_blocks_leopard_compat.h index c150dcd..858584a 100644 --- a/base/mac/closure_blocks_leopard_compat.h +++ b/base/mac/closure_blocks_leopard_compat.h @@ -4,7 +4,6 @@ #ifndef BASE_MAC_CLOSURE_BLOCKS_LEOPARD_COMPAT_H_ #define BASE_MAC_CLOSURE_BLOCKS_LEOPARD_COMPAT_H_ -#pragma once // libclosure (blocks) compatibility for Mac OS X 10.5 (Leopard) // diff --git a/base/mac/cocoa_protocols.h b/base/mac/cocoa_protocols.h index d6cb614..8865d10 100644 --- a/base/mac/cocoa_protocols.h +++ b/base/mac/cocoa_protocols.h @@ -4,7 +4,6 @@ #ifndef BASE_COCOA_PROTOCOLS_MAC_H_ #define BASE_COCOA_PROTOCOLS_MAC_H_ -#pragma once #import <Cocoa/Cocoa.h> diff --git a/base/mac/foundation_util.h b/base/mac/foundation_util.h index 186659f..64adb8b 100644 --- a/base/mac/foundation_util.h +++ b/base/mac/foundation_util.h @@ -4,7 +4,6 @@ #ifndef BASE_MAC_FOUNDATION_UTIL_H_ #define BASE_MAC_FOUNDATION_UTIL_H_ -#pragma once #include <CoreFoundation/CoreFoundation.h> diff --git a/base/mac/launchd.h b/base/mac/launchd.h index e38bf51..9e4514e 100644 --- a/base/mac/launchd.h +++ b/base/mac/launchd.h @@ -4,7 +4,6 @@ #ifndef BASE_MAC_LAUNCHD_H_ #define BASE_MAC_LAUNCHD_H_ -#pragma once #include <launch.h> #include <sys/types.h> diff --git a/base/mac/mac_logging.h b/base/mac/mac_logging.h index 7db601c..9a0003e 100644 --- a/base/mac/mac_logging.h +++ b/base/mac/mac_logging.h @@ -4,7 +4,6 @@ #ifndef BASE_MAC_MAC_LOGGING_H_ #define BASE_MAC_MAC_LOGGING_H_ -#pragma once #include "base/logging.h" #include "build/build_config.h" diff --git a/base/mac/mac_util.h b/base/mac/mac_util.h index a308ccd..a4053fd 100644 --- a/base/mac/mac_util.h +++ b/base/mac/mac_util.h @@ -4,7 +4,6 @@ #ifndef BASE_MAC_MAC_UTIL_H_ #define BASE_MAC_MAC_UTIL_H_ -#pragma once #include <AvailabilityMacros.h> #include <Carbon/Carbon.h> diff --git a/base/mac/objc_property_releaser.h b/base/mac/objc_property_releaser.h index 0772c43..973d793 100644 --- a/base/mac/objc_property_releaser.h +++ b/base/mac/objc_property_releaser.h @@ -4,7 +4,6 @@ #ifndef BASE_MAC_OBJC_PROPERTY_RELEASER_H_ #define BASE_MAC_OBJC_PROPERTY_RELEASER_H_ -#pragma once #import <Foundation/Foundation.h> diff --git a/base/mac/scoped_aedesc.h b/base/mac/scoped_aedesc.h index 83a38c6..a1323c0 100644 --- a/base/mac/scoped_aedesc.h +++ b/base/mac/scoped_aedesc.h @@ -4,7 +4,6 @@ #ifndef BASE_MAC_SCOPED_AEDESC_H_ #define BASE_MAC_SCOPED_AEDESC_H_ -#pragma once #import <CoreServices/CoreServices.h> diff --git a/base/mac/scoped_authorizationref.h b/base/mac/scoped_authorizationref.h index 28ebce9..6413f2e 100644 --- a/base/mac/scoped_authorizationref.h +++ b/base/mac/scoped_authorizationref.h @@ -4,7 +4,6 @@ #ifndef BASE_MAC_SCOPED_AUTHORIZATIONREF_H_ #define BASE_MAC_SCOPED_AUTHORIZATIONREF_H_ -#pragma once #include <Security/Authorization.h> diff --git a/base/mac/scoped_cftyperef.h b/base/mac/scoped_cftyperef.h index ae008fb..c6ca46a 100644 --- a/base/mac/scoped_cftyperef.h +++ b/base/mac/scoped_cftyperef.h @@ -4,7 +4,6 @@ #ifndef BASE_MAC_SCOPED_CFTYPEREF_H_ #define BASE_MAC_SCOPED_CFTYPEREF_H_ -#pragma once #include <CoreFoundation/CoreFoundation.h> diff --git a/base/mac/scoped_ioobject.h b/base/mac/scoped_ioobject.h index 9c4ebe2..854039b 100644 --- a/base/mac/scoped_ioobject.h +++ b/base/mac/scoped_ioobject.h @@ -4,7 +4,6 @@ #ifndef BASE_MAC_SCOPED_IOOBJECT_H_ #define BASE_MAC_SCOPED_IOOBJECT_H_ -#pragma once #include <IOKit/IOKitLib.h> diff --git a/base/mac/scoped_launch_data.h b/base/mac/scoped_launch_data.h index 955c3e7..e4343b8 100644 --- a/base/mac/scoped_launch_data.h +++ b/base/mac/scoped_launch_data.h @@ -4,7 +4,6 @@ #ifndef BASE_MAC_SCOPED_LAUNCH_DATA_H_ #define BASE_MAC_SCOPED_LAUNCH_DATA_H_ -#pragma once #include <launch.h> diff --git a/base/mac/scoped_nsautorelease_pool.h b/base/mac/scoped_nsautorelease_pool.h index 06122b6..60af71a 100644 --- a/base/mac/scoped_nsautorelease_pool.h +++ b/base/mac/scoped_nsautorelease_pool.h @@ -4,7 +4,6 @@ #ifndef BASE_MAC_SCOPED_NSAUTORELEASE_POOL_H_ #define BASE_MAC_SCOPED_NSAUTORELEASE_POOL_H_ -#pragma once #include "base/base_export.h" #include "base/basictypes.h" diff --git a/base/mac/scoped_nsexception_enabler.h b/base/mac/scoped_nsexception_enabler.h index 92339df..e1d0b3c 100644 --- a/base/mac/scoped_nsexception_enabler.h +++ b/base/mac/scoped_nsexception_enabler.h @@ -4,7 +4,6 @@ #ifndef BASE_MAC_SCOPED_NSEXCEPTION_ENABLER_H_ #define BASE_MAC_SCOPED_NSEXCEPTION_ENABLER_H_ -#pragma once #import <Foundation/Foundation.h> diff --git a/base/mac/scoped_sending_event.h b/base/mac/scoped_sending_event.h index a8eaed3..f7637bb 100644 --- a/base/mac/scoped_sending_event.h +++ b/base/mac/scoped_sending_event.h @@ -4,7 +4,6 @@ #ifndef BASE_MAC_SCOPED_SENDING_EVENT_H_ #define BASE_MAC_SCOPED_SENDING_EVENT_H_ -#pragma once #include "base/base_export.h" #include "base/basictypes.h" diff --git a/base/mach_ipc_mac.h b/base/mach_ipc_mac.h index d0898a3..1730d37 100644 --- a/base/mach_ipc_mac.h +++ b/base/mach_ipc_mac.h @@ -4,7 +4,6 @@ #ifndef BASE_MACH_IPC_MAC_H_ #define BASE_MACH_IPC_MAC_H_ -#pragma once #include <mach/mach.h> #include <mach/message.h> @@ -4,7 +4,6 @@ #ifndef BASE_MD5_H_ #define BASE_MD5_H_ -#pragma once #include "base/base_export.h" #include "base/string_piece.h" diff --git a/base/memory/aligned_memory.h b/base/memory/aligned_memory.h index dc9db90..0a17634 100644 --- a/base/memory/aligned_memory.h +++ b/base/memory/aligned_memory.h @@ -21,7 +21,6 @@ #ifndef BASE_MEMORY_ALIGNED_MEMORY_H_ #define BASE_MEMORY_ALIGNED_MEMORY_H_ -#pragma once #include "base/basictypes.h" #include "base/compiler_specific.h" diff --git a/base/memory/linked_ptr.h b/base/memory/linked_ptr.h index 41931d8..80044ad 100644 --- a/base/memory/linked_ptr.h +++ b/base/memory/linked_ptr.h @@ -36,7 +36,6 @@ #ifndef BASE_MEMORY_LINKED_PTR_H_ #define BASE_MEMORY_LINKED_PTR_H_ -#pragma once #include "base/logging.h" // for CHECK macros diff --git a/base/memory/mru_cache.h b/base/memory/mru_cache.h index 29db3cf..915d2b5 100644 --- a/base/memory/mru_cache.h +++ b/base/memory/mru_cache.h @@ -15,7 +15,6 @@ #ifndef BASE_MEMORY_MRU_CACHE_H_ #define BASE_MEMORY_MRU_CACHE_H_ -#pragma once #include <list> #include <map> diff --git a/base/memory/raw_scoped_refptr_mismatch_checker.h b/base/memory/raw_scoped_refptr_mismatch_checker.h index a4a50c3..7974f30 100644 --- a/base/memory/raw_scoped_refptr_mismatch_checker.h +++ b/base/memory/raw_scoped_refptr_mismatch_checker.h @@ -4,7 +4,6 @@ #ifndef BASE_MEMORY_RAW_SCOPED_REFPTR_MISMATCH_CHECKER_H_ #define BASE_MEMORY_RAW_SCOPED_REFPTR_MISMATCH_CHECKER_H_ -#pragma once #include "base/memory/ref_counted.h" #include "base/template_util.h" diff --git a/base/memory/ref_counted.h b/base/memory/ref_counted.h index ce0d94a..255ede5 100644 --- a/base/memory/ref_counted.h +++ b/base/memory/ref_counted.h @@ -4,7 +4,6 @@ #ifndef BASE_MEMORY_REF_COUNTED_H_ #define BASE_MEMORY_REF_COUNTED_H_ -#pragma once #include <cassert> diff --git a/base/memory/ref_counted_memory.h b/base/memory/ref_counted_memory.h index 9c863c6..9edcd6f 100644 --- a/base/memory/ref_counted_memory.h +++ b/base/memory/ref_counted_memory.h @@ -4,7 +4,6 @@ #ifndef BASE_MEMORY_REF_COUNTED_MEMORY_H_ #define BASE_MEMORY_REF_COUNTED_MEMORY_H_ -#pragma once #include <string> #include <vector> diff --git a/base/memory/scoped_generic_obj.h b/base/memory/scoped_generic_obj.h index b4f28cf..4b3cb86 100644 --- a/base/memory/scoped_generic_obj.h +++ b/base/memory/scoped_generic_obj.h @@ -4,7 +4,6 @@ #ifndef BASE_MEMORY_SCOPED_GENERIC_OBJ_H_ #define BASE_MEMORY_SCOPED_GENERIC_OBJ_H_ -#pragma once #include "base/basictypes.h" #include "base/compiler_specific.h" diff --git a/base/memory/scoped_handle.h b/base/memory/scoped_handle.h index 232d83e..b95559d 100644 --- a/base/memory/scoped_handle.h +++ b/base/memory/scoped_handle.h @@ -4,7 +4,6 @@ #ifndef BASE_MEMORY_SCOPED_HANDLE_H_ #define BASE_MEMORY_SCOPED_HANDLE_H_ -#pragma once #include <stdio.h> diff --git a/base/memory/scoped_nsobject.h b/base/memory/scoped_nsobject.h index 57486cb..0656dbe 100644 --- a/base/memory/scoped_nsobject.h +++ b/base/memory/scoped_nsobject.h @@ -4,7 +4,6 @@ #ifndef BASE_MEMORY_SCOPED_NSOBJECT_H_ #define BASE_MEMORY_SCOPED_NSOBJECT_H_ -#pragma once #import <Foundation/Foundation.h> #include "base/basictypes.h" diff --git a/base/memory/scoped_open_process.h b/base/memory/scoped_open_process.h index d5bdd95..93ba387 100644 --- a/base/memory/scoped_open_process.h +++ b/base/memory/scoped_open_process.h @@ -4,7 +4,6 @@ #ifndef BASE_MEMORY_SCOPED_OPEN_PROCESS_H_ #define BASE_MEMORY_SCOPED_OPEN_PROCESS_H_ -#pragma once #include "base/process.h" #include "base/process_util.h" diff --git a/base/memory/scoped_policy.h b/base/memory/scoped_policy.h index 4418701..5dbf204 100644 --- a/base/memory/scoped_policy.h +++ b/base/memory/scoped_policy.h @@ -4,7 +4,6 @@ #ifndef BASE_MEMORY_SCOPED_POLICY_H_ #define BASE_MEMORY_SCOPED_POLICY_H_ -#pragma once namespace base { namespace scoped_policy { diff --git a/base/memory/scoped_ptr.h b/base/memory/scoped_ptr.h index 8e4ff62..fab6c7e 100644 --- a/base/memory/scoped_ptr.h +++ b/base/memory/scoped_ptr.h @@ -86,7 +86,6 @@ #ifndef BASE_MEMORY_SCOPED_PTR_H_ #define BASE_MEMORY_SCOPED_PTR_H_ -#pragma once // This is an implementation designed to match the anticipated future TR2 // implementation of the scoped_ptr class, and its closely-related brethren, diff --git a/base/memory/scoped_vector.h b/base/memory/scoped_vector.h index 69931c8..f8afcdd 100644 --- a/base/memory/scoped_vector.h +++ b/base/memory/scoped_vector.h @@ -4,7 +4,6 @@ #ifndef BASE_MEMORY_SCOPED_VECTOR_H_ #define BASE_MEMORY_SCOPED_VECTOR_H_ -#pragma once #include <vector> diff --git a/base/memory/singleton.h b/base/memory/singleton.h index 5549012..4564790 100644 --- a/base/memory/singleton.h +++ b/base/memory/singleton.h @@ -18,7 +18,6 @@ #ifndef BASE_MEMORY_SINGLETON_H_ #define BASE_MEMORY_SINGLETON_H_ -#pragma once #include "base/at_exit.h" #include "base/atomicops.h" diff --git a/base/memory/singleton_objc.h b/base/memory/singleton_objc.h index 8531556..6df3f77 100644 --- a/base/memory/singleton_objc.h +++ b/base/memory/singleton_objc.h @@ -29,7 +29,6 @@ #ifndef BASE_MEMORY_SINGLETON_OBJC_H_ #define BASE_MEMORY_SINGLETON_OBJC_H_ -#pragma once #import <Foundation/Foundation.h> #include "base/memory/singleton.h" diff --git a/base/memory/weak_ptr.h b/base/memory/weak_ptr.h index d7c452f..c3a1e2e 100644 --- a/base/memory/weak_ptr.h +++ b/base/memory/weak_ptr.h @@ -57,7 +57,6 @@ #ifndef BASE_MEMORY_WEAK_PTR_H_ #define BASE_MEMORY_WEAK_PTR_H_ -#pragma once #include "base/basictypes.h" #include "base/base_export.h" diff --git a/base/message_loop.h b/base/message_loop.h index 227bfe3..3523077 100644 --- a/base/message_loop.h +++ b/base/message_loop.h @@ -4,7 +4,6 @@ #ifndef BASE_MESSAGE_LOOP_H_ #define BASE_MESSAGE_LOOP_H_ -#pragma once #include <queue> #include <string> diff --git a/base/message_loop_proxy.h b/base/message_loop_proxy.h index 320ccfb..ce949dd 100644 --- a/base/message_loop_proxy.h +++ b/base/message_loop_proxy.h @@ -4,7 +4,6 @@ #ifndef BASE_MESSAGE_LOOP_PROXY_H_ #define BASE_MESSAGE_LOOP_PROXY_H_ -#pragma once #include "base/base_export.h" #include "base/compiler_specific.h" diff --git a/base/message_loop_proxy_impl.h b/base/message_loop_proxy_impl.h index fd28194..2bcd8fd 100644 --- a/base/message_loop_proxy_impl.h +++ b/base/message_loop_proxy_impl.h @@ -4,7 +4,6 @@ #ifndef BASE_MESSAGE_LOOP_PROXY_IMPL_H_ #define BASE_MESSAGE_LOOP_PROXY_IMPL_H_ -#pragma once #include "base/base_export.h" #include "base/message_loop.h" diff --git a/base/message_pump.h b/base/message_pump.h index 16941eb..b2e0a42 100644 --- a/base/message_pump.h +++ b/base/message_pump.h @@ -4,7 +4,6 @@ #ifndef BASE_MESSAGE_PUMP_H_ #define BASE_MESSAGE_PUMP_H_ -#pragma once #include "base/base_export.h" #include "base/memory/ref_counted.h" diff --git a/base/message_pump_android.h b/base/message_pump_android.h index e5066ae..19157dd 100644 --- a/base/message_pump_android.h +++ b/base/message_pump_android.h @@ -4,7 +4,6 @@ #ifndef BASE_MESSAGE_PUMP_ANDROID_H_ #define BASE_MESSAGE_PUMP_ANDROID_H_ -#pragma once #include <jni.h> diff --git a/base/message_pump_default.h b/base/message_pump_default.h index 4efb1c5..6deec99 100644 --- a/base/message_pump_default.h +++ b/base/message_pump_default.h @@ -4,7 +4,6 @@ #ifndef BASE_MESSAGE_PUMP_DEFAULT_H_ #define BASE_MESSAGE_PUMP_DEFAULT_H_ -#pragma once #include "base/message_pump.h" #include "base/time.h" diff --git a/base/message_pump_dispatcher.h b/base/message_pump_dispatcher.h index b8efd32..c3ccf3c0 100644 --- a/base/message_pump_dispatcher.h +++ b/base/message_pump_dispatcher.h @@ -4,7 +4,6 @@ #ifndef BASE_MESSAGE_PUMP_DISPATCHER_H #define BASE_MESSAGE_PUMP_DISPATCHER_H -#pragma once #include "base/base_export.h" #include "base/event_types.h" diff --git a/base/message_pump_glib.h b/base/message_pump_glib.h index 9991a79..bb40a77 100644 --- a/base/message_pump_glib.h +++ b/base/message_pump_glib.h @@ -4,7 +4,6 @@ #ifndef BASE_MESSAGE_PUMP_GLIB_H_ #define BASE_MESSAGE_PUMP_GLIB_H_ -#pragma once #include "base/memory/scoped_ptr.h" #include "base/message_pump.h" diff --git a/base/message_pump_gtk.h b/base/message_pump_gtk.h index e60eeaf..ba5cff1 100644 --- a/base/message_pump_gtk.h +++ b/base/message_pump_gtk.h @@ -4,7 +4,6 @@ #ifndef BASE_MESSAGE_PUMP_GTK_H_ #define BASE_MESSAGE_PUMP_GTK_H_ -#pragma once #include "base/message_pump_glib.h" diff --git a/base/message_pump_libevent.h b/base/message_pump_libevent.h index 1666ad0..7c689b9 100644 --- a/base/message_pump_libevent.h +++ b/base/message_pump_libevent.h @@ -4,7 +4,6 @@ #ifndef BASE_MESSAGE_PUMP_LIBEVENT_H_ #define BASE_MESSAGE_PUMP_LIBEVENT_H_ -#pragma once #include "base/basictypes.h" #include "base/compiler_specific.h" diff --git a/base/message_pump_mac.h b/base/message_pump_mac.h index 3d1ac35..78af709 100644 --- a/base/message_pump_mac.h +++ b/base/message_pump_mac.h @@ -29,7 +29,6 @@ #ifndef BASE_MESSAGE_PUMP_MAC_H_ #define BASE_MESSAGE_PUMP_MAC_H_ -#pragma once #include "base/message_pump.h" diff --git a/base/message_pump_observer.h b/base/message_pump_observer.h index 9038b09..0d628b5 100644 --- a/base/message_pump_observer.h +++ b/base/message_pump_observer.h @@ -4,7 +4,6 @@ #ifndef BASE_MESSAGE_PUMP_OBSERVER_H #define BASE_MESSAGE_PUMP_OBSERVER_H -#pragma once #include "base/event_types.h" diff --git a/base/message_pump_win.h b/base/message_pump_win.h index cf6bff9..e778e01 100644 --- a/base/message_pump_win.h +++ b/base/message_pump_win.h @@ -4,7 +4,6 @@ #ifndef BASE_MESSAGE_PUMP_WIN_H_ #define BASE_MESSAGE_PUMP_WIN_H_ -#pragma once #include <windows.h> diff --git a/base/metrics/field_trial.h b/base/metrics/field_trial.h index 7fec3ed..b2aafc7 100644 --- a/base/metrics/field_trial.h +++ b/base/metrics/field_trial.h @@ -74,7 +74,6 @@ #ifndef BASE_METRICS_FIELD_TRIAL_H_ #define BASE_METRICS_FIELD_TRIAL_H_ -#pragma once #include <map> #include <string> diff --git a/base/metrics/histogram.h b/base/metrics/histogram.h index 69d9b4c..39fe200 100644 --- a/base/metrics/histogram.h +++ b/base/metrics/histogram.h @@ -39,7 +39,6 @@ #ifndef BASE_METRICS_HISTOGRAM_H_ #define BASE_METRICS_HISTOGRAM_H_ -#pragma once #include <list> #include <map> diff --git a/base/metrics/stats_counters.h b/base/metrics/stats_counters.h index 08c29c3..ccc73ba 100644 --- a/base/metrics/stats_counters.h +++ b/base/metrics/stats_counters.h @@ -4,7 +4,6 @@ #ifndef BASE_METRICS_STATS_COUNTERS_H_ #define BASE_METRICS_STATS_COUNTERS_H_ -#pragma once #include <string> diff --git a/base/metrics/stats_table.h b/base/metrics/stats_table.h index 6368dd7..d972e7c 100644 --- a/base/metrics/stats_table.h +++ b/base/metrics/stats_table.h @@ -19,7 +19,6 @@ #ifndef BASE_METRICS_STATS_TABLE_H_ #define BASE_METRICS_STATS_TABLE_H_ -#pragma once #include <string> diff --git a/base/native_library.h b/base/native_library.h index 1e0dfcd..845989d 100644 --- a/base/native_library.h +++ b/base/native_library.h @@ -4,7 +4,6 @@ #ifndef BASE_NATIVE_LIBRARY_H_ #define BASE_NATIVE_LIBRARY_H_ -#pragma once // This file defines a cross-platform "NativeLibrary" type which represents // a loadable module. diff --git a/base/nix/mime_util_xdg.h b/base/nix/mime_util_xdg.h index e7d4046007..444ce4f 100644 --- a/base/nix/mime_util_xdg.h +++ b/base/nix/mime_util_xdg.h @@ -4,7 +4,6 @@ #ifndef BASE_NIX_MIME_UTIL_XDG_H_ #define BASE_NIX_MIME_UTIL_XDG_H_ -#pragma once #include <string> diff --git a/base/nix/xdg_util.h b/base/nix/xdg_util.h index 1e0c5f3..b068d84 100644 --- a/base/nix/xdg_util.h +++ b/base/nix/xdg_util.h @@ -4,7 +4,6 @@ #ifndef BASE_NIX_XDG_UTIL_H_ #define BASE_NIX_XDG_UTIL_H_ -#pragma once // XDG refers to http://en.wikipedia.org/wiki/Freedesktop.org . // This file contains utilities found across free desktop environments. diff --git a/base/nullable_string16.h b/base/nullable_string16.h index 0702549..6f07183 100644 --- a/base/nullable_string16.h +++ b/base/nullable_string16.h @@ -4,7 +4,6 @@ #ifndef BASE_NULLABLE_STRING16_H_ #define BASE_NULLABLE_STRING16_H_ -#pragma once #include "base/string16.h" diff --git a/base/observer_list.h b/base/observer_list.h index 22babe8..364b180 100644 --- a/base/observer_list.h +++ b/base/observer_list.h @@ -4,7 +4,6 @@ #ifndef BASE_OBSERVER_LIST_H__ #define BASE_OBSERVER_LIST_H__ -#pragma once #include <algorithm> #include <limits> diff --git a/base/observer_list_threadsafe.h b/base/observer_list_threadsafe.h index 142d2b8..7322a1b 100644 --- a/base/observer_list_threadsafe.h +++ b/base/observer_list_threadsafe.h @@ -4,7 +4,6 @@ #ifndef BASE_OBSERVER_LIST_THREADSAFE_H_ #define BASE_OBSERVER_LIST_THREADSAFE_H_ -#pragma once #include <algorithm> #include <map> diff --git a/base/os_compat_android.h b/base/os_compat_android.h index e43319d..f77859b 100644 --- a/base/os_compat_android.h +++ b/base/os_compat_android.h @@ -4,7 +4,6 @@ #ifndef BASE_OS_COMPAT_ANDROID_H_ #define BASE_OS_COMPAT_ANDROID_H_ -#pragma once #include <fcntl.h> #include <sys/types.h> diff --git a/base/os_compat_nacl.h b/base/os_compat_nacl.h index 3913fcb..5c4b9a1 100644 --- a/base/os_compat_nacl.h +++ b/base/os_compat_nacl.h @@ -4,7 +4,6 @@ #ifndef BASE_OS_COMPAT_NACL_H_ #define BASE_OS_COMPAT_NACL_H_ -#pragma once #include <sys/types.h> diff --git a/base/path_service.h b/base/path_service.h index 03e4b44..e835a1f 100644 --- a/base/path_service.h +++ b/base/path_service.h @@ -4,7 +4,6 @@ #ifndef BASE_PATH_SERVICE_H_ #define BASE_PATH_SERVICE_H_ -#pragma once #include <string> diff --git a/base/pending_task.h b/base/pending_task.h index 6c1c168..78491ee 100644 --- a/base/pending_task.h +++ b/base/pending_task.h @@ -4,7 +4,6 @@ #ifndef PENDING_TASK_H_ #define PENDING_TASK_H_ -#pragma once #include <queue> diff --git a/base/perftimer.h b/base/perftimer.h index dae6d61..1ac1a7d 100644 --- a/base/perftimer.h +++ b/base/perftimer.h @@ -4,7 +4,6 @@ #ifndef BASE_PERFTIMER_H_ #define BASE_PERFTIMER_H_ -#pragma once #include <string> diff --git a/base/pickle.h b/base/pickle.h index 0eea490..a92915f 100644 --- a/base/pickle.h +++ b/base/pickle.h @@ -4,7 +4,6 @@ #ifndef BASE_PICKLE_H__ #define BASE_PICKLE_H__ -#pragma once #include <string> diff --git a/base/platform_file.h b/base/platform_file.h index 0d66d28..a9708f4 100644 --- a/base/platform_file.h +++ b/base/platform_file.h @@ -4,7 +4,6 @@ #ifndef BASE_PLATFORM_FILE_H_ #define BASE_PLATFORM_FILE_H_ -#pragma once #include "build/build_config.h" #if defined(OS_WIN) diff --git a/base/port.h b/base/port.h index 2e66057..af4e450 100644 --- a/base/port.h +++ b/base/port.h @@ -4,7 +4,6 @@ #ifndef BASE_PORT_H_ #define BASE_PORT_H_ -#pragma once #include <stdarg.h> #include "build/build_config.h" diff --git a/base/posix/unix_domain_socket.h b/base/posix/unix_domain_socket.h index e59be5d..d08d170 100644 --- a/base/posix/unix_domain_socket.h +++ b/base/posix/unix_domain_socket.h @@ -4,7 +4,6 @@ #ifndef BASE_POSIX_UNIX_DOMAIN_SOCKET_H_ #define BASE_POSIX_UNIX_DOMAIN_SOCKET_H_ -#pragma once #include <stdint.h> #include <sys/types.h> diff --git a/base/process.h b/base/process.h index 7869b88..84b8579 100644 --- a/base/process.h +++ b/base/process.h @@ -4,7 +4,6 @@ #ifndef BASE_PROCESS_H_ #define BASE_PROCESS_H_ -#pragma once #include "base/base_export.h" #include "base/basictypes.h" diff --git a/base/process_info.h b/base/process_info.h index 0635757..204a947 100644 --- a/base/process_info.h +++ b/base/process_info.h @@ -4,7 +4,6 @@ #ifndef BASE_PROCESS_INFO_H_ #define BASE_PROCESS_INFO_H_ -#pragma once #include "base/base_export.h" #include "base/basictypes.h" diff --git a/base/process_util.h b/base/process_util.h index eba109b..a9dc058 100644 --- a/base/process_util.h +++ b/base/process_util.h @@ -7,7 +7,6 @@ #ifndef BASE_PROCESS_UTIL_H_ #define BASE_PROCESS_UTIL_H_ -#pragma once #include "base/basictypes.h" #include "base/time.h" diff --git a/base/process_util_unittest_mac.h b/base/process_util_unittest_mac.h index 60deb13..7b4fe1c 100644 --- a/base/process_util_unittest_mac.h +++ b/base/process_util_unittest_mac.h @@ -7,7 +7,6 @@ #ifndef BASE_PROCESS_UTIL_UNITTEST_MAC_H_ #define BASE_PROCESS_UTIL_UNITTEST_MAC_H_ -#pragma once #include "base/basictypes.h" diff --git a/base/property_bag.h b/base/property_bag.h index 42fa1b9..16c20fa 100644 --- a/base/property_bag.h +++ b/base/property_bag.h @@ -4,7 +4,6 @@ #ifndef BASE_PROPERTY_BAG_H_ #define BASE_PROPERTY_BAG_H_ -#pragma once #include <map> diff --git a/base/rand_util.h b/base/rand_util.h index 82e548b..c5c4ef8 100644 --- a/base/rand_util.h +++ b/base/rand_util.h @@ -4,7 +4,6 @@ #ifndef BASE_RAND_UTIL_H_ #define BASE_RAND_UTIL_H_ -#pragma once #include <string> diff --git a/base/run_loop.h b/base/run_loop.h index 6fc0ed2..b85daf6 100644 --- a/base/run_loop.h +++ b/base/run_loop.h @@ -4,7 +4,6 @@ #ifndef BASE_RUN_LOOP_H_ #define BASE_RUN_LOOP_H_ -#pragma once #include "base/base_export.h" #include "base/callback.h" diff --git a/base/safe_strerror_posix.h b/base/safe_strerror_posix.h index 60fdec3..2f77d84 100644 --- a/base/safe_strerror_posix.h +++ b/base/safe_strerror_posix.h @@ -4,7 +4,6 @@ #ifndef BASE_SAFE_STRERROR_POSIX_H_ #define BASE_SAFE_STRERROR_POSIX_H_ -#pragma once #include <string> diff --git a/base/scoped_native_library.h b/base/scoped_native_library.h index 65a45a4..94380ba 100644 --- a/base/scoped_native_library.h +++ b/base/scoped_native_library.h @@ -4,7 +4,6 @@ #ifndef BASE_SCOPED_NATIVE_LIBRARY_H_ #define BASE_SCOPED_NATIVE_LIBRARY_H_ -#pragma once #include "base/base_export.h" #include "base/native_library.h" diff --git a/base/scoped_observer.h b/base/scoped_observer.h index d273e33..fdc9de3 100644 --- a/base/scoped_observer.h +++ b/base/scoped_observer.h @@ -4,7 +4,6 @@ #ifndef BASE_SCOPED_OBSERVER_H_ #define BASE_SCOPED_OBSERVER_H_ -#pragma once #include <algorithm> #include <vector> diff --git a/base/scoped_temp_dir.h b/base/scoped_temp_dir.h index a549c30..94acefc 100644 --- a/base/scoped_temp_dir.h +++ b/base/scoped_temp_dir.h @@ -4,7 +4,6 @@ #ifndef BASE_SCOPED_TEMP_DIR_H_ #define BASE_SCOPED_TEMP_DIR_H_ -#pragma once // An object representing a temporary / scratch directory that should be cleaned // up (recursively) when this object goes out of scope. Note that since diff --git a/base/sequenced_task_runner.h b/base/sequenced_task_runner.h index 5e0c89f..2e999c7 100644 --- a/base/sequenced_task_runner.h +++ b/base/sequenced_task_runner.h @@ -4,7 +4,6 @@ #ifndef BASE_SEQUENCED_TASKRUNNER_H_ #define BASE_SEQUENCED_TASKRUNNER_H_ -#pragma once #include "base/base_export.h" #include "base/sequenced_task_runner_helpers.h" diff --git a/base/sequenced_task_runner_helpers.h b/base/sequenced_task_runner_helpers.h index f03ca9e..2d0d493 100644 --- a/base/sequenced_task_runner_helpers.h +++ b/base/sequenced_task_runner_helpers.h @@ -4,7 +4,6 @@ #ifndef BASE_SEQUENCED_TASK_RUNNER_HELPERS_H_ #define BASE_SEQUENCED_TASK_RUNNER_HELPERS_H_ -#pragma once #include "base/basictypes.h" diff --git a/base/sha1.h b/base/sha1.h index 80195ce..998cccb 100644 --- a/base/sha1.h +++ b/base/sha1.h @@ -4,7 +4,6 @@ #ifndef BASE_SHA1_H_ #define BASE_SHA1_H_ -#pragma once #include <string> diff --git a/base/shared_memory.h b/base/shared_memory.h index a5744830..6d68fe3 100644 --- a/base/shared_memory.h +++ b/base/shared_memory.h @@ -4,7 +4,6 @@ #ifndef BASE_SHARED_MEMORY_H_ #define BASE_SHARED_MEMORY_H_ -#pragma once #include "build/build_config.h" diff --git a/base/single_thread_task_runner.h b/base/single_thread_task_runner.h index c87e5f7..993d829 100644 --- a/base/single_thread_task_runner.h +++ b/base/single_thread_task_runner.h @@ -4,7 +4,6 @@ #ifndef BASE_SINGLE_THREAD_TASK_RUNNER_H_ #define BASE_SINGLE_THREAD_TASK_RUNNER_H_ -#pragma once #include "base/base_export.h" #include "base/sequenced_task_runner.h" diff --git a/base/stack_container.h b/base/stack_container.h index e2db1c2..c589783 100644 --- a/base/stack_container.h +++ b/base/stack_container.h @@ -4,7 +4,6 @@ #ifndef BASE_STACK_CONTAINER_H_ #define BASE_STACK_CONTAINER_H_ -#pragma once #include <string> #include <vector> diff --git a/base/stl_util.h b/base/stl_util.h index 4418ab8..b3ddfa3 100644 --- a/base/stl_util.h +++ b/base/stl_util.h @@ -6,7 +6,6 @@ #ifndef BASE_STL_UTIL_H_ #define BASE_STL_UTIL_H_ -#pragma once #include <string> #include <vector> diff --git a/base/string16.h b/base/string16.h index 9ac5ae1..e27461b 100644 --- a/base/string16.h +++ b/base/string16.h @@ -4,7 +4,6 @@ #ifndef BASE_STRING16_H_ #define BASE_STRING16_H_ -#pragma once // WHAT: // A version of std::basic_string that provides 2-byte characters even when diff --git a/base/string_piece.h b/base/string_piece.h index f0ef045..416fca8 100644 --- a/base/string_piece.h +++ b/base/string_piece.h @@ -22,7 +22,6 @@ #ifndef BASE_STRING_PIECE_H_ #define BASE_STRING_PIECE_H_ -#pragma once #include <stddef.h> diff --git a/base/string_split.h b/base/string_split.h index 32f6d8d..f8022e3 100644 --- a/base/string_split.h +++ b/base/string_split.h @@ -4,7 +4,6 @@ #ifndef BASE_STRING_SPLIT_H_ #define BASE_STRING_SPLIT_H_ -#pragma once #include <string> #include <utility> diff --git a/base/string_tokenizer.h b/base/string_tokenizer.h index ce5fc87..c2307a5 100644 --- a/base/string_tokenizer.h +++ b/base/string_tokenizer.h @@ -4,7 +4,6 @@ #ifndef BASE_STRING_TOKENIZER_H_ #define BASE_STRING_TOKENIZER_H_ -#pragma once #include <algorithm> #include <string> diff --git a/base/string_util.h b/base/string_util.h index a135180..428550b 100644 --- a/base/string_util.h +++ b/base/string_util.h @@ -6,7 +6,6 @@ #ifndef BASE_STRING_UTIL_H_ #define BASE_STRING_UTIL_H_ -#pragma once #include <ctype.h> #include <stdarg.h> // va_list diff --git a/base/string_util_posix.h b/base/string_util_posix.h index 92ef1c2..9b776e6 100644 --- a/base/string_util_posix.h +++ b/base/string_util_posix.h @@ -4,7 +4,6 @@ #ifndef BASE_STRING_UTIL_POSIX_H_ #define BASE_STRING_UTIL_POSIX_H_ -#pragma once #include <stdarg.h> #include <stdio.h> diff --git a/base/string_util_win.h b/base/string_util_win.h index 41bb562..2a4d3fd 100644 --- a/base/string_util_win.h +++ b/base/string_util_win.h @@ -4,7 +4,6 @@ #ifndef BASE_STRING_UTIL_WIN_H_ #define BASE_STRING_UTIL_WIN_H_ -#pragma once #include <stdarg.h> #include <stdio.h> diff --git a/base/stringize_macros.h b/base/stringize_macros.h index 7c3af49..1d53e48 100644 --- a/base/stringize_macros.h +++ b/base/stringize_macros.h @@ -8,7 +8,6 @@ #ifndef BASE_STRINGIZE_MACROS_H_ #define BASE_STRINGIZE_MACROS_H_ -#pragma once #include "build/build_config.h" diff --git a/base/sync_socket.h b/base/sync_socket.h index d5bfb72..eb3eeb5 100644 --- a/base/sync_socket.h +++ b/base/sync_socket.h @@ -4,7 +4,6 @@ #ifndef BASE_SYNC_SOCKET_H_ #define BASE_SYNC_SOCKET_H_ -#pragma once // A socket abstraction used for sending and receiving plain // data. Because the receiving is blocking, they can be used to perform diff --git a/base/synchronization/cancellation_flag.h b/base/synchronization/cancellation_flag.h index 7734b34..51a4def 100644 --- a/base/synchronization/cancellation_flag.h +++ b/base/synchronization/cancellation_flag.h @@ -4,7 +4,6 @@ #ifndef BASE_SYNCHRONIZATION_CANCELLATION_FLAG_H_ #define BASE_SYNCHRONIZATION_CANCELLATION_FLAG_H_ -#pragma once #include "base/base_export.h" #include "base/atomicops.h" diff --git a/base/synchronization/condition_variable.h b/base/synchronization/condition_variable.h index 60a0b0e..4f744f8 100644 --- a/base/synchronization/condition_variable.h +++ b/base/synchronization/condition_variable.h @@ -64,7 +64,6 @@ #ifndef BASE_SYNCHRONIZATION_CONDITION_VARIABLE_H_ #define BASE_SYNCHRONIZATION_CONDITION_VARIABLE_H_ -#pragma once #include "build/build_config.h" diff --git a/base/synchronization/lock.h b/base/synchronization/lock.h index ceaad8d..15de446 100644 --- a/base/synchronization/lock.h +++ b/base/synchronization/lock.h @@ -4,7 +4,6 @@ #ifndef BASE_SYNCHRONIZATION_LOCK_H_ #define BASE_SYNCHRONIZATION_LOCK_H_ -#pragma once #include "base/base_export.h" #include "base/synchronization/lock_impl.h" diff --git a/base/synchronization/lock_impl.h b/base/synchronization/lock_impl.h index 03b0c64..0b04167 100644 --- a/base/synchronization/lock_impl.h +++ b/base/synchronization/lock_impl.h @@ -4,7 +4,6 @@ #ifndef BASE_SYNCHRONIZATION_LOCK_IMPL_H_ #define BASE_SYNCHRONIZATION_LOCK_IMPL_H_ -#pragma once #include "build/build_config.h" diff --git a/base/synchronization/spin_wait.h b/base/synchronization/spin_wait.h index 884d0c4..ad54ca8 100644 --- a/base/synchronization/spin_wait.h +++ b/base/synchronization/spin_wait.h @@ -14,7 +14,6 @@ #ifndef BASE_SYNCHRONIZATION_SPIN_WAIT_H_ #define BASE_SYNCHRONIZATION_SPIN_WAIT_H_ -#pragma once #include "base/threading/platform_thread.h" #include "base/time.h" diff --git a/base/synchronization/waitable_event.h b/base/synchronization/waitable_event.h index 018f318..26e2779 100644 --- a/base/synchronization/waitable_event.h +++ b/base/synchronization/waitable_event.h @@ -4,7 +4,6 @@ #ifndef BASE_SYNCHRONIZATION_WAITABLE_EVENT_H_ #define BASE_SYNCHRONIZATION_WAITABLE_EVENT_H_ -#pragma once #include "base/base_export.h" #include "base/basictypes.h" diff --git a/base/synchronization/waitable_event_watcher.h b/base/synchronization/waitable_event_watcher.h index 7e1698b..f5c1510 100644 --- a/base/synchronization/waitable_event_watcher.h +++ b/base/synchronization/waitable_event_watcher.h @@ -4,7 +4,6 @@ #ifndef BASE_SYNCHRONIZATION_WAITABLE_EVENT_WATCHER_H_ #define BASE_SYNCHRONIZATION_WAITABLE_EVENT_WATCHER_H_ -#pragma once #include "base/base_export.h" #include "build/build_config.h" diff --git a/base/sys_info.h b/base/sys_info.h index 242f4fb..c95415e 100644 --- a/base/sys_info.h +++ b/base/sys_info.h @@ -4,7 +4,6 @@ #ifndef BASE_SYS_INFO_H_ #define BASE_SYS_INFO_H_ -#pragma once #include "base/base_export.h" #include "base/basictypes.h" diff --git a/base/sys_string_conversions.h b/base/sys_string_conversions.h index 2be248d..1c3bfcf 100644 --- a/base/sys_string_conversions.h +++ b/base/sys_string_conversions.h @@ -4,7 +4,6 @@ #ifndef BASE_SYS_STRING_CONVERSIONS_H_ #define BASE_SYS_STRING_CONVERSIONS_H_ -#pragma once // Provides system-dependent string type conversions for cases where it's // necessary to not use ICU. Generally, you should not need this in Chrome, diff --git a/base/system_monitor/system_monitor.h b/base/system_monitor/system_monitor.h index a070755..a6065d9 100644 --- a/base/system_monitor/system_monitor.h +++ b/base/system_monitor/system_monitor.h @@ -4,7 +4,6 @@ #ifndef BASE_SYSTEM_MONITOR_SYSTEM_MONITOR_H_ #define BASE_SYSTEM_MONITOR_SYSTEM_MONITOR_H_ -#pragma once #include <string> #include <vector> diff --git a/base/task_runner.h b/base/task_runner.h index c1e1758..4fbea4d 100644 --- a/base/task_runner.h +++ b/base/task_runner.h @@ -4,7 +4,6 @@ #ifndef BASE_TASK_RUNNER_H_ #define BASE_TASK_RUNNER_H_ -#pragma once #include "base/base_export.h" #include "base/basictypes.h" diff --git a/base/task_runner_util.h b/base/task_runner_util.h index 67e223e..d1b9f62 100644 --- a/base/task_runner_util.h +++ b/base/task_runner_util.h @@ -4,7 +4,6 @@ #ifndef BASE_TASK_RUNNER_UTIL_H_ #define BASE_TASK_RUNNER_UTIL_H_ -#pragma once #include "base/bind.h" #include "base/bind_helpers.h" diff --git a/base/template_util.h b/base/template_util.h index 916e942..e21d4dc 100644 --- a/base/template_util.h +++ b/base/template_util.h @@ -4,7 +4,6 @@ #ifndef BASE_TEMPLATE_UTIL_H_ #define BASE_TEMPLATE_UTIL_H_ -#pragma once #include <cstddef> // For size_t. diff --git a/base/test/mock_chrome_application_mac.h b/base/test/mock_chrome_application_mac.h index 325c637..5cd1d19 100644 --- a/base/test/mock_chrome_application_mac.h +++ b/base/test/mock_chrome_application_mac.h @@ -4,7 +4,6 @@ #ifndef BASE_TEST_MOCK_CHROME_APPLICATION_MAC_H_ #define BASE_TEST_MOCK_CHROME_APPLICATION_MAC_H_ -#pragma once #if defined(__OBJC__) diff --git a/base/test/mock_time_provider.h b/base/test/mock_time_provider.h index 48ddb41..81240f7 100644 --- a/base/test/mock_time_provider.h +++ b/base/test/mock_time_provider.h @@ -41,7 +41,6 @@ #ifndef BASE_TEST_MOCK_TIME_PROVIDER_H_ #define BASE_TEST_MOCK_TIME_PROVIDER_H_ -#pragma once #include "base/time.h" #include "testing/gmock/include/gmock/gmock.h" diff --git a/base/test/multiprocess_test.h b/base/test/multiprocess_test.h index 88f6b2a..7c3af33 100644 --- a/base/test/multiprocess_test.h +++ b/base/test/multiprocess_test.h @@ -4,7 +4,6 @@ #ifndef BASE_TEST_MULTIPROCESS_TEST_H_ #define BASE_TEST_MULTIPROCESS_TEST_H_ -#pragma once #include <string> diff --git a/base/test/perf_test_suite.h b/base/test/perf_test_suite.h index 3387892..85bfc41 100644 --- a/base/test/perf_test_suite.h +++ b/base/test/perf_test_suite.h @@ -4,7 +4,6 @@ #ifndef BASE_TEST_PERF_TEST_SUITE_H_ #define BASE_TEST_PERF_TEST_SUITE_H_ -#pragma once #include "base/test/test_suite.h" diff --git a/base/test/scoped_locale.h b/base/test/scoped_locale.h index 1fd1e18..a9f9348 100644 --- a/base/test/scoped_locale.h +++ b/base/test/scoped_locale.h @@ -4,7 +4,6 @@ #ifndef BASE_TEST_SCOPED_LOCALE_H_ #define BASE_TEST_SCOPED_LOCALE_H_ -#pragma once #include <string> diff --git a/base/test/sequenced_task_runner_test_template.h b/base/test/sequenced_task_runner_test_template.h index ff337ff..eb5aa08 100644 --- a/base/test/sequenced_task_runner_test_template.h +++ b/base/test/sequenced_task_runner_test_template.h @@ -8,7 +8,6 @@ #ifndef BASE_SEQUENCED_TASK_RUNNER_TEST_TEMPLATE_H_ #define BASE_SEQUENCED_TASK_RUNNER_TEST_TEMPLATE_H_ -#pragma once #include <cstddef> #include <iosfwd> diff --git a/base/test/task_runner_test_template.h b/base/test/task_runner_test_template.h index 0fb7a5a..437a7d9 100644 --- a/base/test/task_runner_test_template.h +++ b/base/test/task_runner_test_template.h @@ -50,7 +50,6 @@ #ifndef BASE_TEST_TASK_RUNNER_TEST_TEMPLATE_H_ #define BASE_TEST_TASK_RUNNER_TEST_TEMPLATE_H_ -#pragma once #include <cstddef> #include <map> diff --git a/base/test/test_file_util.h b/base/test/test_file_util.h index 99ec478f..165af70 100644 --- a/base/test/test_file_util.h +++ b/base/test/test_file_util.h @@ -4,7 +4,6 @@ #ifndef BASE_TEST_TEST_FILE_UTIL_H_ #define BASE_TEST_TEST_FILE_UTIL_H_ -#pragma once // File utility functions used only by tests. diff --git a/base/test/test_reg_util_win.h b/base/test/test_reg_util_win.h index 82c1a53..b71831f 100644 --- a/base/test/test_reg_util_win.h +++ b/base/test/test_reg_util_win.h @@ -4,7 +4,6 @@ #ifndef BASE_TEST_TEST_REG_UTIL_H_ #define BASE_TEST_TEST_REG_UTIL_H_ -#pragma once // Registry utility functions used only by tests. diff --git a/base/test/test_suite.h b/base/test/test_suite.h index 09bf0f9..ff3e0de 100644 --- a/base/test/test_suite.h +++ b/base/test/test_suite.h @@ -4,7 +4,6 @@ #ifndef BASE_TEST_TEST_SUITE_H_ #define BASE_TEST_TEST_SUITE_H_ -#pragma once // Defines a basic test suite framework for running gtest based tests. You can // instantiate this class in your main function and call its Run method to run diff --git a/base/test/thread_test_helper.h b/base/test/thread_test_helper.h index e6b32bc..961982c 100644 --- a/base/test/thread_test_helper.h +++ b/base/test/thread_test_helper.h @@ -4,7 +4,6 @@ #ifndef BASE_TEST_THREAD_TEST_HELPER_H_ #define BASE_TEST_THREAD_TEST_HELPER_H_ -#pragma once #include "base/compiler_specific.h" #include "base/memory/ref_counted.h" diff --git a/base/test/trace_event_analyzer.h b/base/test/trace_event_analyzer.h index deda22d..14b9082 100644 --- a/base/test/trace_event_analyzer.h +++ b/base/test/trace_event_analyzer.h @@ -75,7 +75,6 @@ #ifndef BASE_TEST_TRACE_EVENT_ANALYZER_H_ #define BASE_TEST_TRACE_EVENT_ANALYZER_H_ -#pragma once #include <map> diff --git a/base/test/values_test_util.h b/base/test/values_test_util.h index 80cfa0c..f2b5abd 100644 --- a/base/test/values_test_util.h +++ b/base/test/values_test_util.h @@ -4,7 +4,6 @@ #ifndef BASE_TEST_VALUES_TEST_UTIL_H_ #define BASE_TEST_VALUES_TEST_UTIL_H_ -#pragma once #include <string> diff --git a/base/threading/non_thread_safe.h b/base/threading/non_thread_safe.h index 2f44dca..cf7a418 100644 --- a/base/threading/non_thread_safe.h +++ b/base/threading/non_thread_safe.h @@ -4,7 +4,6 @@ #ifndef BASE_THREADING_NON_THREAD_SAFE_H_ #define BASE_THREADING_NON_THREAD_SAFE_H_ -#pragma once // Classes deriving from NonThreadSafe may need to suppress MSVC warning 4275: // non dll-interface class 'Bar' used as base for dll-interface class 'Foo'. diff --git a/base/threading/non_thread_safe_impl.h b/base/threading/non_thread_safe_impl.h index 71faeb2..a3a356d 100644 --- a/base/threading/non_thread_safe_impl.h +++ b/base/threading/non_thread_safe_impl.h @@ -4,7 +4,6 @@ #ifndef BASE_THREADING_NON_THREAD_SAFE_IMPL_H_ #define BASE_THREADING_NON_THREAD_SAFE_IMPL_H_ -#pragma once #include "base/base_export.h" #include "base/threading/thread_checker_impl.h" diff --git a/base/threading/platform_thread.h b/base/threading/platform_thread.h index de552c8..576695a 100644 --- a/base/threading/platform_thread.h +++ b/base/threading/platform_thread.h @@ -8,7 +8,6 @@ #ifndef BASE_THREADING_PLATFORM_THREAD_H_ #define BASE_THREADING_PLATFORM_THREAD_H_ -#pragma once #include "base/base_export.h" #include "base/basictypes.h" diff --git a/base/threading/post_task_and_reply_impl.h b/base/threading/post_task_and_reply_impl.h index fe19c8e..076a46d 100644 --- a/base/threading/post_task_and_reply_impl.h +++ b/base/threading/post_task_and_reply_impl.h @@ -7,7 +7,6 @@ #ifndef BASE_THREADING_POST_TASK_AND_REPLY_IMPL_H_ #define BASE_THREADING_POST_TASK_AND_REPLY_IMPL_H_ -#pragma once #include "base/callback_forward.h" #include "base/location.h" diff --git a/base/threading/sequenced_worker_pool.h b/base/threading/sequenced_worker_pool.h index 73c670f..e273d54 100644 --- a/base/threading/sequenced_worker_pool.h +++ b/base/threading/sequenced_worker_pool.h @@ -4,7 +4,6 @@ #ifndef BASE_THREADING_SEQUENCED_WORKER_POOL_H_ #define BASE_THREADING_SEQUENCED_WORKER_POOL_H_ -#pragma once #include <cstddef> #include <string> diff --git a/base/threading/sequenced_worker_pool_task_runner.h b/base/threading/sequenced_worker_pool_task_runner.h index 068fb3e..6d6ff94 100644 --- a/base/threading/sequenced_worker_pool_task_runner.h +++ b/base/threading/sequenced_worker_pool_task_runner.h @@ -4,7 +4,6 @@ #ifndef BASE_THREADING_SEQUENCED_WORKER_POOL_TASK_RUNNER_H_ #define BASE_THREADING_SEQUENCED_WORKER_POOL_TASK_RUNNER_H_ -#pragma once #include "base/basictypes.h" #include "base/callback_forward.h" diff --git a/base/threading/simple_thread.h b/base/threading/simple_thread.h index 47d063a..df03ce1 100644 --- a/base/threading/simple_thread.h +++ b/base/threading/simple_thread.h @@ -39,7 +39,6 @@ #ifndef BASE_THREADING_SIMPLE_THREAD_H_ #define BASE_THREADING_SIMPLE_THREAD_H_ -#pragma once #include <string> #include <queue> diff --git a/base/threading/thread.h b/base/threading/thread.h index 054a8f6..7296854 100644 --- a/base/threading/thread.h +++ b/base/threading/thread.h @@ -4,7 +4,6 @@ #ifndef BASE_THREAD_H_ #define BASE_THREAD_H_ -#pragma once #include <string> diff --git a/base/threading/thread_checker.h b/base/threading/thread_checker.h index 9c79958..5a8ef22 100644 --- a/base/threading/thread_checker.h +++ b/base/threading/thread_checker.h @@ -4,7 +4,6 @@ #ifndef BASE_THREADING_THREAD_CHECKER_H_ #define BASE_THREADING_THREAD_CHECKER_H_ -#pragma once // Apart from debug builds, we also enable the thread checker in // builds with DCHECK_ALWAYS_ON so that trybots and waterfall bots diff --git a/base/threading/thread_checker_impl.h b/base/threading/thread_checker_impl.h index 4295560..24361c8 100644 --- a/base/threading/thread_checker_impl.h +++ b/base/threading/thread_checker_impl.h @@ -4,7 +4,6 @@ #ifndef BASE_THREADING_THREAD_CHECKER_IMPL_H_ #define BASE_THREADING_THREAD_CHECKER_IMPL_H_ -#pragma once #include "base/base_export.h" #include "base/synchronization/lock.h" diff --git a/base/threading/thread_collision_warner.h b/base/threading/thread_collision_warner.h index 2e3d3cc4..2181cbd 100644 --- a/base/threading/thread_collision_warner.h +++ b/base/threading/thread_collision_warner.h @@ -4,7 +4,6 @@ #ifndef BASE_THREADING_THREAD_COLLISION_WARNER_H_ #define BASE_THREADING_THREAD_COLLISION_WARNER_H_ -#pragma once #include <memory> diff --git a/base/threading/thread_local.h b/base/threading/thread_local.h index dcad915..6561420 100644 --- a/base/threading/thread_local.h +++ b/base/threading/thread_local.h @@ -47,7 +47,6 @@ #ifndef BASE_THREADING_THREAD_LOCAL_H_ #define BASE_THREADING_THREAD_LOCAL_H_ -#pragma once #include "base/base_export.h" #include "base/basictypes.h" diff --git a/base/threading/thread_local_storage.h b/base/threading/thread_local_storage.h index ca422b9..eb5648f 100644 --- a/base/threading/thread_local_storage.h +++ b/base/threading/thread_local_storage.h @@ -4,7 +4,6 @@ #ifndef BASE_THREADING_THREAD_LOCAL_STORAGE_H_ #define BASE_THREADING_THREAD_LOCAL_STORAGE_H_ -#pragma once #include "base/base_export.h" #include "base/basictypes.h" diff --git a/base/threading/watchdog.h b/base/threading/watchdog.h index 8e43ac7..5b0b210 100644 --- a/base/threading/watchdog.h +++ b/base/threading/watchdog.h @@ -17,7 +17,6 @@ #ifndef BASE_THREADING_WATCHDOG_H_ #define BASE_THREADING_WATCHDOG_H_ -#pragma once #include <string> diff --git a/base/threading/worker_pool.h b/base/threading/worker_pool.h index 93beeeb..333b495 100644 --- a/base/threading/worker_pool.h +++ b/base/threading/worker_pool.h @@ -4,7 +4,6 @@ #ifndef BASE_THREADING_WORKER_POOL_H_ #define BASE_THREADING_WORKER_POOL_H_ -#pragma once #include "base/base_export.h" #include "base/callback_forward.h" diff --git a/base/threading/worker_pool_posix.h b/base/threading/worker_pool_posix.h index eca113a..36e3f4bf 100644 --- a/base/threading/worker_pool_posix.h +++ b/base/threading/worker_pool_posix.h @@ -23,7 +23,6 @@ #ifndef BASE_THREADING_WORKER_POOL_POSIX_H_ #define BASE_THREADING_WORKER_POOL_POSIX_H_ -#pragma once #include <queue> #include <string> diff --git a/base/time.h b/base/time.h index b4a7632..bca9947 100644 --- a/base/time.h +++ b/base/time.h @@ -21,7 +21,6 @@ #ifndef BASE_TIME_H_ #define BASE_TIME_H_ -#pragma once #include <time.h> diff --git a/base/timer.h b/base/timer.h index faa12da..28c0a10 100644 --- a/base/timer.h +++ b/base/timer.h @@ -43,7 +43,6 @@ #ifndef BASE_TIMER_H_ #define BASE_TIMER_H_ -#pragma once // IMPORTANT: If you change timer code, make sure that all tests (including // disabled ones) from timer_unittests.cc pass locally. Some are disabled diff --git a/base/tracked_objects.h b/base/tracked_objects.h index 25b8753..ad9a6d0 100644 --- a/base/tracked_objects.h +++ b/base/tracked_objects.h @@ -4,7 +4,6 @@ #ifndef BASE_TRACKED_OBJECTS_H_ #define BASE_TRACKED_OBJECTS_H_ -#pragma once #include <map> #include <set> diff --git a/base/tuple.h b/base/tuple.h index fb6f02f..04809d9 100644 --- a/base/tuple.h +++ b/base/tuple.h @@ -28,7 +28,6 @@ #ifndef BASE_TUPLE_H__ #define BASE_TUPLE_H__ -#pragma once // Traits ---------------------------------------------------------------------- // diff --git a/base/utf_offset_string_conversions.h b/base/utf_offset_string_conversions.h index 97b641e..e9cb558 100644 --- a/base/utf_offset_string_conversions.h +++ b/base/utf_offset_string_conversions.h @@ -4,7 +4,6 @@ #ifndef BASE_UTF_OFFSET_STRING_CONVERSIONS_H_ #define BASE_UTF_OFFSET_STRING_CONVERSIONS_H_ -#pragma once #include <string> #include <vector> diff --git a/base/utf_string_conversion_utils.h b/base/utf_string_conversion_utils.h index 71dc527..17e04f1 100644 --- a/base/utf_string_conversion_utils.h +++ b/base/utf_string_conversion_utils.h @@ -4,7 +4,6 @@ #ifndef BASE_UTF_STRING_CONVERSION_UTILS_H_ #define BASE_UTF_STRING_CONVERSION_UTILS_H_ -#pragma once // This should only be used by the various UTF string conversion files. diff --git a/base/utf_string_conversions.h b/base/utf_string_conversions.h index cd5a802..5a391fa 100644 --- a/base/utf_string_conversions.h +++ b/base/utf_string_conversions.h @@ -4,7 +4,6 @@ #ifndef BASE_UTF_STRING_CONVERSIONS_H_ #define BASE_UTF_STRING_CONVERSIONS_H_ -#pragma once #include <string> diff --git a/base/value_conversions.h b/base/value_conversions.h index cb6d55c..99cd514 100644 --- a/base/value_conversions.h +++ b/base/value_conversions.h @@ -4,7 +4,6 @@ #ifndef BASE_VALUE_CONVERSIONS_H_ #define BASE_VALUE_CONVERSIONS_H_ -#pragma once // This file contains methods to convert things to a |Value| and back. diff --git a/base/values.h b/base/values.h index bb22187..f9a459e 100644 --- a/base/values.h +++ b/base/values.h @@ -20,7 +20,6 @@ #ifndef BASE_VALUES_H_ #define BASE_VALUES_H_ -#pragma once #include <iterator> #include <map> diff --git a/base/version.h b/base/version.h index ccb4f1f..ab7145e 100644 --- a/base/version.h +++ b/base/version.h @@ -4,7 +4,6 @@ #ifndef BASE_VERSION_H_ #define BASE_VERSION_H_ -#pragma once #include <string> #include <vector> diff --git a/base/vlog.h b/base/vlog.h index fde6ea6..987730f 100644 --- a/base/vlog.h +++ b/base/vlog.h @@ -4,7 +4,6 @@ #ifndef BASE_VLOG_H_ #define BASE_VLOG_H_ -#pragma once #include <cstddef> #include <string> diff --git a/base/win/enum_variant.h b/base/win/enum_variant.h index 84c8a99..7cee91d 100644 --- a/base/win/enum_variant.h +++ b/base/win/enum_variant.h @@ -4,7 +4,6 @@ #ifndef BASE_WIN_ENUM_VARIANT_H_ #define BASE_WIN_ENUM_VARIANT_H_ -#pragma once #include <unknwn.h> diff --git a/base/win/event_trace_consumer.h b/base/win/event_trace_consumer.h index c85eae4..c1b42b4 100644 --- a/base/win/event_trace_consumer.h +++ b/base/win/event_trace_consumer.h @@ -5,7 +5,6 @@ // Declaration of a Windows event trace consumer base class. #ifndef BASE_WIN_EVENT_TRACE_CONSUMER_H_ #define BASE_WIN_EVENT_TRACE_CONSUMER_H_ -#pragma once #include <windows.h> #include <wmistr.h> diff --git a/base/win/event_trace_controller.h b/base/win/event_trace_controller.h index 8f8d476..69e755b 100644 --- a/base/win/event_trace_controller.h +++ b/base/win/event_trace_controller.h @@ -19,7 +19,6 @@ // as well as potentially from multiple binary trace files. #ifndef BASE_WIN_EVENT_TRACE_CONTROLLER_H_ #define BASE_WIN_EVENT_TRACE_CONTROLLER_H_ -#pragma once #include <windows.h> #include <wmistr.h> diff --git a/base/win/event_trace_provider.h b/base/win/event_trace_provider.h index 35f3efe..9f6e7c4 100644 --- a/base/win/event_trace_provider.h +++ b/base/win/event_trace_provider.h @@ -6,7 +6,6 @@ // Windows Event Tracing for logging transport and control. #ifndef BASE_WIN_EVENT_TRACE_PROVIDER_H_ #define BASE_WIN_EVENT_TRACE_PROVIDER_H_ -#pragma once #include <windows.h> #include <wmistr.h> diff --git a/base/win/i18n.h b/base/win/i18n.h index 8797bd3..c0379c1 100644 --- a/base/win/i18n.h +++ b/base/win/i18n.h @@ -4,7 +4,6 @@ #ifndef BASE_WIN_I18N_H_ #define BASE_WIN_I18N_H_ -#pragma once #include <string> #include <vector> diff --git a/base/win/iat_patch_function.h b/base/win/iat_patch_function.h index 34d73ba..3ae1f3c 100644 --- a/base/win/iat_patch_function.h +++ b/base/win/iat_patch_function.h @@ -4,7 +4,6 @@ #ifndef BASE_WIN_IAT_PATCH_FUNCTION_H_ #define BASE_WIN_IAT_PATCH_FUNCTION_H_ -#pragma once #include <windows.h> diff --git a/base/win/iunknown_impl.h b/base/win/iunknown_impl.h index 2dfdae8..ff7e870 100644 --- a/base/win/iunknown_impl.h +++ b/base/win/iunknown_impl.h @@ -4,7 +4,6 @@ #ifndef BASE_WIN_IUNKNOWN_IMPL_H_ #define BASE_WIN_IUNKNOWN_IMPL_H_ -#pragma once #include <unknwn.h> diff --git a/base/win/metro.h b/base/win/metro.h index cce8d3a..36c4bf0 100644 --- a/base/win/metro.h +++ b/base/win/metro.h @@ -4,7 +4,6 @@ #ifndef BASE_WIN_METRO_H_ #define BASE_WIN_METRO_H_ -#pragma once #include <windows.h> diff --git a/base/win/object_watcher.h b/base/win/object_watcher.h index 2a515a1..6a570b2 100644 --- a/base/win/object_watcher.h +++ b/base/win/object_watcher.h @@ -4,7 +4,6 @@ #ifndef BASE_WIN_OBJECT_WATCHER_H_ #define BASE_WIN_OBJECT_WATCHER_H_ -#pragma once #include <windows.h> diff --git a/base/win/pe_image.h b/base/win/pe_image.h index 72d37f8..878ef52 100644 --- a/base/win/pe_image.h +++ b/base/win/pe_image.h @@ -10,7 +10,6 @@ #ifndef BASE_WIN_PE_IMAGE_H_ #define BASE_WIN_PE_IMAGE_H_ -#pragma once #include <windows.h> diff --git a/base/win/registry.h b/base/win/registry.h index c8f5da9..b78fbb0 100644 --- a/base/win/registry.h +++ b/base/win/registry.h @@ -4,7 +4,6 @@ #ifndef BASE_WIN_REGISTRY_H_ #define BASE_WIN_REGISTRY_H_ -#pragma once #include <windows.h> #include <string> diff --git a/base/win/resource_util.h b/base/win/resource_util.h index e4b82e5..9955402 100644 --- a/base/win/resource_util.h +++ b/base/win/resource_util.h @@ -7,7 +7,6 @@ #ifndef BASE_WIN_RESOURCE_UTIL_H__ #define BASE_WIN_RESOURCE_UTIL_H__ -#pragma once #include <windows.h> diff --git a/base/win/sampling_profiler.h b/base/win/sampling_profiler.h index bf1be8c..e7e76d8 100644 --- a/base/win/sampling_profiler.h +++ b/base/win/sampling_profiler.h @@ -4,7 +4,6 @@ #ifndef BASE_WIN_SAMPLING_PROFILER_H_ #define BASE_WIN_SAMPLING_PROFILER_H_ -#pragma once #include <vector> diff --git a/base/win/scoped_bstr.h b/base/win/scoped_bstr.h index 66d7a06..ed46d63 100644 --- a/base/win/scoped_bstr.h +++ b/base/win/scoped_bstr.h @@ -4,7 +4,6 @@ #ifndef BASE_WIN_SCOPED_BSTR_H_ #define BASE_WIN_SCOPED_BSTR_H_ -#pragma once #include <windows.h> #include <oleauto.h> diff --git a/base/win/scoped_co_mem.h b/base/win/scoped_co_mem.h index ccbe707..572999a 100644 --- a/base/win/scoped_co_mem.h +++ b/base/win/scoped_co_mem.h @@ -4,7 +4,6 @@ #ifndef BASE_WIN_SCOPED_CO_MEM_H_ #define BASE_WIN_SCOPED_CO_MEM_H_ -#pragma once #include <objbase.h> diff --git a/base/win/scoped_com_initializer.h b/base/win/scoped_com_initializer.h index eb2055e..f0ea0ec 100644 --- a/base/win/scoped_com_initializer.h +++ b/base/win/scoped_com_initializer.h @@ -4,7 +4,6 @@ #ifndef BASE_WIN_SCOPED_COM_INITIALIZER_H_ #define BASE_WIN_SCOPED_COM_INITIALIZER_H_ -#pragma once #include "base/basictypes.h" #include "base/logging.h" diff --git a/base/win/scoped_comptr.h b/base/win/scoped_comptr.h index 9a4dd9d..9d5301f 100644 --- a/base/win/scoped_comptr.h +++ b/base/win/scoped_comptr.h @@ -4,7 +4,6 @@ #ifndef BASE_WIN_SCOPED_COMPTR_H_ #define BASE_WIN_SCOPED_COMPTR_H_ -#pragma once #include <unknwn.h> diff --git a/base/win/scoped_gdi_object.h b/base/win/scoped_gdi_object.h index 3ce2245..d44310a 100644 --- a/base/win/scoped_gdi_object.h +++ b/base/win/scoped_gdi_object.h @@ -4,7 +4,6 @@ #ifndef BASE_WIN_SCOPED_GDI_OBJECT_H_ #define BASE_WIN_SCOPED_GDI_OBJECT_H_ -#pragma once #include <windows.h> diff --git a/base/win/scoped_handle.h b/base/win/scoped_handle.h index 87a59b1..458519d 100644 --- a/base/win/scoped_handle.h +++ b/base/win/scoped_handle.h @@ -4,7 +4,6 @@ #ifndef BASE_WIN_SCOPED_HANDLE_H_ #define BASE_WIN_SCOPED_HANDLE_H_ -#pragma once #include <windows.h> diff --git a/base/win/scoped_hdc.h b/base/win/scoped_hdc.h index 070c656..f3f6005 100644 --- a/base/win/scoped_hdc.h +++ b/base/win/scoped_hdc.h @@ -4,7 +4,6 @@ #ifndef BASE_WIN_SCOPED_HDC_H_ #define BASE_WIN_SCOPED_HDC_H_ -#pragma once #include <windows.h> diff --git a/base/win/scoped_hglobal.h b/base/win/scoped_hglobal.h index 23b36e4..891e6cd 100644 --- a/base/win/scoped_hglobal.h +++ b/base/win/scoped_hglobal.h @@ -4,7 +4,6 @@ #ifndef BASE_WIN_SCOPED_HGLOBAL_H_ #define BASE_WIN_SCOPED_HGLOBAL_H_ -#pragma once #include <windows.h> diff --git a/base/win/scoped_process_information.h b/base/win/scoped_process_information.h index a0646da0..cfa7dc96 100644 --- a/base/win/scoped_process_information.h +++ b/base/win/scoped_process_information.h @@ -4,7 +4,6 @@ #ifndef BASE_WIN_SCOPED_PROCESS_INFORMATION_H_ #define BASE_WIN_SCOPED_PROCESS_INFORMATION_H_ -#pragma once #include <windows.h> diff --git a/base/win/scoped_select_object.h b/base/win/scoped_select_object.h index fd73161..347de79 100644 --- a/base/win/scoped_select_object.h +++ b/base/win/scoped_select_object.h @@ -4,7 +4,6 @@ #ifndef BASE_WIN_SCOPED_SELECT_OBJECT_H_ #define BASE_WIN_SCOPED_SELECT_OBJECT_H_ -#pragma once #include <windows.h> diff --git a/base/win/scoped_startup_info_ex.h b/base/win/scoped_startup_info_ex.h index 50bf7d1..989aead 100644 --- a/base/win/scoped_startup_info_ex.h +++ b/base/win/scoped_startup_info_ex.h @@ -4,7 +4,6 @@ #ifndef BASE_WIN_SCOPED_STARTUP_INFO_EX_H_ #define BASE_WIN_SCOPED_STARTUP_INFO_EX_H_ -#pragma once #include <windows.h> diff --git a/base/win/scoped_variant.h b/base/win/scoped_variant.h index 5b05d07..b6e6579 100644 --- a/base/win/scoped_variant.h +++ b/base/win/scoped_variant.h @@ -4,7 +4,6 @@ #ifndef BASE_WIN_SCOPED_VARIANT_H_ #define BASE_WIN_SCOPED_VARIANT_H_ -#pragma once #include <windows.h> #include <oleauto.h> diff --git a/base/win/win_util.h b/base/win/win_util.h index e831cd7..09c66cd 100644 --- a/base/win/win_util.h +++ b/base/win/win_util.h @@ -21,7 +21,6 @@ #ifndef BASE_WIN_WIN_UTIL_H_ #define BASE_WIN_WIN_UTIL_H_ -#pragma once #include <windows.h> diff --git a/base/win/windows_version.h b/base/win/windows_version.h index c17ba14..0e4a75e 100644 --- a/base/win/windows_version.h +++ b/base/win/windows_version.h @@ -4,7 +4,6 @@ #ifndef BASE_WIN_WINDOWS_VERSION_H_ #define BASE_WIN_WINDOWS_VERSION_H_ -#pragma once #include "base/base_export.h" #include "base/basictypes.h" diff --git a/base/win/wrapped_window_proc.h b/base/win/wrapped_window_proc.h index 6d887ae..b5793f2 100644 --- a/base/win/wrapped_window_proc.h +++ b/base/win/wrapped_window_proc.h @@ -9,7 +9,6 @@ #ifndef BASE_WIN_WRAPPED_WINDOW_PROC_H_ #define BASE_WIN_WRAPPED_WINDOW_PROC_H_ -#pragma once #include <windows.h> |