diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-26 23:08:24 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-26 23:08:24 +0000 |
commit | 32b76eff6f630b9bcc0fc3f3bad826f3d1217dda (patch) | |
tree | a5687726e4f145c715c73cbbff23e88ac2192eb9 /chrome/common | |
parent | 7cf4d5505378a983947d8c989841f1f378f19cde (diff) | |
download | chromium_src-32b76eff6f630b9bcc0fc3f3bad826f3d1217dda.zip chromium_src-32b76eff6f630b9bcc0fc3f3bad826f3d1217dda.tar.gz chromium_src-32b76eff6f630b9bcc0fc3f3bad826f3d1217dda.tar.bz2 |
`#pragma once` for app, base, chrome, gfx, ipc, net, skia, views
BUG=50273
TEST=everything still builds, build is 10% faster on windows, same speed on mac/linux
TBR: erg
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53716 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
144 files changed, 144 insertions, 0 deletions
diff --git a/chrome/common/about_handler.h b/chrome/common/about_handler.h index f5d0818..d3c74f4 100644 --- a/chrome/common/about_handler.h +++ b/chrome/common/about_handler.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_ABOUT_HANDLER_H__ #define CHROME_COMMON_ABOUT_HANDLER_H__ +#pragma once #include "chrome/common/url_constants.h" #include "googleurl/src/gurl.h" diff --git a/chrome/common/app_mode_common_mac.h b/chrome/common/app_mode_common_mac.h index 046324ab..130fe8a 100644 --- a/chrome/common/app_mode_common_mac.h +++ b/chrome/common/app_mode_common_mac.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_APP_MODE_COMMON_MAC_H_ #define CHROME_COMMON_APP_MODE_COMMON_MAC_H_ +#pragma once #include <CoreFoundation/CoreFoundation.h> diff --git a/chrome/common/appcache/appcache_backend_proxy.h b/chrome/common/appcache/appcache_backend_proxy.h index 2ef2660..9c237d8 100644 --- a/chrome/common/appcache/appcache_backend_proxy.h +++ b/chrome/common/appcache/appcache_backend_proxy.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_ #define CHROME_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_ +#pragma once #include "ipc/ipc_message.h" #include "webkit/appcache/appcache_interfaces.h" diff --git a/chrome/common/appcache/appcache_dispatcher.h b/chrome/common/appcache/appcache_dispatcher.h index d21be54..2e17349 100644 --- a/chrome/common/appcache/appcache_dispatcher.h +++ b/chrome/common/appcache/appcache_dispatcher.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_APPCACHE_APPCACHE_DISPATCHER_H_ #define CHROME_COMMON_APPCACHE_APPCACHE_DISPATCHER_H_ +#pragma once #include <vector> #include "chrome/common/appcache/appcache_backend_proxy.h" diff --git a/chrome/common/automation_constants.h b/chrome/common/automation_constants.h index 9c31bd1..1b48e82 100644 --- a/chrome/common/automation_constants.h +++ b/chrome/common/automation_constants.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_AUTOMATION_CONSTANTS_H__ #define CHROME_COMMON_AUTOMATION_CONSTANTS_H__ +#pragma once namespace automation { // JSON value labels for proxy settings that are passed in via diff --git a/chrome/common/bindings_policy.h b/chrome/common/bindings_policy.h index eccce17..0df8371 100644 --- a/chrome/common/bindings_policy.h +++ b/chrome/common/bindings_policy.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_BINDINGS_POLICY_H__ #define CHROME_COMMON_BINDINGS_POLICY_H__ +#pragma once // This is a utility class that specifies flag values for the types of // JavaScript bindings exposed to renderers. diff --git a/chrome/common/child_process.h b/chrome/common/child_process.h index fb2c660..7b8e500 100644 --- a/chrome/common/child_process.h +++ b/chrome/common/child_process.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_CHILD_PROCESS_H__ #define CHROME_COMMON_CHILD_PROCESS_H__ +#pragma once #include "base/basictypes.h" #include "base/scoped_ptr.h" diff --git a/chrome/common/child_process_host.h b/chrome/common/child_process_host.h index 865a1ac..8628acc 100644 --- a/chrome/common/child_process_host.h +++ b/chrome/common/child_process_host.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_CHILD_PROCESS_HOST_H_ #define CHROME_COMMON_CHILD_PROCESS_HOST_H_ +#pragma once #include <list> #include <string> diff --git a/chrome/common/child_process_info.h b/chrome/common/child_process_info.h index bc36c18..7d3b34d 100644 --- a/chrome/common/child_process_info.h +++ b/chrome/common/child_process_info.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_CHILD_PROCESS_INFO_H_ #define CHROME_COMMON_CHILD_PROCESS_INFO_H_ +#pragma once #include <string> diff --git a/chrome/common/child_process_logging.h b/chrome/common/child_process_logging.h index 84a288c..ec5d2c5 100644 --- a/chrome/common/child_process_logging.h +++ b/chrome/common/child_process_logging.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_CHILD_PROCESS_LOGGING_H_ #define CHROME_COMMON_CHILD_PROCESS_LOGGING_H_ +#pragma once #include <set> #include <string> diff --git a/chrome/common/child_thread.h b/chrome/common/child_thread.h index 72af5aa..b170d7d 100644 --- a/chrome/common/child_thread.h +++ b/chrome/common/child_thread.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_CHILD_THREAD_H_ #define CHROME_COMMON_CHILD_THREAD_H_ +#pragma once #include "base/basictypes.h" #include "base/scoped_ptr.h" diff --git a/chrome/common/chrome_constants.h b/chrome/common/chrome_constants.h index 84d6052..9f0704f 100644 --- a/chrome/common/chrome_constants.h +++ b/chrome/common/chrome_constants.h @@ -6,6 +6,7 @@ #ifndef CHROME_COMMON_CHROME_CONSTANTS_H_ #define CHROME_COMMON_CHROME_CONSTANTS_H_ +#pragma once #include "base/file_path.h" diff --git a/chrome/common/chrome_counters.h b/chrome/common/chrome_counters.h index 14cfa21..e655b83 100644 --- a/chrome/common/chrome_counters.h +++ b/chrome/common/chrome_counters.h @@ -6,6 +6,7 @@ #ifndef CHROME_COMMON_CHROME_COUNTERS_H_ #define CHROME_COMMON_CHROME_COUNTERS_H_ +#pragma once class StatsCounter; class StatsCounterTimer; diff --git a/chrome/common/chrome_descriptors.h b/chrome/common/chrome_descriptors.h index 8a4f6ee..d83a017 100644 --- a/chrome/common/chrome_descriptors.h +++ b/chrome/common/chrome_descriptors.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_CHROME_DESCRIPTORS_H_ #define CHROME_COMMON_CHROME_DESCRIPTORS_H_ +#pragma once #include "ipc/ipc_descriptors.h" // This is a list of global descriptor keys to be used with the diff --git a/chrome/common/chrome_paths.h b/chrome/common/chrome_paths.h index 2d90e0a..65538a7 100644 --- a/chrome/common/chrome_paths.h +++ b/chrome/common/chrome_paths.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_CHROME_PATHS_H__ #define CHROME_COMMON_CHROME_PATHS_H__ +#pragma once #include "build/build_config.h" diff --git a/chrome/common/chrome_paths_internal.h b/chrome/common/chrome_paths_internal.h index 7d731e1..cddb88f 100644 --- a/chrome/common/chrome_paths_internal.h +++ b/chrome/common/chrome_paths_internal.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_CHROME_PATHS_INTERNAL_H_ #define CHROME_COMMON_CHROME_PATHS_INTERNAL_H_ +#pragma once #include "build/build_config.h" #include "base/file_path.h" diff --git a/chrome/common/chrome_plugin_api.h b/chrome/common/chrome_plugin_api.h index e5230cd..2b3da55 100644 --- a/chrome/common/chrome_plugin_api.h +++ b/chrome/common/chrome_plugin_api.h @@ -12,6 +12,7 @@ #ifndef CHROME_COMMON_CHROME_PLUGIN_API_H__ #define CHROME_COMMON_CHROME_PLUGIN_API_H__ +#pragma once #include "base/basictypes.h" diff --git a/chrome/common/chrome_plugin_lib.h b/chrome/common/chrome_plugin_lib.h index 5027cfc..4a4906f 100644 --- a/chrome/common/chrome_plugin_lib.h +++ b/chrome/common/chrome_plugin_lib.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_CHROME_PLUGIN_LIB_H_ #define CHROME_COMMON_CHROME_PLUGIN_LIB_H_ +#pragma once #include <string> diff --git a/chrome/common/chrome_plugin_util.h b/chrome/common/chrome_plugin_util.h index 7714a53..88873bb 100644 --- a/chrome/common/chrome_plugin_util.h +++ b/chrome/common/chrome_plugin_util.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_CHROME_PLUGIN_UTIL_H_ #define CHROME_COMMON_CHROME_PLUGIN_UTIL_H_ +#pragma once #include <string> diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index f05f5d0..dcd5f4f 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -6,6 +6,7 @@ #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ #define CHROME_COMMON_CHROME_SWITCHES_H_ +#pragma once #include "build/build_config.h" #include "base/base_switches.h" diff --git a/chrome/common/chrome_version_info.h b/chrome/common/chrome_version_info.h index e3bfad71..a539130 100644 --- a/chrome/common/chrome_version_info.h +++ b/chrome/common/chrome_version_info.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_CHROME_VERSION_INFO_H_ #define CHROME_COMMON_CHROME_VERSION_INFO_H_ +#pragma once class FileVersionInfo; diff --git a/chrome/common/common_param_traits.h b/chrome/common/common_param_traits.h index b4ec78e..0ca6bed 100644 --- a/chrome/common/common_param_traits.h +++ b/chrome/common/common_param_traits.h @@ -10,6 +10,7 @@ #ifndef CHROME_COMMON_COMMON_PARAM_TRAITS_H_ #define CHROME_COMMON_COMMON_PARAM_TRAITS_H_ +#pragma once #include <vector> diff --git a/chrome/common/content_settings.h b/chrome/common/content_settings.h index 10fdcb5..4731263 100644 --- a/chrome/common/content_settings.h +++ b/chrome/common/content_settings.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_CONTENT_SETTINGS_H_ #define CHROME_COMMON_CONTENT_SETTINGS_H_ +#pragma once #include "chrome/common/content_settings_types.h" diff --git a/chrome/common/content_settings_helper.h b/chrome/common/content_settings_helper.h index 0aa2947..58fb85e 100644 --- a/chrome/common/content_settings_helper.h +++ b/chrome/common/content_settings_helper.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_CONTENT_SETTINGS_HELPER_H_ #define CHROME_COMMON_CONTENT_SETTINGS_HELPER_H_ +#pragma once #include <string> diff --git a/chrome/common/content_settings_types.h b/chrome/common/content_settings_types.h index 2e2a563..938adbf 100644 --- a/chrome/common/content_settings_types.h +++ b/chrome/common/content_settings_types.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_CONTENT_SETTINGS_TYPES_H_ #define CHROME_COMMON_CONTENT_SETTINGS_TYPES_H_ +#pragma once // A particular type of content to care about. We give the user various types // of controls over each of these. diff --git a/chrome/common/css_colors.h b/chrome/common/css_colors.h index d952e98..9ba36ba 100644 --- a/chrome/common/css_colors.h +++ b/chrome/common/css_colors.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_CSS_COLORS_H_ #define CHROME_COMMON_CSS_COLORS_H_ +#pragma once #include <utility> diff --git a/chrome/common/database_util.h b/chrome/common/database_util.h index 9c263af..b297044 100644 --- a/chrome/common/database_util.h +++ b/chrome/common/database_util.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_DATABASE_UTIL_H_ #define CHROME_COMMON_DATABASE_UTIL_H_ +#pragma once #include "webkit/glue/webkitclient_impl.h" diff --git a/chrome/common/db_message_filter.h b/chrome/common/db_message_filter.h index 1cb07d8..1eb0d5c 100644 --- a/chrome/common/db_message_filter.h +++ b/chrome/common/db_message_filter.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_DB_MESSAGE_FILTER_H_ #define CHROME_COMMON_DB_MESSAGE_FILTER_H_ +#pragma once #include "ipc/ipc_channel_proxy.h" diff --git a/chrome/common/debug_flags.h b/chrome/common/debug_flags.h index 231d2ca..9671e47 100644 --- a/chrome/common/debug_flags.h +++ b/chrome/common/debug_flags.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_DEBUG_FLAGS_H__ #define CHROME_COMMON_DEBUG_FLAGS_H__ +#pragma once #include "chrome/common/child_process_info.h" diff --git a/chrome/common/default_plugin.h b/chrome/common/default_plugin.h index e3394e8..6cc8348 100644 --- a/chrome/common/default_plugin.h +++ b/chrome/common/default_plugin.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_DEFAULT_PLUGIN_H_ #define CHROME_COMMON_DEFAULT_PLUGIN_H_ +#pragma once namespace chrome { diff --git a/chrome/common/deprecated/event_sys-inl.h b/chrome/common/deprecated/event_sys-inl.h index 62fa350..5baa6b4 100644 --- a/chrome/common/deprecated/event_sys-inl.h +++ b/chrome/common/deprecated/event_sys-inl.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_DEPRECATED_EVENT_SYS_INL_H_ #define CHROME_COMMON_DEPRECATED_EVENT_SYS_INL_H_ +#pragma once #include <map> diff --git a/chrome/common/deprecated/event_sys.h b/chrome/common/deprecated/event_sys.h index bec8144..be4264a 100644 --- a/chrome/common/deprecated/event_sys.h +++ b/chrome/common/deprecated/event_sys.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_DEPRECATED_EVENT_SYS_H_ #define CHROME_COMMON_DEPRECATED_EVENT_SYS_H_ +#pragma once // TODO: This class should be removed or moved to Notifier code. // See Bug 42450 (http://code.google.com/p/chromium/issues/detail?id=42450). diff --git a/chrome/common/desktop_notifications/active_notification_tracker.h b/chrome/common/desktop_notifications/active_notification_tracker.h index 1676f32..7d02326 100644 --- a/chrome/common/desktop_notifications/active_notification_tracker.h +++ b/chrome/common/desktop_notifications/active_notification_tracker.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_DESKTOP_NOTIFICATIONS_ACTIVE_NOTIFICATION_TRACKER_H_ #define CHROME_COMMON_DESKTOP_NOTIFICATIONS_ACTIVE_NOTIFICATION_TRACKER_H_ +#pragma once #include <map> diff --git a/chrome/common/devtools_messages.h b/chrome/common/devtools_messages.h index a46d72b..b82bb19 100644 --- a/chrome/common/devtools_messages.h +++ b/chrome/common/devtools_messages.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_DEVTOOLS_MESSAGES_H_ #define CHROME_COMMON_DEVTOOLS_MESSAGES_H_ +#pragma once #include "ipc/ipc_message_utils.h" #include "webkit/glue/devtools_message_data.h" diff --git a/chrome/common/dom_storage_common.h b/chrome/common/dom_storage_common.h index 96fc508..3f50e62 100644 --- a/chrome/common/dom_storage_common.h +++ b/chrome/common/dom_storage_common.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_DOM_STORAGE_COMMON_H_ #define CHROME_COMMON_DOM_STORAGE_COMMON_H_ +#pragma once const int64 kLocalStorageNamespaceId = 0; const int64 kInvalidSessionStorageNamespaceId = kLocalStorageNamespaceId; diff --git a/chrome/common/edit_command.h b/chrome/common/edit_command.h index 4fc373e..f9acb14 100644 --- a/chrome/common/edit_command.h +++ b/chrome/common/edit_command.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_EDIT_COMMAND_H_ #define CHROME_COMMON_EDIT_COMMAND_H_ +#pragma once #include <string> #include <vector> diff --git a/chrome/common/env_vars.h b/chrome/common/env_vars.h index 1c5bc5d..e9984d2a 100644 --- a/chrome/common/env_vars.h +++ b/chrome/common/env_vars.h @@ -6,6 +6,7 @@ #ifndef CHROME_COMMON_ENV_VARS_H__ #define CHROME_COMMON_ENV_VARS_H__ +#pragma once namespace env_vars { diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h index 2d3018b..f81974d 100644 --- a/chrome/common/extensions/extension.h +++ b/chrome/common/extensions/extension.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_H_ #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ +#pragma once #include <map> #include <set> diff --git a/chrome/common/extensions/extension_action.h b/chrome/common/extensions/extension_action.h index 6658724..a48de32 100644 --- a/chrome/common/extensions/extension_action.h +++ b/chrome/common/extensions/extension_action.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_ACTION_H_ #define CHROME_COMMON_EXTENSIONS_EXTENSION_ACTION_H_ +#pragma once #include <map> #include <string> diff --git a/chrome/common/extensions/extension_constants.h b/chrome/common/extensions/extension_constants.h index 007c3a0..96cb848 100644 --- a/chrome/common/extensions/extension_constants.h +++ b/chrome/common/extensions/extension_constants.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ +#pragma once // Keys used in JSON representation of extensions. namespace extension_manifest_keys { diff --git a/chrome/common/extensions/extension_error_utils.h b/chrome/common/extensions/extension_error_utils.h index 54db8ba..0c9bd4d 100644 --- a/chrome/common/extensions/extension_error_utils.h +++ b/chrome/common/extensions/extension_error_utils.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_ERROR_UTILS_H_ #define CHROME_COMMON_EXTENSIONS_EXTENSION_ERROR_UTILS_H_ +#pragma once #include <string> diff --git a/chrome/common/extensions/extension_extent.h b/chrome/common/extensions/extension_extent.h index a0117c5..3fc5469 100644 --- a/chrome/common/extensions/extension_extent.h +++ b/chrome/common/extensions/extension_extent.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_EXTENT_H_ #define CHROME_COMMON_EXTENSIONS_EXTENSION_EXTENT_H_ +#pragma once #include <string> #include <vector> diff --git a/chrome/common/extensions/extension_file_util.h b/chrome/common/extensions/extension_file_util.h index 5f3150b..82c08f4 100644 --- a/chrome/common/extensions/extension_file_util.h +++ b/chrome/common/extensions/extension_file_util.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_FILE_UTIL_H_ #define CHROME_COMMON_EXTENSIONS_EXTENSION_FILE_UTIL_H_ +#pragma once #include <set> #include <string> diff --git a/chrome/common/extensions/extension_l10n_util.h b/chrome/common/extensions/extension_l10n_util.h index 8bd8dc8..48dc901 100644 --- a/chrome/common/extensions/extension_l10n_util.h +++ b/chrome/common/extensions/extension_l10n_util.h @@ -6,6 +6,7 @@ #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_L10N_UTIL_H_ #define CHROME_COMMON_EXTENSIONS_EXTENSION_L10N_UTIL_H_ +#pragma once #include <set> #include <string> diff --git a/chrome/common/extensions/extension_localization_peer.h b/chrome/common/extensions/extension_localization_peer.h index 0e0fe1d..439105c 100644 --- a/chrome/common/extensions/extension_localization_peer.h +++ b/chrome/common/extensions/extension_localization_peer.h @@ -5,6 +5,7 @@ #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_LOCALIZATION_PEER_H_ #define CHROME_COMMON_EXTENSIONS_EXTENSION_LOCALIZATION_PEER_H_ +#pragma once #include <string> diff --git a/chrome/common/extensions/extension_message_bundle.h b/chrome/common/extensions/extension_message_bundle.h index 3085b50..2e62649 100644 --- a/chrome/common/extensions/extension_message_bundle.h +++ b/chrome/common/extensions/extension_message_bundle.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_MESSAGE_BUNDLE_H_ #define CHROME_COMMON_EXTENSIONS_EXTENSION_MESSAGE_BUNDLE_H_ +#pragma once #include <map> #include <string> diff --git a/chrome/common/extensions/extension_resource.h b/chrome/common/extensions/extension_resource.h index 295754e..3d52878 100644 --- a/chrome/common/extensions/extension_resource.h +++ b/chrome/common/extensions/extension_resource.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_RESOURCE_H_ #define CHROME_COMMON_EXTENSIONS_EXTENSION_RESOURCE_H_ +#pragma once #include <string> diff --git a/chrome/common/extensions/extension_unpacker.h b/chrome/common/extensions/extension_unpacker.h index b0a4073..ebe2915 100644 --- a/chrome/common/extensions/extension_unpacker.h +++ b/chrome/common/extensions/extension_unpacker.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_UNPACKER_H_ #define CHROME_COMMON_EXTENSIONS_EXTENSION_UNPACKER_H_ +#pragma once #include <string> #include <vector> diff --git a/chrome/common/extensions/update_manifest.h b/chrome/common/extensions/update_manifest.h index 81bd793..48fe97c 100644 --- a/chrome/common/extensions/update_manifest.h +++ b/chrome/common/extensions/update_manifest.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_EXTENSIONS_UPDATE_MANIFEST_H_ #define CHROME_COMMON_EXTENSIONS_UPDATE_MANIFEST_H_ +#pragma once #include <string> #include <vector> diff --git a/chrome/common/extensions/url_pattern.h b/chrome/common/extensions/url_pattern.h index f6f51ec..de08c45 100644 --- a/chrome/common/extensions/url_pattern.h +++ b/chrome/common/extensions/url_pattern.h @@ -3,6 +3,7 @@ // found in the LICENSE file. #ifndef CHROME_COMMON_EXTENSIONS_URL_PATTERN_H_ #define CHROME_COMMON_EXTENSIONS_URL_PATTERN_H_ +#pragma once #include <string> #include <vector> diff --git a/chrome/common/extensions/user_script.h b/chrome/common/extensions/user_script.h index 6c79019..62f0a64 100644 --- a/chrome/common/extensions/user_script.h +++ b/chrome/common/extensions/user_script.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_EXTENSIONS_USER_SCRIPT_H_ #define CHROME_COMMON_EXTENSIONS_USER_SCRIPT_H_ +#pragma once #include <vector> #include <string> diff --git a/chrome/common/font_descriptor_mac.h b/chrome/common/font_descriptor_mac.h index 25ae9db..732fc42 100644 --- a/chrome/common/font_descriptor_mac.h +++ b/chrome/common/font_descriptor_mac.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_FONT_DESCRIPTOR_MAC_H_ #define CHROME_COMMON_FONT_DESCRIPTOR_MAC_H_ +#pragma once #include "base/string16.h" diff --git a/chrome/common/font_loader_mac.h b/chrome/common/font_loader_mac.h index 2ec42bce..a793e5e 100644 --- a/chrome/common/font_loader_mac.h +++ b/chrome/common/font_loader_mac.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_FONT_LOADER_MAC_H_ #define CHROME_COMMON_FONT_LOADER_MAC_H_ +#pragma once #include <ApplicationServices/ApplicationServices.h> diff --git a/chrome/common/gears_api.h b/chrome/common/gears_api.h index 9aba014..2b2f425 100644 --- a/chrome/common/gears_api.h +++ b/chrome/common/gears_api.h @@ -6,6 +6,7 @@ #ifndef CHROME_COMMON_GEARS_API_H__ #define CHROME_COMMON_GEARS_API_H__ +#pragma once #include "chrome/common/chrome_plugin_api.h" diff --git a/chrome/common/geoposition.h b/chrome/common/geoposition.h index f2db64c..6b19275 100644 --- a/chrome/common/geoposition.h +++ b/chrome/common/geoposition.h @@ -8,6 +8,7 @@ #ifndef CHROME_COMMON_GEOPOSITION_H_ #define CHROME_COMMON_GEOPOSITION_H_ +#pragma once #include <string> #include "base/time.h" diff --git a/chrome/common/gpu_info.h b/chrome/common/gpu_info.h index 65b5075..0d512c1 100644 --- a/chrome/common/gpu_info.h +++ b/chrome/common/gpu_info.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_GPU_INFO_H__ #define CHROME_COMMON_GPU_INFO_H__ +#pragma once // Provides access to the GPU information for the system // on which chrome is currently running. diff --git a/chrome/common/gpu_messages.h b/chrome/common/gpu_messages.h index 16f2860..2e8a8d5 100644 --- a/chrome/common/gpu_messages.h +++ b/chrome/common/gpu_messages.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_GPU_MESSAGES_H_ #define CHROME_COMMON_GPU_MESSAGES_H_ +#pragma once #include <vector> diff --git a/chrome/common/gpu_native_window_handle.h b/chrome/common/gpu_native_window_handle.h index 11e8cda..cdc89f7 100644 --- a/chrome/common/gpu_native_window_handle.h +++ b/chrome/common/gpu_native_window_handle.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_GPU_NATIVE_WINDOW_HANDLE_H_ #define CHROME_COMMON_GPU_NATIVE_WINDOW_HANDLE_H_ +#pragma once #include "build/build_config.h" diff --git a/chrome/common/gpu_plugin.h b/chrome/common/gpu_plugin.h index 3fd609e..938cbc2e 100644 --- a/chrome/common/gpu_plugin.h +++ b/chrome/common/gpu_plugin.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_GPU_PLUGIN_H_ #define CHROME_COMMON_GPU_PLUGIN_H_ +#pragma once namespace chrome { diff --git a/chrome/common/important_file_writer.h b/chrome/common/important_file_writer.h index d4f57a0..a25ad5f 100644 --- a/chrome/common/important_file_writer.h +++ b/chrome/common/important_file_writer.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_IMPORTANT_FILE_WRITER_H_ #define CHROME_COMMON_IMPORTANT_FILE_WRITER_H_ +#pragma once #include <string> diff --git a/chrome/common/indexed_db_key.h b/chrome/common/indexed_db_key.h index 13bfae3..9b0662a 100644 --- a/chrome/common/indexed_db_key.h +++ b/chrome/common/indexed_db_key.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_INDEXED_DB_KEY_H_ #define CHROME_COMMON_INDEXED_DB_KEY_H_ +#pragma once #include "base/basictypes.h" #include "base/string16.h" diff --git a/chrome/common/ipc_test_sink.h b/chrome/common/ipc_test_sink.h index 96e91c0..8fc621a 100644 --- a/chrome/common/ipc_test_sink.h +++ b/chrome/common/ipc_test_sink.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_IPC_TEST_SINK_H_ #define CHROME_COMMON_IPC_TEST_SINK_H_ +#pragma once #include <utility> #include <vector> diff --git a/chrome/common/json_pref_store.h b/chrome/common/json_pref_store.h index 70f5dee..ed17bbe 100644 --- a/chrome/common/json_pref_store.h +++ b/chrome/common/json_pref_store.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_JSON_PREF_STORE_H_ #define CHROME_COMMON_JSON_PREF_STORE_H_ +#pragma once #include <string> diff --git a/chrome/common/json_value_serializer.h b/chrome/common/json_value_serializer.h index 7919cfe..11b7b7a 100644 --- a/chrome/common/json_value_serializer.h +++ b/chrome/common/json_value_serializer.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_JSON_VALUE_SERIALIZER_H_ #define CHROME_COMMON_JSON_VALUE_SERIALIZER_H_ +#pragma once #include <string> diff --git a/chrome/common/jstemplate_builder.h b/chrome/common/jstemplate_builder.h index ac8285f..3eda5a6 100644 --- a/chrome/common/jstemplate_builder.h +++ b/chrome/common/jstemplate_builder.h @@ -12,6 +12,7 @@ #ifndef CHROME_COMMON_JSTEMPLATE_BUILDER_H_ #define CHROME_COMMON_JSTEMPLATE_BUILDER_H_ +#pragma once #include <string> diff --git a/chrome/common/libxml_utils.h b/chrome/common/libxml_utils.h index 1484139..55a935c 100644 --- a/chrome/common/libxml_utils.h +++ b/chrome/common/libxml_utils.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_LIBXML_UTILS_H__ #define CHROME_COMMON_LIBXML_UTILS_H__ +#pragma once #include <string> diff --git a/chrome/common/logging_chrome.h b/chrome/common/logging_chrome.h index 57c3906..a2d62d5e 100644 --- a/chrome/common/logging_chrome.h +++ b/chrome/common/logging_chrome.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_LOGGING_CHROME_H__ #define CHROME_COMMON_LOGGING_CHROME_H__ +#pragma once #include <string> #include <vector> diff --git a/chrome/common/mach_message_source_mac.h b/chrome/common/mach_message_source_mac.h index f57539d..ceced0a 100644 --- a/chrome/common/mach_message_source_mac.h +++ b/chrome/common/mach_message_source_mac.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_MACH_MESSAGE_SOURCE_MAC_H_ #define CHROME_COMMON_MACH_MESSAGE_SOURCE_MAC_H_ +#pragma once #include <CoreServices/CoreServices.h> diff --git a/chrome/common/main_function_params.h b/chrome/common/main_function_params.h index b224892..6d5291f 100644 --- a/chrome/common/main_function_params.h +++ b/chrome/common/main_function_params.h @@ -8,6 +8,7 @@ #ifndef CHROME_COMMON_MAIN_FUNCTION_PARAMS_H_ #define CHROME_COMMON_MAIN_FUNCTION_PARAMS_H_ +#pragma once #include "base/command_line.h" #include "chrome/common/sandbox_init_wrapper.h" diff --git a/chrome/common/message_router.h b/chrome/common/message_router.h index 35d2a5d..13f763c 100644 --- a/chrome/common/message_router.h +++ b/chrome/common/message_router.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_MESSAGE_ROUTER_H__ #define CHROME_COMMON_MESSAGE_ROUTER_H__ +#pragma once #include "base/id_map.h" #include "ipc/ipc_channel.h" diff --git a/chrome/common/metrics_helpers.h b/chrome/common/metrics_helpers.h index 8051273..a137ecf 100644 --- a/chrome/common/metrics_helpers.h +++ b/chrome/common/metrics_helpers.h @@ -7,6 +7,7 @@ #ifndef CHROME_COMMON_METRICS_HELPERS_H_ #define CHROME_COMMON_METRICS_HELPERS_H_ +#pragma once #include <map> #include <string> diff --git a/chrome/common/mru_cache.h b/chrome/common/mru_cache.h index b2643f8..b9b72d4 100644 --- a/chrome/common/mru_cache.h +++ b/chrome/common/mru_cache.h @@ -15,6 +15,7 @@ #ifndef CHROME_COMMON_MRU_CACHE_H__ #define CHROME_COMMON_MRU_CACHE_H__ +#pragma once #include <list> #include <map> diff --git a/chrome/common/nacl_cmd_line.h b/chrome/common/nacl_cmd_line.h index 1091e11..cb704b1 100644 --- a/chrome/common/nacl_cmd_line.h +++ b/chrome/common/nacl_cmd_line.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_NACL_CMD_LINE_H_ #define CHROME_COMMON_NACL_CMD_LINE_H_ +#pragma once #include "base/command_line.h" diff --git a/chrome/common/nacl_messages.h b/chrome/common/nacl_messages.h index 8d360dd..43c20c0 100644 --- a/chrome/common/nacl_messages.h +++ b/chrome/common/nacl_messages.h @@ -6,6 +6,7 @@ #ifndef CHROME_COMMON_NACL_MESSAGES_H_ #define CHROME_COMMON_NACL_MESSAGES_H_ +#pragma once #include <string> diff --git a/chrome/common/nacl_types.h b/chrome/common/nacl_types.h index 5c5f5dc..b61d9ef 100644 --- a/chrome/common/nacl_types.h +++ b/chrome/common/nacl_types.h @@ -5,6 +5,7 @@ // Handle passing definitions for NaCl #ifndef CHROME_COMMON_NACL_TYPES_H_ #define CHROME_COMMON_NACL_TYPES_H_ +#pragma once #if defined(OS_POSIX) #include "base/file_descriptor_posix.h" diff --git a/chrome/common/native_web_keyboard_event.h b/chrome/common/native_web_keyboard_event.h index 381ad31..300a199 100644 --- a/chrome/common/native_web_keyboard_event.h +++ b/chrome/common/native_web_keyboard_event.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_ #define CHROME_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_ +#pragma once #include "base/basictypes.h" #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h" diff --git a/chrome/common/native_window_notification_source.h b/chrome/common/native_window_notification_source.h index 4cc75b8..a8e5cae 100644 --- a/chrome/common/native_window_notification_source.h +++ b/chrome/common/native_window_notification_source.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_NATIVE_WINDOW_NOTIFICATION_SOURCE_H_ #define CHROME_COMMON_NATIVE_WINDOW_NOTIFICATION_SOURCE_H_ +#pragma once #include "chrome/common/notification_source.h" #include "gfx/native_widget_types.h" diff --git a/chrome/common/navigation_gesture.h b/chrome/common/navigation_gesture.h index bb99497..e27ea4c 100644 --- a/chrome/common/navigation_gesture.h +++ b/chrome/common/navigation_gesture.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_NAVIGATION_GESTURE_H_ #define CHROME_COMMON_NAVIGATION_GESTURE_H_ +#pragma once enum NavigationGesture { NavigationGestureUser, // User initiated navigation/load. This is not diff --git a/chrome/common/navigation_types.h b/chrome/common/navigation_types.h index c871201..39c2a98 100644 --- a/chrome/common/navigation_types.h +++ b/chrome/common/navigation_types.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_NAVIGATION_TYPES_H_ #define CHROME_COMMON_NAVIGATION_TYPES_H_ +#pragma once #include "base/basictypes.h" diff --git a/chrome/common/net/gaia/gaia_auth_consumer.h b/chrome/common/net/gaia/gaia_auth_consumer.h index b7b215c..d3adf16 100644 --- a/chrome/common/net/gaia/gaia_auth_consumer.h +++ b/chrome/common/net/gaia/gaia_auth_consumer.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_NET_GAIA_GAIA_AUTH_CONSUMER_H_ #define CHROME_COMMON_NET_GAIA_GAIA_AUTH_CONSUMER_H_ +#pragma once #include <string> diff --git a/chrome/common/net/gaia/gaia_authenticator.h b/chrome/common/net/gaia/gaia_authenticator.h index 89ab8e9..696f403 100644 --- a/chrome/common/net/gaia/gaia_authenticator.h +++ b/chrome/common/net/gaia/gaia_authenticator.h @@ -27,6 +27,7 @@ // artifacts of the sync code which needs to be cleaned up. #ifndef CHROME_COMMON_NET_GAIA_GAIA_AUTHENTICATOR_H_ #define CHROME_COMMON_NET_GAIA_GAIA_AUTHENTICATOR_H_ +#pragma once #include <string> diff --git a/chrome/common/net/gaia/gaia_authenticator2.h b/chrome/common/net/gaia/gaia_authenticator2.h index 0e6c203c..38456b0 100644 --- a/chrome/common/net/gaia/gaia_authenticator2.h +++ b/chrome/common/net/gaia/gaia_authenticator2.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_NET_GAIA_GAIA_AUTHENTICATOR2_H_ #define CHROME_COMMON_NET_GAIA_GAIA_AUTHENTICATOR2_H_ +#pragma once #include <string> diff --git a/chrome/common/net/gaia/gaia_authenticator2_unittest.h b/chrome/common/net/gaia/gaia_authenticator2_unittest.h index d392ee8..85d2507 100644 --- a/chrome/common/net/gaia/gaia_authenticator2_unittest.h +++ b/chrome/common/net/gaia/gaia_authenticator2_unittest.h @@ -7,6 +7,7 @@ #ifndef CHROME_COMMON_NET_GAIA_GAIA_AUTHENTICATOR2_UNITTEST_H_ #define CHROME_COMMON_NET_GAIA_GAIA_AUTHENTICATOR2_UNITTEST_H_ +#pragma once #include "chrome/common/net/gaia/gaia_authenticator2.h" #include "chrome/common/net/url_fetcher.h" diff --git a/chrome/common/net/http_return.h b/chrome/common/net/http_return.h index f47d1bb..7cb7731 100644 --- a/chrome/common/net/http_return.h +++ b/chrome/common/net/http_return.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_NET_HTTP_RETURN_H_ #define CHROME_COMMON_NET_HTTP_RETURN_H_ +#pragma once // TODO(sanjeevr): This has been moved from the sync library so it only // contains a few HTTP return codes. Add more HTTP return codes. diff --git a/chrome/common/net/net_resource_provider.h b/chrome/common/net/net_resource_provider.h index 4965adf..c577075 100644 --- a/chrome/common/net/net_resource_provider.h +++ b/chrome/common/net/net_resource_provider.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_NET_NET_RESOURCE_PROVIDER_H_ #define CHROME_COMMON_NET_NET_RESOURCE_PROVIDER_H_ +#pragma once namespace base { class StringPiece; diff --git a/chrome/common/net/predictor_common.h b/chrome/common/net/predictor_common.h index c1d995f..55653bb 100644 --- a/chrome/common/net/predictor_common.h +++ b/chrome/common/net/predictor_common.h @@ -7,6 +7,7 @@ #ifndef CHROME_COMMON_NET_PREDICTOR_COMMON_H_ #define CHROME_COMMON_NET_PREDICTOR_COMMON_H_ +#pragma once #include <string> #include <vector> diff --git a/chrome/common/net/socket_stream.h b/chrome/common/net/socket_stream.h index 6c1ad92..6999842 100644 --- a/chrome/common/net/socket_stream.h +++ b/chrome/common/net/socket_stream.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_NET_SOCKET_STREAM_H_ #define CHROME_COMMON_NET_SOCKET_STREAM_H_ +#pragma once namespace chrome_common_net { diff --git a/chrome/common/net/test_url_fetcher_factory.h b/chrome/common/net/test_url_fetcher_factory.h index 2e4ea45..3d86466 100644 --- a/chrome/common/net/test_url_fetcher_factory.h +++ b/chrome/common/net/test_url_fetcher_factory.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_NET_TEST_URL_FETCHER_FACTORY_H_ #define CHROME_COMMON_NET_TEST_URL_FETCHER_FACTORY_H_ +#pragma once #include <map> #include <string> diff --git a/chrome/common/net/url_fetcher.h b/chrome/common/net/url_fetcher.h index 9572478..4671ae0 100644 --- a/chrome/common/net/url_fetcher.h +++ b/chrome/common/net/url_fetcher.h @@ -9,6 +9,7 @@ #ifndef CHROME_COMMON_NET_URL_FETCHER_H_ #define CHROME_COMMON_NET_URL_FETCHER_H_ +#pragma once #include <string> diff --git a/chrome/common/net/url_fetcher_protect.h b/chrome/common/net/url_fetcher_protect.h index 0b9c624..95ecf97 100644 --- a/chrome/common/net/url_fetcher_protect.h +++ b/chrome/common/net/url_fetcher_protect.h @@ -7,6 +7,7 @@ #ifndef CHROME_COMMON_NET_URL_FETCHER_PROTECT_H_ #define CHROME_COMMON_NET_URL_FETCHER_PROTECT_H_ +#pragma once #include <map> #include <queue> diff --git a/chrome/common/net/url_request_context_getter.h b/chrome/common/net/url_request_context_getter.h index dcc77b3..34aa668 100644 --- a/chrome/common/net/url_request_context_getter.h +++ b/chrome/common/net/url_request_context_getter.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_NET_URL_REQUEST_CONTEXT_GETTER_H_ #define CHROME_COMMON_NET_URL_REQUEST_CONTEXT_GETTER_H_ +#pragma once #include "base/ref_counted.h" #include "base/task.h" diff --git a/chrome/common/net/url_request_intercept_job.h b/chrome/common/net/url_request_intercept_job.h index 3b7058b..3835fe50 100644 --- a/chrome/common/net/url_request_intercept_job.h +++ b/chrome/common/net/url_request_intercept_job.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_NET_URL_REQUEST_INTERCEPT_JOB_H_ #define CHROME_COMMON_NET_URL_REQUEST_INTERCEPT_JOB_H_ +#pragma once #include <string> diff --git a/chrome/common/notification_details.h b/chrome/common/notification_details.h index 92c1906..4d243cf 100644 --- a/chrome/common/notification_details.h +++ b/chrome/common/notification_details.h @@ -7,6 +7,7 @@ #ifndef CHROME_COMMON_NOTIFICATION_DETAILS_H__ #define CHROME_COMMON_NOTIFICATION_DETAILS_H__ +#pragma once #include "base/basictypes.h" diff --git a/chrome/common/notification_observer.h b/chrome/common/notification_observer.h index 8ad4d4a..b0af25e 100644 --- a/chrome/common/notification_observer.h +++ b/chrome/common/notification_observer.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_NOTIFICATION_OBSERVER_H_ #define CHROME_COMMON_NOTIFICATION_OBSERVER_H_ +#pragma once class NotificationDetails; class NotificationSource; diff --git a/chrome/common/notification_observer_mock.h b/chrome/common/notification_observer_mock.h index 9eeb665..8bd096e 100644 --- a/chrome/common/notification_observer_mock.h +++ b/chrome/common/notification_observer_mock.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_NOTIFICATION_OBSERVER_MOCK_H_ #define CHROME_COMMON_NOTIFICATION_OBSERVER_MOCK_H_ +#pragma once #include "chrome/common/notification_details.h" #include "chrome/common/notification_observer.h" diff --git a/chrome/common/notification_registrar.h b/chrome/common/notification_registrar.h index f8dd743..eb83712 100644 --- a/chrome/common/notification_registrar.h +++ b/chrome/common/notification_registrar.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_NOTIFICATION_REGISTRAR_H_ #define CHROME_COMMON_NOTIFICATION_REGISTRAR_H_ +#pragma once #include <vector> diff --git a/chrome/common/notification_service.h b/chrome/common/notification_service.h index fefc09c..8945c63 100644 --- a/chrome/common/notification_service.h +++ b/chrome/common/notification_service.h @@ -8,6 +8,7 @@ #ifndef CHROME_COMMON_NOTIFICATION_SERVICE_H_ #define CHROME_COMMON_NOTIFICATION_SERVICE_H_ +#pragma once #include <map> diff --git a/chrome/common/notification_source.h b/chrome/common/notification_source.h index 1813c2e..3b4da37 100644 --- a/chrome/common/notification_source.h +++ b/chrome/common/notification_source.h @@ -7,6 +7,7 @@ #ifndef CHROME_COMMON_NOTIFICATION_SOURCE_H__ #define CHROME_COMMON_NOTIFICATION_SOURCE_H__ +#pragma once #include "base/basictypes.h" diff --git a/chrome/common/notification_type.h b/chrome/common/notification_type.h index 9f75bb4..9c69e33 100644 --- a/chrome/common/notification_type.h +++ b/chrome/common/notification_type.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_NOTIFICATION_TYPE_H_ #define CHROME_COMMON_NOTIFICATION_TYPE_H_ +#pragma once // This file describes various types used to describe and filter notifications // that pass through the NotificationService. diff --git a/chrome/common/owned_widget_gtk.h b/chrome/common/owned_widget_gtk.h index 72fadd5..75d87f7 100644 --- a/chrome/common/owned_widget_gtk.h +++ b/chrome/common/owned_widget_gtk.h @@ -48,6 +48,7 @@ #ifndef CHROME_COMMON_OWNED_WIDGET_GTK_H_ #define CHROME_COMMON_OWNED_WIDGET_GTK_H_ +#pragma once #include "base/basictypes.h" diff --git a/chrome/common/page_transition_types.h b/chrome/common/page_transition_types.h index 592fc29..71cd386 100644 --- a/chrome/common/page_transition_types.h +++ b/chrome/common/page_transition_types.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_PAGE_TRANSITION_TYPES_H__ #define CHROME_COMMON_PAGE_TRANSITION_TYPES_H__ +#pragma once #include "base/basictypes.h" diff --git a/chrome/common/page_zoom.h b/chrome/common/page_zoom.h index fa2f5bb..0f3ad65 100644 --- a/chrome/common/page_zoom.h +++ b/chrome/common/page_zoom.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_PAGE_ZOOM_H_ #define CHROME_COMMON_PAGE_ZOOM_H_ +#pragma once class PageZoom { public: diff --git a/chrome/common/pepper_plugin_registry.h b/chrome/common/pepper_plugin_registry.h index a728381..90d0d98 100644 --- a/chrome/common/pepper_plugin_registry.h +++ b/chrome/common/pepper_plugin_registry.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_PEPPER_PLUGIN_REGISTRY_H_ #define CHROME_COMMON_PEPPER_PLUGIN_REGISTRY_H_ +#pragma once #include <string> #include <map> diff --git a/chrome/common/plugin_carbon_interpose_constants_mac.h b/chrome/common/plugin_carbon_interpose_constants_mac.h index 321dd84..967da77 100644 --- a/chrome/common/plugin_carbon_interpose_constants_mac.h +++ b/chrome/common/plugin_carbon_interpose_constants_mac.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_PLUGIN_CARBON_INTERPOSE_CONSTANTS_MAC_H_ #define CHROME_COMMON_PLUGIN_CARBON_INTERPOSE_CONSTANTS_MAC_H_ +#pragma once #if !defined(__LP64__) diff --git a/chrome/common/plugin_group.h b/chrome/common/plugin_group.h index f9f6ce3..e1558ff 100644 --- a/chrome/common/plugin_group.h +++ b/chrome/common/plugin_group.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_PLUGIN_GROUP_H_ #define CHROME_COMMON_PLUGIN_GROUP_H_ +#pragma once #include <set> #include <vector> diff --git a/chrome/common/plugin_messages.h b/chrome/common/plugin_messages.h index 82116d8..315a5d3 100644 --- a/chrome/common/plugin_messages.h +++ b/chrome/common/plugin_messages.h @@ -9,6 +9,7 @@ #ifndef CHROME_COMMON_PLUGIN_MESSAGES_H_ #define CHROME_COMMON_PLUGIN_MESSAGES_H_ +#pragma once #include <string> #include <vector> diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h index 0e98f18..0e178ce 100644 --- a/chrome/common/pref_names.h +++ b/chrome/common/pref_names.h @@ -6,6 +6,7 @@ #ifndef CHROME_COMMON_PREF_NAMES_H_ #define CHROME_COMMON_PREF_NAMES_H_ +#pragma once #include "build/build_config.h" diff --git a/chrome/common/pref_store.h b/chrome/common/pref_store.h index 959c412..d5acd89 100644 --- a/chrome/common/pref_store.h +++ b/chrome/common/pref_store.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_PREF_STORE_H_ #define CHROME_COMMON_PREF_STORE_H_ +#pragma once class DictionaryValue; diff --git a/chrome/common/process_watcher.h b/chrome/common/process_watcher.h index f764c4f..f28eca6 100644 --- a/chrome/common/process_watcher.h +++ b/chrome/common/process_watcher.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_PROCESS_WATCHER_H_ #define CHROME_COMMON_PROCESS_WATCHER_H_ +#pragma once #include "build/build_config.h" diff --git a/chrome/common/property_bag.h b/chrome/common/property_bag.h index 778d0b9..dffcf7c 100644 --- a/chrome/common/property_bag.h +++ b/chrome/common/property_bag.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_PROPERTY_BAG_H_ #define CHROME_COMMON_PROPERTY_BAG_H_ +#pragma once #include <map> diff --git a/chrome/common/ref_counted_util.h b/chrome/common/ref_counted_util.h index b04580e..38d913b 100644 --- a/chrome/common/ref_counted_util.h +++ b/chrome/common/ref_counted_util.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_REF_COUNTED_UTIL_H__ #define CHROME_COMMON_REF_COUNTED_UTIL_H__ +#pragma once #include "base/ref_counted.h" #include <vector> diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h index eac360f..c94ac98 100644 --- a/chrome/common/render_messages.h +++ b/chrome/common/render_messages.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ #define CHROME_COMMON_RENDER_MESSAGES_H_ +#pragma once #include <map> #include <string> diff --git a/chrome/common/renderer_preferences.h b/chrome/common/renderer_preferences.h index 7a55b17..dd57866 100644 --- a/chrome/common/renderer_preferences.h +++ b/chrome/common/renderer_preferences.h @@ -11,6 +11,7 @@ #ifndef CHROME_COMMON_RENDERER_PREFERENCES_H_ #define CHROME_COMMON_RENDERER_PREFERENCES_H_ +#pragma once #include "third_party/skia/include/core/SkColor.h" diff --git a/chrome/common/resource_dispatcher.h b/chrome/common/resource_dispatcher.h index c98b11a..613b7b5 100644 --- a/chrome/common/resource_dispatcher.h +++ b/chrome/common/resource_dispatcher.h @@ -6,6 +6,7 @@ #ifndef CHROME_COMMON_RESOURCE_DISPATCHER_H__ #define CHROME_COMMON_RESOURCE_DISPATCHER_H__ +#pragma once #include <deque> #include <string> diff --git a/chrome/common/resource_response.h b/chrome/common/resource_response.h index 1c9b766..368e410d 100644 --- a/chrome/common/resource_response.h +++ b/chrome/common/resource_response.h @@ -6,6 +6,7 @@ #ifndef CHROME_COMMON_RESOURCE_RESPONSE_H_ #define CHROME_COMMON_RESOURCE_RESPONSE_H_ +#pragma once #include <string> diff --git a/chrome/common/result_codes.h b/chrome/common/result_codes.h index 6ca19b8..0b4bc3c 100644 --- a/chrome/common/result_codes.h +++ b/chrome/common/result_codes.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_RESULT_CODES_H_ #define CHROME_COMMON_RESULT_CODES_H_ +#pragma once #include "base/process_util.h" diff --git a/chrome/common/sandbox_init_wrapper.h b/chrome/common/sandbox_init_wrapper.h index d1652d2..56716fc 100644 --- a/chrome/common/sandbox_init_wrapper.h +++ b/chrome/common/sandbox_init_wrapper.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_SANDBOX_INIT_WRAPPER_H_ #define CHROME_COMMON_SANDBOX_INIT_WRAPPER_H_ +#pragma once // Wraps the sandbox initialization and platform variables to consolodate // the code and reduce the number of platform ifdefs elsewhere. The POSIX diff --git a/chrome/common/sandbox_mac.h b/chrome/common/sandbox_mac.h index 249eaa3..add08a8 100644 --- a/chrome/common/sandbox_mac.h +++ b/chrome/common/sandbox_mac.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_SANDBOX_MAC_H_ #define CHROME_COMMON_SANDBOX_MAC_H_ +#pragma once #include "base/file_path.h" diff --git a/chrome/common/sandbox_mac_unittest_helper.h b/chrome/common/sandbox_mac_unittest_helper.h index 3e24009..adf6401 100644 --- a/chrome/common/sandbox_mac_unittest_helper.h +++ b/chrome/common/sandbox_mac_unittest_helper.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_SANDBOX_MAC_UNITTEST_RUNNER_H_ #define CHROME_COMMON_SANDBOX_MAC_UNITTEST_RUNNER_H_ +#pragma once #include "base/multiprocess_test.h" #include "chrome/common/sandbox_mac.h" diff --git a/chrome/common/sandbox_methods_linux.h b/chrome/common/sandbox_methods_linux.h index 254ba62..08cb00b 100644 --- a/chrome/common/sandbox_methods_linux.h +++ b/chrome/common/sandbox_methods_linux.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_SANDBOX_METHODS_LINUX_H_ #define CHROME_COMMON_SANDBOX_METHODS_LINUX_H_ +#pragma once // This is a list of sandbox IPC methods which the renderer may send to the // sandbox host. See http://code.google.com/p/chromium/LinuxSandboxIPC diff --git a/chrome/common/sandbox_policy.h b/chrome/common/sandbox_policy.h index 46ab7bf..ce8777d 100644 --- a/chrome/common/sandbox_policy.h +++ b/chrome/common/sandbox_policy.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_SANDBOX_POLICY_H_ #define CHROME_COMMON_SANDBOX_POLICY_H_ +#pragma once #include "base/process.h" #include "base/file_path.h" diff --git a/chrome/common/security_filter_peer.h b/chrome/common/security_filter_peer.h index b52af0c..5ab98f1 100644 --- a/chrome/common/security_filter_peer.h +++ b/chrome/common/security_filter_peer.h @@ -5,6 +5,7 @@ #ifndef CHROME_COMMON_SECURITY_FILTER_PEER_H__ #define CHROME_COMMON_SECURITY_FILTER_PEER_H__ +#pragma once #include "webkit/glue/resource_loader_bridge.h" diff --git a/chrome/common/serialized_script_value.h b/chrome/common/serialized_script_value.h index e464134..794d410 100644 --- a/chrome/common/serialized_script_value.h +++ b/chrome/common/serialized_script_value.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_SERIALIZED_SCRIPT_VALUE_H_ #define CHROME_COMMON_SERIALIZED_SCRIPT_VALUE_H_ +#pragma once #include "base/string16.h" #include "third_party/WebKit/WebKit/chromium/public/WebSerializedScriptValue.h" diff --git a/chrome/common/socket_stream_dispatcher.h b/chrome/common/socket_stream_dispatcher.h index 8e3bbe4..2640ed4 100644 --- a/chrome/common/socket_stream_dispatcher.h +++ b/chrome/common/socket_stream_dispatcher.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_SOCKET_STREAM_DISPATCHER_H_ #define CHROME_COMMON_SOCKET_STREAM_DISPATCHER_H_ +#pragma once #include <vector> diff --git a/chrome/common/spellcheck_common.h b/chrome/common/spellcheck_common.h index 5c2569e..9074e16 100644 --- a/chrome/common/spellcheck_common.h +++ b/chrome/common/spellcheck_common.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_SPELLCHECK_COMMON_H_ #define CHROME_COMMON_SPELLCHECK_COMMON_H_ +#pragma once #include <string> #include <vector> diff --git a/chrome/common/sqlite_compiled_statement.h b/chrome/common/sqlite_compiled_statement.h index 01b7f1e..edc60de 100644 --- a/chrome/common/sqlite_compiled_statement.h +++ b/chrome/common/sqlite_compiled_statement.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_SQLITE_COMPILED_STATEMENT_H_ #define CHROME_COMMON_SQLITE_COMPILED_STATEMENT_H_ +#pragma once #include <map> #include <string> diff --git a/chrome/common/sqlite_utils.h b/chrome/common/sqlite_utils.h index f7351a2..12824a6 100644 --- a/chrome/common/sqlite_utils.h +++ b/chrome/common/sqlite_utils.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_SQLITE_UTILS_H_ #define CHROME_COMMON_SQLITE_UTILS_H_ +#pragma once #include <string> #include <vector> diff --git a/chrome/common/task_queue.h b/chrome/common/task_queue.h index 9e1c817a..9c0b33c 100644 --- a/chrome/common/task_queue.h +++ b/chrome/common/task_queue.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_TASK_QUEUE_H__ #define CHROME_COMMON_TASK_QUEUE_H__ +#pragma once #include <deque> diff --git a/chrome/common/thumbnail_score.h b/chrome/common/thumbnail_score.h index c3a5a90..30bcf8f 100644 --- a/chrome/common/thumbnail_score.h +++ b/chrome/common/thumbnail_score.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_THUMBNAIL_SCORE_H_ #define CHROME_COMMON_THUMBNAIL_SCORE_H_ +#pragma once #include "base/time.h" diff --git a/chrome/common/time_format.h b/chrome/common/time_format.h index c04ed62..6045cef 100644 --- a/chrome/common/time_format.h +++ b/chrome/common/time_format.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_TIME_FORMAT_H__ #define CHROME_COMMON_TIME_FORMAT_H__ +#pragma once // This file defines methods to format time values as strings. diff --git a/chrome/common/translate_errors.h b/chrome/common/translate_errors.h index 1c6ea8a..33e5c3d 100644 --- a/chrome/common/translate_errors.h +++ b/chrome/common/translate_errors.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_TRANSLATE_ERRORS_H_ #define CHROME_COMMON_TRANSLATE_ERRORS_H_ +#pragma once // This file consolidates all the error types for translation of a page. diff --git a/chrome/common/url_constants.h b/chrome/common/url_constants.h index 216ffb1..f8c6fd4 100644 --- a/chrome/common/url_constants.h +++ b/chrome/common/url_constants.h @@ -6,6 +6,7 @@ #ifndef CHROME_COMMON_URL_CONSTANTS_H_ #define CHROME_COMMON_URL_CONSTANTS_H_ +#pragma once namespace chrome { diff --git a/chrome/common/utility_messages.h b/chrome/common/utility_messages.h index 867131f..d5ebe4d 100644 --- a/chrome/common/utility_messages.h +++ b/chrome/common/utility_messages.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_UTILITY_MESSAGES_H_ #define CHROME_COMMON_UTILITY_MESSAGES_H_ +#pragma once #include <string> #include <vector> diff --git a/chrome/common/view_types.h b/chrome/common/view_types.h index 697ebbd..2947a29 100644 --- a/chrome/common/view_types.h +++ b/chrome/common/view_types.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_VIEW_TYPES_H_ #define CHROME_COMMON_VIEW_TYPES_H_ +#pragma once #include "base/basictypes.h" diff --git a/chrome/common/visitedlink_common.h b/chrome/common/visitedlink_common.h index 546bd4f..f68015f 100644 --- a/chrome/common/visitedlink_common.h +++ b/chrome/common/visitedlink_common.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_VISITEDLINK_COMMON_H__ #define CHROME_COMMON_VISITEDLINK_COMMON_H__ +#pragma once #include <vector> diff --git a/chrome/common/web_database_observer_impl.h b/chrome/common/web_database_observer_impl.h index 3f5e80b..dced3df 100644 --- a/chrome/common/web_database_observer_impl.h +++ b/chrome/common/web_database_observer_impl.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_WEB_DATABASE_OBSERVER_IMPL_H_ #define CHROME_COMMON_WEB_DATABASE_OBSERVER_IMPL_H_ +#pragma once #include "ipc/ipc_message.h" #include "third_party/WebKit/WebKit/chromium/public/WebDatabaseObserver.h" diff --git a/chrome/common/web_resource/web_resource_unpacker.h b/chrome/common/web_resource/web_resource_unpacker.h index f07c06f..3b89a61 100644 --- a/chrome/common/web_resource/web_resource_unpacker.h +++ b/chrome/common/web_resource/web_resource_unpacker.h @@ -11,6 +11,7 @@ #ifndef CHROME_COMMON_WEB_RESOURCE_WEB_RESOURCE_UNPACKER_H_ #define CHROME_COMMON_WEB_RESOURCE_WEB_RESOURCE_UNPACKER_H_ +#pragma once #include <string> diff --git a/chrome/common/webkit_param_traits.h b/chrome/common/webkit_param_traits.h index e277e38..d6c8ea3 100644 --- a/chrome/common/webkit_param_traits.h +++ b/chrome/common/webkit_param_traits.h @@ -22,6 +22,7 @@ #ifndef CHROME_COMMON_WEBKIT_PARAM_TRAITS_H_ #define CHROME_COMMON_WEBKIT_PARAM_TRAITS_H_ +#pragma once #include "ipc/ipc_message_utils.h" #include "third_party/WebKit/WebKit/chromium/public/WebCache.h" diff --git a/chrome/common/webmessageportchannel_impl.h b/chrome/common/webmessageportchannel_impl.h index da52b9d..24e7ddc 100644 --- a/chrome/common/webmessageportchannel_impl.h +++ b/chrome/common/webmessageportchannel_impl.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_WEBMESSAGEPORTCHANNEL_IMPL_H_ #define CHROME_COMMON_WEBMESSAGEPORTCHANNEL_IMPL_H_ +#pragma once #include <queue> #include <vector> diff --git a/chrome/common/win_safe_util.h b/chrome/common/win_safe_util.h index d9c7097..dee073d 100644 --- a/chrome/common/win_safe_util.h +++ b/chrome/common/win_safe_util.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_WIN_SAFE_UTIL_H__ #define CHROME_COMMON_WIN_SAFE_UTIL_H__ +#pragma once #include <string> #include <windows.h> diff --git a/chrome/common/window_container_type.h b/chrome/common/window_container_type.h index 303d1cc..5db1d0e 100644 --- a/chrome/common/window_container_type.h +++ b/chrome/common/window_container_type.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_WINDOW_CONTAINER_TYPE_H_ #define CHROME_COMMON_WINDOW_CONTAINER_TYPE_H_ +#pragma once namespace WebKit { diff --git a/chrome/common/worker_messages.h b/chrome/common/worker_messages.h index 1228ba3..ba2e24d 100644 --- a/chrome/common/worker_messages.h +++ b/chrome/common/worker_messages.h @@ -7,6 +7,7 @@ #ifndef CHROME_COMMON_WORKER_MESSAGES_H_ #define CHROME_COMMON_WORKER_MESSAGES_H_ +#pragma once #include <string> #include <vector> diff --git a/chrome/common/worker_thread_ticker.h b/chrome/common/worker_thread_ticker.h index bb39c3b..d392749 100644 --- a/chrome/common/worker_thread_ticker.h +++ b/chrome/common/worker_thread_ticker.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_WORKER_THREAD_TICKER_H_ #define CHROME_COMMON_WORKER_THREAD_TICKER_H_ +#pragma once #include <vector> diff --git a/chrome/common/zip.h b/chrome/common/zip.h index 2c3d456..1fbb9e3 100644 --- a/chrome/common/zip.h +++ b/chrome/common/zip.h @@ -4,6 +4,7 @@ #ifndef CHROME_COMMON_ZIP_H_ #define CHROME_COMMON_ZIP_H_ +#pragma once #include <vector> |