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/installer/util | |
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/installer/util')
30 files changed, 30 insertions, 0 deletions
diff --git a/chrome/installer/util/browser_distribution.h b/chrome/installer/util/browser_distribution.h index bedfee4..e829969 100644 --- a/chrome/installer/util/browser_distribution.h +++ b/chrome/installer/util/browser_distribution.h @@ -6,6 +6,7 @@ #ifndef CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ #define CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ +#pragma once #include "base/basictypes.h" #include "chrome/installer/util/util_constants.h" diff --git a/chrome/installer/util/chrome_frame_distribution.h b/chrome/installer/util/chrome_frame_distribution.h index 0b3bda4e..f42d41f 100644 --- a/chrome/installer/util/chrome_frame_distribution.h +++ b/chrome/installer/util/chrome_frame_distribution.h @@ -7,6 +7,7 @@ #ifndef CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ #define CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ +#pragma once #include <string> diff --git a/chrome/installer/util/compat_checks.h b/chrome/installer/util/compat_checks.h index c489208..7e45ee7 100644 --- a/chrome/installer/util/compat_checks.h +++ b/chrome/installer/util/compat_checks.h @@ -4,6 +4,7 @@ #ifndef CHROME_INSTALLER_UTIL_COMPAT_CHECKS_H_ #define CHROME_INSTALLER_UTIL_COMPAT_CHECKS_H_ +#pragma once // Returns true if this computer has a Symantec End Point version that // is known to cause trouble. Non- null parameters are only used in testing. diff --git a/chrome/installer/util/copy_tree_work_item.h b/chrome/installer/util/copy_tree_work_item.h index b899324..4d9a984 100644 --- a/chrome/installer/util/copy_tree_work_item.h +++ b/chrome/installer/util/copy_tree_work_item.h @@ -4,6 +4,7 @@ #ifndef CHROME_INSTALLER_UTIL_COPY_TREE_WORK_ITEM_H_ #define CHROME_INSTALLER_UTIL_COPY_TREE_WORK_ITEM_H_ +#pragma once #include <string> #include <windows.h> diff --git a/chrome/installer/util/create_dir_work_item.h b/chrome/installer/util/create_dir_work_item.h index 2995a3d..0357efe 100644 --- a/chrome/installer/util/create_dir_work_item.h +++ b/chrome/installer/util/create_dir_work_item.h @@ -4,6 +4,7 @@ #ifndef CHROME_INSTALLER_UTIL_CREATE_DIR_WORK_ITEM_H_ #define CHROME_INSTALLER_UTIL_CREATE_DIR_WORK_ITEM_H_ +#pragma once #include <string> #include <windows.h> diff --git a/chrome/installer/util/create_reg_key_work_item.h b/chrome/installer/util/create_reg_key_work_item.h index 97ea275..2cd5115 100644 --- a/chrome/installer/util/create_reg_key_work_item.h +++ b/chrome/installer/util/create_reg_key_work_item.h @@ -4,6 +4,7 @@ #ifndef CHROME_INSTALLER_UTIL_CREATE_REG_KEY_WORK_ITEM_H__ #define CHROME_INSTALLER_UTIL_CREATE_REG_KEY_WORK_ITEM_H__ +#pragma once #include <string> #include <vector> diff --git a/chrome/installer/util/delete_after_reboot_helper.h b/chrome/installer/util/delete_after_reboot_helper.h index a022fb5..10d2f0a 100644 --- a/chrome/installer/util/delete_after_reboot_helper.h +++ b/chrome/installer/util/delete_after_reboot_helper.h @@ -7,6 +7,7 @@ #ifndef CHROME_INSTALLER_UTIL_DELETE_AFTER_REBOOT_HELPER_H_ #define CHROME_INSTALLER_UTIL_DELETE_AFTER_REBOOT_HELPER_H_ +#pragma once #include <string> #include <vector> diff --git a/chrome/installer/util/delete_reg_value_work_item.h b/chrome/installer/util/delete_reg_value_work_item.h index e259422..e04d4e4 100644 --- a/chrome/installer/util/delete_reg_value_work_item.h +++ b/chrome/installer/util/delete_reg_value_work_item.h @@ -4,6 +4,7 @@ #ifndef CHROME_INSTALLER_UTIL_DELETE_REG_VALUE_WORK_ITEM_H_ #define CHROME_INSTALLER_UTIL_DELETE_REG_VALUE_WORK_ITEM_H_ +#pragma once #include <string> #include <windows.h> diff --git a/chrome/installer/util/delete_tree_work_item.h b/chrome/installer/util/delete_tree_work_item.h index b5bcb50..30ab328 100644 --- a/chrome/installer/util/delete_tree_work_item.h +++ b/chrome/installer/util/delete_tree_work_item.h @@ -4,6 +4,7 @@ #ifndef CHROME_INSTALLER_UTIL_DELETE_TREE_WORK_ITEM_H_ #define CHROME_INSTALLER_UTIL_DELETE_TREE_WORK_ITEM_H_ +#pragma once #include <string> #include <windows.h> diff --git a/chrome/installer/util/google_chrome_distribution.h b/chrome/installer/util/google_chrome_distribution.h index 1280fc8..a8eb493 100644 --- a/chrome/installer/util/google_chrome_distribution.h +++ b/chrome/installer/util/google_chrome_distribution.h @@ -7,6 +7,7 @@ #ifndef CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ #define CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ +#pragma once #include "base/gtest_prod_util.h" #include "chrome/installer/util/browser_distribution.h" diff --git a/chrome/installer/util/google_chrome_sxs_distribution.h b/chrome/installer/util/google_chrome_sxs_distribution.h index 7b1d408..8a53d34 100644 --- a/chrome/installer/util/google_chrome_sxs_distribution.h +++ b/chrome/installer/util/google_chrome_sxs_distribution.h @@ -4,6 +4,7 @@ #ifndef CHROME_INSTALLER_UTIL_GOOGLE_CHROME_SXS_DISTRIBUTION_H_ #define CHROME_INSTALLER_UTIL_GOOGLE_CHROME_SXS_DISTRIBUTION_H_ +#pragma once #include "chrome/installer/util/browser_distribution.h" #include "chrome/installer/util/google_chrome_distribution.h" diff --git a/chrome/installer/util/google_update_constants.h b/chrome/installer/util/google_update_constants.h index 90e8e3d..a8db2b5 100644 --- a/chrome/installer/util/google_update_constants.h +++ b/chrome/installer/util/google_update_constants.h @@ -6,6 +6,7 @@ #ifndef CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_ #define CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_ +#pragma once namespace google_update { diff --git a/chrome/installer/util/google_update_settings.h b/chrome/installer/util/google_update_settings.h index 522b96b..6e12cb66 100644 --- a/chrome/installer/util/google_update_settings.h +++ b/chrome/installer/util/google_update_settings.h @@ -4,6 +4,7 @@ #ifndef CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_SETTINGS_H_ #define CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_SETTINGS_H_ +#pragma once #include <string> diff --git a/chrome/installer/util/helper.h b/chrome/installer/util/helper.h index 132d718..dd4c3b8 100644 --- a/chrome/installer/util/helper.h +++ b/chrome/installer/util/helper.h @@ -6,6 +6,7 @@ #ifndef CHROME_INSTALLER_UTIL_HELPER_H_ #define CHROME_INSTALLER_UTIL_HELPER_H_ +#pragma once #include <string> diff --git a/chrome/installer/util/html_dialog.h b/chrome/installer/util/html_dialog.h index 468237e0..325d978 100644 --- a/chrome/installer/util/html_dialog.h +++ b/chrome/installer/util/html_dialog.h @@ -4,6 +4,7 @@ #ifndef CHROME_INSTALLER_UTIL_HTML_DIALOG_H_ #define CHROME_INSTALLER_UTIL_HTML_DIALOG_H_ +#pragma once #include <string> diff --git a/chrome/installer/util/install_util.h b/chrome/installer/util/install_util.h index 2e5e405..0f5119a 100644 --- a/chrome/installer/util/install_util.h +++ b/chrome/installer/util/install_util.h @@ -8,6 +8,7 @@ #ifndef CHROME_INSTALLER_UTIL_INSTALL_UTIL_H__ #define CHROME_INSTALLER_UTIL_INSTALL_UTIL_H__ +#pragma once #include <tchar.h> #include <windows.h> diff --git a/chrome/installer/util/installer_util_unittests_resource.h b/chrome/installer/util/installer_util_unittests_resource.h index d66d62f..6fdd6ab 100644 --- a/chrome/installer/util/installer_util_unittests_resource.h +++ b/chrome/installer/util/installer_util_unittests_resource.h @@ -11,6 +11,7 @@ #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_NEXT_RESOURCE_VALUE 101 +#pragma once #define _APS_NEXT_COMMAND_VALUE 40001 #define _APS_NEXT_CONTROL_VALUE 1001 #define _APS_NEXT_SYMED_VALUE 101 diff --git a/chrome/installer/util/l10n_string_util.h b/chrome/installer/util/l10n_string_util.h index b12fff3..720655e 100644 --- a/chrome/installer/util/l10n_string_util.h +++ b/chrome/installer/util/l10n_string_util.h @@ -12,6 +12,7 @@ #ifndef CHROME_INSTALLER_UTIL_L10N_STRING_UTIL_H_ #define CHROME_INSTALLER_UTIL_L10N_STRING_UTIL_H_ +#pragma once #include <string> diff --git a/chrome/installer/util/logging_installer.h b/chrome/installer/util/logging_installer.h index 336d0c4..c2b0a96 100644 --- a/chrome/installer/util/logging_installer.h +++ b/chrome/installer/util/logging_installer.h @@ -4,6 +4,7 @@ #ifndef CHROME_INSTALLER_UTIL_LOGGING_INSTALLER_H_ #define CHROME_INSTALLER_UTIL_LOGGING_INSTALLER_H_ +#pragma once #include <string> diff --git a/chrome/installer/util/lzma_util.h b/chrome/installer/util/lzma_util.h index 01bd29e..765bc19 100644 --- a/chrome/installer/util/lzma_util.h +++ b/chrome/installer/util/lzma_util.h @@ -4,6 +4,7 @@ #ifndef CHROME_INSTALLER_UTIL_LZMA_UTIL_H_ #define CHROME_INSTALLER_UTIL_LZMA_UTIL_H_ +#pragma once #include <string> #include <windows.h> diff --git a/chrome/installer/util/master_preferences.h b/chrome/installer/util/master_preferences.h index 8d64be5..b623c3a 100644 --- a/chrome/installer/util/master_preferences.h +++ b/chrome/installer/util/master_preferences.h @@ -7,6 +7,7 @@ #ifndef CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_ #define CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_ +#pragma once #include <vector> diff --git a/chrome/installer/util/master_preferences_constants.h b/chrome/installer/util/master_preferences_constants.h index c125277..9e626f2 100644 --- a/chrome/installer/util/master_preferences_constants.h +++ b/chrome/installer/util/master_preferences_constants.h @@ -7,6 +7,7 @@ #ifndef CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ #define CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ +#pragma once namespace installer_util { namespace master_preferences { diff --git a/chrome/installer/util/move_tree_work_item.h b/chrome/installer/util/move_tree_work_item.h index cfa86c4..98fe679 100644 --- a/chrome/installer/util/move_tree_work_item.h +++ b/chrome/installer/util/move_tree_work_item.h @@ -4,6 +4,7 @@ #ifndef CHROME_INSTALLER_UTIL_MOVE_TREE_WORK_ITEM_H_ #define CHROME_INSTALLER_UTIL_MOVE_TREE_WORK_ITEM_H_ +#pragma once #include <string> #include <windows.h> diff --git a/chrome/installer/util/self_reg_work_item.h b/chrome/installer/util/self_reg_work_item.h index ae2041b..a8531e2 100644 --- a/chrome/installer/util/self_reg_work_item.h +++ b/chrome/installer/util/self_reg_work_item.h @@ -4,6 +4,7 @@ #ifndef CHROME_INSTALLER_UTIL_SELF_REG_WORK_ITEM_H__ #define CHROME_INSTALLER_UTIL_SELF_REG_WORK_ITEM_H__ +#pragma once #include <windows.h> #include <string> diff --git a/chrome/installer/util/set_reg_value_work_item.h b/chrome/installer/util/set_reg_value_work_item.h index 7eac895..dc88991 100644 --- a/chrome/installer/util/set_reg_value_work_item.h +++ b/chrome/installer/util/set_reg_value_work_item.h @@ -4,6 +4,7 @@ #ifndef CHROME_INSTALLER_UTIL_SET_REG_VALUE_WORK_ITEM_H__ #define CHROME_INSTALLER_UTIL_SET_REG_VALUE_WORK_ITEM_H__ +#pragma once #include <string> #include <windows.h> diff --git a/chrome/installer/util/shell_util.h b/chrome/installer/util/shell_util.h index 9514c1f..ad72f64 100644 --- a/chrome/installer/util/shell_util.h +++ b/chrome/installer/util/shell_util.h @@ -8,6 +8,7 @@ #ifndef CHROME_INSTALLER_UTIL_SHELL_UTIL_H_ #define CHROME_INSTALLER_UTIL_SHELL_UTIL_H_ +#pragma once #include <windows.h> #include <map> diff --git a/chrome/installer/util/util_constants.h b/chrome/installer/util/util_constants.h index 1b8207e..ddecd71 100644 --- a/chrome/installer/util/util_constants.h +++ b/chrome/installer/util/util_constants.h @@ -7,6 +7,7 @@ #ifndef CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ #define CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ +#pragma once namespace installer_util { diff --git a/chrome/installer/util/version.h b/chrome/installer/util/version.h index 980fe05..72e8271 100644 --- a/chrome/installer/util/version.h +++ b/chrome/installer/util/version.h @@ -4,6 +4,7 @@ #ifndef CHROME_INSTALLER_UTIL_VERSION_H_ #define CHROME_INSTALLER_UTIL_VERSION_H_ +#pragma once #include "base/basictypes.h" #include "base/string16.h" diff --git a/chrome/installer/util/work_item.h b/chrome/installer/util/work_item.h index 9a61363..c550adb 100644 --- a/chrome/installer/util/work_item.h +++ b/chrome/installer/util/work_item.h @@ -8,6 +8,7 @@ #ifndef CHROME_INSTALLER_UTIL_WORK_ITEM_H_ #define CHROME_INSTALLER_UTIL_WORK_ITEM_H_ +#pragma once #include <windows.h> #include <string> diff --git a/chrome/installer/util/work_item_list.h b/chrome/installer/util/work_item_list.h index 1390701..4ed9a59 100644 --- a/chrome/installer/util/work_item_list.h +++ b/chrome/installer/util/work_item_list.h @@ -4,6 +4,7 @@ #ifndef CHROME_INSTALLER_UTIL_WORK_ITEM_LIST_H_ #define CHROME_INSTALLER_UTIL_WORK_ITEM_LIST_H_ +#pragma once #include <windows.h> |