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/browser/autofill | |
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/browser/autofill')
35 files changed, 35 insertions, 0 deletions
diff --git a/chrome/browser/autofill/address.h b/chrome/browser/autofill/address.h index 80ba9fb..1f826ee 100644 --- a/chrome/browser/autofill/address.h +++ b/chrome/browser/autofill/address.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_ADDRESS_H_ #define CHROME_BROWSER_AUTOFILL_ADDRESS_H_ +#pragma once #include <vector> diff --git a/chrome/browser/autofill/address_field.h b/chrome/browser/autofill/address_field.h index 7629b45..6b93ead 100644 --- a/chrome/browser/autofill/address_field.h +++ b/chrome/browser/autofill/address_field.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_ADDRESS_FIELD_H_ #define CHROME_BROWSER_AUTOFILL_ADDRESS_FIELD_H_ +#pragma once #include <vector> diff --git a/chrome/browser/autofill/autofill_address_model_mac.h b/chrome/browser/autofill/autofill_address_model_mac.h index b84408f..230db90 100644 --- a/chrome/browser/autofill/autofill_address_model_mac.h +++ b/chrome/browser/autofill/autofill_address_model_mac.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_ADDRESS_MODEL_MAC_ #define CHROME_BROWSER_AUTOFILL_AUTOFILL_ADDRESS_MODEL_MAC_ +#pragma once #import <Cocoa/Cocoa.h> diff --git a/chrome/browser/autofill/autofill_address_sheet_controller_mac.h b/chrome/browser/autofill/autofill_address_sheet_controller_mac.h index 963d4ff..193ddd3 100644 --- a/chrome/browser/autofill/autofill_address_sheet_controller_mac.h +++ b/chrome/browser/autofill/autofill_address_sheet_controller_mac.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_ADDRESS_SHEET_CONTROLLER_MAC_ #define CHROME_BROWSER_AUTOFILL_AUTOFILL_ADDRESS_SHEET_CONTROLLER_MAC_ +#pragma once #import <Cocoa/Cocoa.h> diff --git a/chrome/browser/autofill/autofill_cc_infobar.h b/chrome/browser/autofill/autofill_cc_infobar.h index 35aa92b..085628f 100644 --- a/chrome/browser/autofill/autofill_cc_infobar.h +++ b/chrome/browser/autofill/autofill_cc_infobar.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_INFOBAR_H_ #define CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_INFOBAR_H_ +#pragma once class InfoBar; class ConfirmInfoBarDelegate; diff --git a/chrome/browser/autofill/autofill_cc_infobar_delegate.h b/chrome/browser/autofill/autofill_cc_infobar_delegate.h index 3b7a751..32a7c82 100644 --- a/chrome/browser/autofill/autofill_cc_infobar_delegate.h +++ b/chrome/browser/autofill/autofill_cc_infobar_delegate.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_INFOBAR_DELEGATE_H_ #define CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_INFOBAR_DELEGATE_H_ +#pragma once #include <string> diff --git a/chrome/browser/autofill/autofill_common_unittest.h b/chrome/browser/autofill/autofill_common_unittest.h index fdb965f..8f6710e 100644 --- a/chrome/browser/autofill/autofill_common_unittest.h +++ b/chrome/browser/autofill/autofill_common_unittest.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_COMMON_UNITTEST_H_ #define CHROME_BROWSER_AUTOFILL_AUTOFILL_COMMON_UNITTEST_H_ +#pragma once class AutoFillProfile; class CreditCard; diff --git a/chrome/browser/autofill/autofill_credit_card_model_mac.h b/chrome/browser/autofill/autofill_credit_card_model_mac.h index 3f1cb93..7723162 100644 --- a/chrome/browser/autofill/autofill_credit_card_model_mac.h +++ b/chrome/browser/autofill/autofill_credit_card_model_mac.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_CREDIT_CARD_MODEL_MAC_ #define CHROME_BROWSER_AUTOFILL_AUTOFILL_CREDIT_CARD_MODEL_MAC_ +#pragma once #import <Cocoa/Cocoa.h> diff --git a/chrome/browser/autofill/autofill_credit_card_sheet_controller_mac.h b/chrome/browser/autofill/autofill_credit_card_sheet_controller_mac.h index dd9461f..cacb944 100644 --- a/chrome/browser/autofill/autofill_credit_card_sheet_controller_mac.h +++ b/chrome/browser/autofill/autofill_credit_card_sheet_controller_mac.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_CREDIT_CARD_SHEET_CONTROLLER_MAC_ #define CHROME_BROWSER_AUTOFILL_AUTOFILL_CREDIT_CARD_SHEET_CONTROLLER_MAC_ +#pragma once #import <Cocoa/Cocoa.h> diff --git a/chrome/browser/autofill/autofill_dialog.h b/chrome/browser/autofill/autofill_dialog.h index de70e53..65b2e34 100644 --- a/chrome/browser/autofill/autofill_dialog.h +++ b/chrome/browser/autofill/autofill_dialog.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_DIALOG_H_ #define CHROME_BROWSER_AUTOFILL_AUTOFILL_DIALOG_H_ +#pragma once #include <vector> diff --git a/chrome/browser/autofill/autofill_dialog_controller_mac.h b/chrome/browser/autofill/autofill_dialog_controller_mac.h index 7a7faa7..7688aef 100644 --- a/chrome/browser/autofill/autofill_dialog_controller_mac.h +++ b/chrome/browser/autofill/autofill_dialog_controller_mac.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_MAC_ #define CHROME_BROWSER_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_MAC_ +#pragma once #import <Cocoa/Cocoa.h> #include <vector> diff --git a/chrome/browser/autofill/autofill_download.h b/chrome/browser/autofill/autofill_download.h index 3ea438f..516e35e 100644 --- a/chrome/browser/autofill/autofill_download.h +++ b/chrome/browser/autofill/autofill_download.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_DOWNLOAD_H_ #define CHROME_BROWSER_AUTOFILL_AUTOFILL_DOWNLOAD_H_ +#pragma once #include <map> #include <vector> diff --git a/chrome/browser/autofill/autofill_field.h b/chrome/browser/autofill/autofill_field.h index 1d4fedd..e2cccfe 100644 --- a/chrome/browser/autofill/autofill_field.h +++ b/chrome/browser/autofill/autofill_field.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_FIELD_H_ #define CHROME_BROWSER_AUTOFILL_AUTOFILL_FIELD_H_ +#pragma once #include <string> diff --git a/chrome/browser/autofill/autofill_manager.h b/chrome/browser/autofill/autofill_manager.h index ba53fbb..1401885 100644 --- a/chrome/browser/autofill/autofill_manager.h +++ b/chrome/browser/autofill/autofill_manager.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ #define CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ +#pragma once #include <vector> #include <string> diff --git a/chrome/browser/autofill/autofill_profile.h b/chrome/browser/autofill/autofill_profile.h index 17e8528..676bc77 100644 --- a/chrome/browser/autofill/autofill_profile.h +++ b/chrome/browser/autofill/autofill_profile.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_PROFILE_H_ #define CHROME_BROWSER_AUTOFILL_AUTOFILL_PROFILE_H_ +#pragma once #include <map> #include <vector> diff --git a/chrome/browser/autofill/autofill_text_field_mac.h b/chrome/browser/autofill/autofill_text_field_mac.h index e17bc95..385c59f 100644 --- a/chrome/browser/autofill/autofill_text_field_mac.h +++ b/chrome/browser/autofill/autofill_text_field_mac.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_TEXT_FIELD_MAC_ #define CHROME_BROWSER_AUTOFILL_AUTOFILL_TEXT_FIELD_MAC_ +#pragma once #import <Cocoa/Cocoa.h> diff --git a/chrome/browser/autofill/autofill_type.h b/chrome/browser/autofill/autofill_type.h index 0fc692a..c261d25 100644 --- a/chrome/browser/autofill/autofill_type.h +++ b/chrome/browser/autofill/autofill_type.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_TYPE_H_ #define CHROME_BROWSER_AUTOFILL_AUTOFILL_TYPE_H_ +#pragma once #include <map> #include <set> diff --git a/chrome/browser/autofill/autofill_xml_parser.h b/chrome/browser/autofill/autofill_xml_parser.h index 02cb31e..9a58011 100644 --- a/chrome/browser/autofill/autofill_xml_parser.h +++ b/chrome/browser/autofill/autofill_xml_parser.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_XML_PARSER_H_ #define CHROME_BROWSER_AUTOFILL_AUTOFILL_XML_PARSER_H_ +#pragma once #include <vector> diff --git a/chrome/browser/autofill/billing_address.h b/chrome/browser/autofill/billing_address.h index 79cd90e..4e9f762 100644 --- a/chrome/browser/autofill/billing_address.h +++ b/chrome/browser/autofill/billing_address.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_BILLING_ADDRESS_H_ #define CHROME_BROWSER_AUTOFILL_BILLING_ADDRESS_H_ +#pragma once #include "chrome/browser/autofill/address.h" #include "chrome/browser/autofill/field_types.h" diff --git a/chrome/browser/autofill/contact_info.h b/chrome/browser/autofill/contact_info.h index a2aa6cb..97c3119 100644 --- a/chrome/browser/autofill/contact_info.h +++ b/chrome/browser/autofill/contact_info.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_CONTACT_INFO_H_ #define CHROME_BROWSER_AUTOFILL_CONTACT_INFO_H_ +#pragma once #include <vector> diff --git a/chrome/browser/autofill/credit_card.h b/chrome/browser/autofill/credit_card.h index 85d104f..974cbaa5 100644 --- a/chrome/browser/autofill/credit_card.h +++ b/chrome/browser/autofill/credit_card.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_CREDIT_CARD_H_ #define CHROME_BROWSER_AUTOFILL_CREDIT_CARD_H_ +#pragma once #include <vector> diff --git a/chrome/browser/autofill/credit_card_field.h b/chrome/browser/autofill/credit_card_field.h index bd128d3..68cc0db 100644 --- a/chrome/browser/autofill/credit_card_field.h +++ b/chrome/browser/autofill/credit_card_field.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_CREDIT_CARD_FIELD_H_ #define CHROME_BROWSER_AUTOFILL_CREDIT_CARD_FIELD_H_ +#pragma once #include <vector> diff --git a/chrome/browser/autofill/fax_field.h b/chrome/browser/autofill/fax_field.h index b5c1eed..e954ee1 100644 --- a/chrome/browser/autofill/fax_field.h +++ b/chrome/browser/autofill/fax_field.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_FAX_FIELD_H_ #define CHROME_BROWSER_AUTOFILL_FAX_FIELD_H_ +#pragma once #include <vector> diff --git a/chrome/browser/autofill/fax_number.h b/chrome/browser/autofill/fax_number.h index 5ebd11e..864746f 100644 --- a/chrome/browser/autofill/fax_number.h +++ b/chrome/browser/autofill/fax_number.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_FAX_NUMBER_H_ #define CHROME_BROWSER_AUTOFILL_FAX_NUMBER_H_ +#pragma once #include "chrome/browser/autofill/phone_number.h" diff --git a/chrome/browser/autofill/field_types.h b/chrome/browser/autofill/field_types.h index 934fa45..ab03192a 100644 --- a/chrome/browser/autofill/field_types.h +++ b/chrome/browser/autofill/field_types.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_FIELD_TYPES_H_ #define CHROME_BROWSER_AUTOFILL_FIELD_TYPES_H_ +#pragma once #include <set> diff --git a/chrome/browser/autofill/form_field.h b/chrome/browser/autofill/form_field.h index 7c9547c..cf57350 100644 --- a/chrome/browser/autofill/form_field.h +++ b/chrome/browser/autofill/form_field.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_FORM_FIELD_H_ #define CHROME_BROWSER_AUTOFILL_FORM_FIELD_H_ +#pragma once #include <vector> diff --git a/chrome/browser/autofill/form_group.h b/chrome/browser/autofill/form_group.h index c742b91..4a61c1a 100644 --- a/chrome/browser/autofill/form_group.h +++ b/chrome/browser/autofill/form_group.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_FORM_GROUP_H_ #define CHROME_BROWSER_AUTOFILL_FORM_GROUP_H_ +#pragma once #include <vector> diff --git a/chrome/browser/autofill/form_structure.h b/chrome/browser/autofill/form_structure.h index 8ce5a18..875a6bf 100644 --- a/chrome/browser/autofill/form_structure.h +++ b/chrome/browser/autofill/form_structure.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_FORM_STRUCTURE_H_ #define CHROME_BROWSER_AUTOFILL_FORM_STRUCTURE_H_ +#pragma once #include <string> #include <vector> diff --git a/chrome/browser/autofill/home_address.h b/chrome/browser/autofill/home_address.h index bf51dc5..ced2922 100644 --- a/chrome/browser/autofill/home_address.h +++ b/chrome/browser/autofill/home_address.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_HOME_ADDRESS_H_ #define CHROME_BROWSER_AUTOFILL_HOME_ADDRESS_H_ +#pragma once #include "chrome/browser/autofill/address.h" #include "chrome/browser/autofill/field_types.h" diff --git a/chrome/browser/autofill/home_phone_number.h b/chrome/browser/autofill/home_phone_number.h index d4051c9..e2aba0a 100644 --- a/chrome/browser/autofill/home_phone_number.h +++ b/chrome/browser/autofill/home_phone_number.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_HOME_PHONE_NUMBER_H_ #define CHROME_BROWSER_AUTOFILL_HOME_PHONE_NUMBER_H_ +#pragma once #include "chrome/browser/autofill/phone_number.h" diff --git a/chrome/browser/autofill/name_field.h b/chrome/browser/autofill/name_field.h index 5d6e4e5..7b16e77 100644 --- a/chrome/browser/autofill/name_field.h +++ b/chrome/browser/autofill/name_field.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_NAME_FIELD_H_ #define CHROME_BROWSER_AUTOFILL_NAME_FIELD_H_ +#pragma once #include <vector> diff --git a/chrome/browser/autofill/personal_data_manager.h b/chrome/browser/autofill/personal_data_manager.h index 87c909e..e923fa7 100644 --- a/chrome/browser/autofill/personal_data_manager.h +++ b/chrome/browser/autofill/personal_data_manager.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_PERSONAL_DATA_MANAGER_H_ #define CHROME_BROWSER_AUTOFILL_PERSONAL_DATA_MANAGER_H_ +#pragma once #include <set> #include <vector> diff --git a/chrome/browser/autofill/phone_field.h b/chrome/browser/autofill/phone_field.h index 6a3c934..2642a5c 100644 --- a/chrome/browser/autofill/phone_field.h +++ b/chrome/browser/autofill/phone_field.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_PHONE_FIELD_H_ #define CHROME_BROWSER_AUTOFILL_PHONE_FIELD_H_ +#pragma once #include <vector> diff --git a/chrome/browser/autofill/phone_number.h b/chrome/browser/autofill/phone_number.h index f9dad65..ef1bafc 100644 --- a/chrome/browser/autofill/phone_number.h +++ b/chrome/browser/autofill/phone_number.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_PHONE_NUMBER_H_ #define CHROME_BROWSER_AUTOFILL_PHONE_NUMBER_H_ +#pragma once #include <vector> diff --git a/chrome/browser/autofill/select_control_handler.h b/chrome/browser/autofill/select_control_handler.h index d434070..723600a 100644 --- a/chrome/browser/autofill/select_control_handler.h +++ b/chrome/browser/autofill/select_control_handler.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_AUTOFILL_SELECT_CONTROL_HANDLER_H_ #define CHROME_BROWSER_AUTOFILL_SELECT_CONTROL_HANDLER_H_ +#pragma once #include "chrome/browser/autofill/autofill_type.h" |