diff options
Diffstat (limited to 'chrome/installer')
41 files changed, 41 insertions, 0 deletions
diff --git a/chrome/installer/gcapi/gcapi.h b/chrome/installer/gcapi/gcapi.h index d5ec020..dea875f 100644 --- a/chrome/installer/gcapi/gcapi.h +++ b/chrome/installer/gcapi/gcapi.h @@ -4,6 +4,7 @@ #ifndef CHROME_INSTALLER_GCAPI_GCAPI_H_ #define CHROME_INSTALLER_GCAPI_GCAPI_H_ +#pragma once #include <windows.h> diff --git a/chrome/installer/gcapi/resource.h b/chrome/installer/gcapi/resource.h index 45d46cb..7066331 100644 --- a/chrome/installer/gcapi/resource.h +++ b/chrome/installer/gcapi/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/mini_installer/appid.h b/chrome/installer/mini_installer/appid.h index 6403f9b..bd23b19 100644 --- a/chrome/installer/mini_installer/appid.h +++ b/chrome/installer/mini_installer/appid.h @@ -4,6 +4,7 @@ #ifndef CHROME_INSTALLER_MINI_INSTALLER_APPID_H_ #define CHROME_INSTALLER_MINI_INSTALLER_APPID_H_ +#pragma once // The appid included by the mini_installer. namespace google_update { diff --git a/chrome/installer/mini_installer/mini_installer.h b/chrome/installer/mini_installer/mini_installer.h index 45dc09b..99742a7 100644 --- a/chrome/installer/mini_installer/mini_installer.h +++ b/chrome/installer/mini_installer/mini_installer.h @@ -4,6 +4,7 @@ #ifndef CHROME_INSTALLER_MINI_INSTALLER_MINI_INSTALLER_H_ #define CHROME_INSTALLER_MINI_INSTALLER_MINI_INSTALLER_H_ +#pragma once // The windows command line to uncompress a LZ compressed file. It is a define // because we need the string to be writable. We don't need the full path diff --git a/chrome/installer/mini_installer/mini_installer_resource.h b/chrome/installer/mini_installer/mini_installer_resource.h index 1ac4b2b..77b813c 100644 --- a/chrome/installer/mini_installer/mini_installer_resource.h +++ b/chrome/installer/mini_installer/mini_installer_resource.h @@ -14,6 +14,7 @@ #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_NO_MFC 1 +#pragma once #define _APS_NEXT_RESOURCE_VALUE 129 #define _APS_NEXT_COMMAND_VALUE 32771 #define _APS_NEXT_CONTROL_VALUE 1000 diff --git a/chrome/installer/mini_installer/pe_resource.h b/chrome/installer/mini_installer/pe_resource.h index 288bdfc..829b6a3 100644 --- a/chrome/installer/mini_installer/pe_resource.h +++ b/chrome/installer/mini_installer/pe_resource.h @@ -4,6 +4,7 @@ #ifndef CHROME_INSTALLER_MINI_INSTALLER_PE_RESOURCE_H_ #define CHROME_INSTALLER_MINI_INSTALLER_PE_RESOURCE_H_ +#pragma once #include <windows.h> diff --git a/chrome/installer/setup/install.h b/chrome/installer/setup/install.h index 305819a..f76774aa 100644 --- a/chrome/installer/setup/install.h +++ b/chrome/installer/setup/install.h @@ -6,6 +6,7 @@ #ifndef CHROME_INSTALLER_SETUP_INSTALL_H_ #define CHROME_INSTALLER_SETUP_INSTALL_H_ +#pragma once #include <base/values.h> diff --git a/chrome/installer/setup/setup_constants.h b/chrome/installer/setup/setup_constants.h index c25dd7a..aa15381 100644 --- a/chrome/installer/setup/setup_constants.h +++ b/chrome/installer/setup/setup_constants.h @@ -6,6 +6,7 @@ #ifndef CHROME_INSTALLER_SETUP_SETUP_CONSTANTS_H__ #define CHROME_INSTALLER_SETUP_SETUP_CONSTANTS_H__ +#pragma once namespace installer { diff --git a/chrome/installer/setup/setup_resource.h b/chrome/installer/setup/setup_resource.h index 93f8264..77803d4 100644 --- a/chrome/installer/setup/setup_resource.h +++ b/chrome/installer/setup/setup_resource.h @@ -13,6 +13,7 @@ #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_NEXT_RESOURCE_VALUE 103 +#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/setup/setup_util.h b/chrome/installer/setup/setup_util.h index 350894d..39118cc 100644 --- a/chrome/installer/setup/setup_util.h +++ b/chrome/installer/setup/setup_util.h @@ -6,6 +6,7 @@ #ifndef CHROME_INSTALLER_SETUP_SETUP_UTIL_H_ #define CHROME_INSTALLER_SETUP_SETUP_UTIL_H_ +#pragma once #include "chrome/installer/util/version.h" diff --git a/chrome/installer/setup/uninstall.h b/chrome/installer/setup/uninstall.h index a2320ad..6c6513a4d 100644 --- a/chrome/installer/setup/uninstall.h +++ b/chrome/installer/setup/uninstall.h @@ -6,6 +6,7 @@ #ifndef CHROME_INSTALLER_SETUP_UNINSTALL_H_ #define CHROME_INSTALLER_SETUP_UNINSTALL_H_ +#pragma once #include <string> 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> |