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/geolocation | |
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/geolocation')
24 files changed, 24 insertions, 0 deletions
diff --git a/chrome/browser/geolocation/access_token_store.h b/chrome/browser/geolocation/access_token_store.h index 1002044..b8eb67b 100644 --- a/chrome/browser/geolocation/access_token_store.h +++ b/chrome/browser/geolocation/access_token_store.h @@ -12,6 +12,7 @@ #ifndef CHROME_BROWSER_GEOLOCATION_ACCESS_TOKEN_STORE_H_ #define CHROME_BROWSER_GEOLOCATION_ACCESS_TOKEN_STORE_H_ +#pragma once #include <map> diff --git a/chrome/browser/geolocation/device_data_provider.h b/chrome/browser/geolocation/device_data_provider.h index f13c770..9143aa1 100644 --- a/chrome/browser/geolocation/device_data_provider.h +++ b/chrome/browser/geolocation/device_data_provider.h @@ -21,6 +21,7 @@ #ifndef CHROME_BROWSER_GEOLOCATION_DEVICE_DATA_PROVIDER_H_ #define CHROME_BROWSER_GEOLOCATION_DEVICE_DATA_PROVIDER_H_ +#pragma once #include <algorithm> #include <functional> diff --git a/chrome/browser/geolocation/empty_device_data_provider.h b/chrome/browser/geolocation/empty_device_data_provider.h index ac68473..e757b4b 100644 --- a/chrome/browser/geolocation/empty_device_data_provider.h +++ b/chrome/browser/geolocation/empty_device_data_provider.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GEOLOCATION_EMPTY_DEVICE_DATA_PROVIDER_H_ #define CHROME_BROWSER_GEOLOCATION_EMPTY_DEVICE_DATA_PROVIDER_H_ +#pragma once #include "chrome/browser/geolocation/device_data_provider.h" diff --git a/chrome/browser/geolocation/fake_access_token_store.h b/chrome/browser/geolocation/fake_access_token_store.h index d9d272c..5c68267 100644 --- a/chrome/browser/geolocation/fake_access_token_store.h +++ b/chrome/browser/geolocation/fake_access_token_store.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GEOLOCATION_FAKE_ACCESS_TOKEN_STORE_H_ #define CHROME_BROWSER_GEOLOCATION_FAKE_ACCESS_TOKEN_STORE_H_ +#pragma once #include "chrome/browser/geolocation/access_token_store.h" #include "testing/gtest/include/gtest/gtest.h" diff --git a/chrome/browser/geolocation/geolocation_content_settings_map.h b/chrome/browser/geolocation/geolocation_content_settings_map.h index 05dd1a6..966707a 100644 --- a/chrome/browser/geolocation/geolocation_content_settings_map.h +++ b/chrome/browser/geolocation/geolocation_content_settings_map.h @@ -11,6 +11,7 @@ #ifndef CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONTENT_SETTINGS_MAP_H_ #define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONTENT_SETTINGS_MAP_H_ +#pragma once #include <map> #include <string> diff --git a/chrome/browser/geolocation/geolocation_dispatcher_host.h b/chrome/browser/geolocation/geolocation_dispatcher_host.h index 234dde1..38b79ef 100644 --- a/chrome/browser/geolocation/geolocation_dispatcher_host.h +++ b/chrome/browser/geolocation/geolocation_dispatcher_host.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_H_ #define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_H_ +#pragma once #include "base/ref_counted.h" diff --git a/chrome/browser/geolocation/geolocation_exceptions_table_model.h b/chrome/browser/geolocation/geolocation_exceptions_table_model.h index c458c0e..ffc08fb 100644 --- a/chrome/browser/geolocation/geolocation_exceptions_table_model.h +++ b/chrome/browser/geolocation/geolocation_exceptions_table_model.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GEOLOCATION_GEOLOCATION_EXCEPTIONS_TABLE_MODEL_H_ #define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_EXCEPTIONS_TABLE_MODEL_H_ +#pragma once #include <set> #include <vector> diff --git a/chrome/browser/geolocation/geolocation_permission_context.h b/chrome/browser/geolocation/geolocation_permission_context.h index d3f3e37..660c676 100644 --- a/chrome/browser/geolocation/geolocation_permission_context.h +++ b/chrome/browser/geolocation/geolocation_permission_context.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GEOLOCATION_GEOLOCATION_PERMISSION_CONTEXT_H_ #define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_PERMISSION_CONTEXT_H_ +#pragma once #include <map> #include "base/basictypes.h" diff --git a/chrome/browser/geolocation/geolocation_prefs.h b/chrome/browser/geolocation/geolocation_prefs.h index 3873274..cc39b66 100644 --- a/chrome/browser/geolocation/geolocation_prefs.h +++ b/chrome/browser/geolocation/geolocation_prefs.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GEOLOCATION_GEOLOCATION_PREFS_H_ #define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_PREFS_H_ +#pragma once class PrefService; diff --git a/chrome/browser/geolocation/geolocation_settings_state.h b/chrome/browser/geolocation/geolocation_settings_state.h index fe3b7b74..86a5c26 100644 --- a/chrome/browser/geolocation/geolocation_settings_state.h +++ b/chrome/browser/geolocation/geolocation_settings_state.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GEOLOCATION_GEOLOCATION_SETTINGS_STATE_H_ #define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_SETTINGS_STATE_H_ +#pragma once #include <map> #include <set> diff --git a/chrome/browser/geolocation/gps_location_provider_linux.h b/chrome/browser/geolocation/gps_location_provider_linux.h index 67fd5a8..ec7dba4 100644 --- a/chrome/browser/geolocation/gps_location_provider_linux.h +++ b/chrome/browser/geolocation/gps_location_provider_linux.h @@ -9,6 +9,7 @@ #ifndef CHROME_BROWSER_GEOLOCATION_GPS_LOCATION_PROVIDER_LINUX_H_ #define CHROME_BROWSER_GEOLOCATION_GPS_LOCATION_PROVIDER_LINUX_H_ +#pragma once #include "chrome/browser/geolocation/location_provider.h" #include "chrome/common/geoposition.h" diff --git a/chrome/browser/geolocation/libgps_wrapper_linux.h b/chrome/browser/geolocation/libgps_wrapper_linux.h index 7d5986c..ef9e271 100644 --- a/chrome/browser/geolocation/libgps_wrapper_linux.h +++ b/chrome/browser/geolocation/libgps_wrapper_linux.h @@ -11,6 +11,7 @@ #ifndef CHROME_BROWSER_GEOLOCATION_LIBGPS_WRAPPER_LINUX_H_ #define CHROME_BROWSER_GEOLOCATION_LIBGPS_WRAPPER_LINUX_H_ +#pragma once #include <string> diff --git a/chrome/browser/geolocation/location_arbitrator.h b/chrome/browser/geolocation/location_arbitrator.h index 74403b4..eeb2e9c 100644 --- a/chrome/browser/geolocation/location_arbitrator.h +++ b/chrome/browser/geolocation/location_arbitrator.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GEOLOCATION_LOCATION_ARBITRATOR_H_ #define CHROME_BROWSER_GEOLOCATION_LOCATION_ARBITRATOR_H_ +#pragma once #include "base/string16.h" #include "base/time.h" diff --git a/chrome/browser/geolocation/location_provider.h b/chrome/browser/geolocation/location_provider.h index 5f290bd..08e191e 100644 --- a/chrome/browser/geolocation/location_provider.h +++ b/chrome/browser/geolocation/location_provider.h @@ -12,6 +12,7 @@ #ifndef CHROME_BROWSER_GEOLOCATION_LOCATION_PROVIDER_H_ #define CHROME_BROWSER_GEOLOCATION_LOCATION_PROVIDER_H_ +#pragma once #include <map> #include "base/non_thread_safe.h" diff --git a/chrome/browser/geolocation/mock_location_provider.h b/chrome/browser/geolocation/mock_location_provider.h index d2c775f..1fcad60 100644 --- a/chrome/browser/geolocation/mock_location_provider.h +++ b/chrome/browser/geolocation/mock_location_provider.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_ #define CHROME_BROWSER_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_ +#pragma once #include "chrome/browser/geolocation/location_provider.h" #include "chrome/common/geoposition.h" diff --git a/chrome/browser/geolocation/network_location_provider.h b/chrome/browser/geolocation/network_location_provider.h index 27f504c..2418238 100644 --- a/chrome/browser/geolocation/network_location_provider.h +++ b/chrome/browser/geolocation/network_location_provider.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GEOLOCATION_NETWORK_LOCATION_PROVIDER_H_ #define CHROME_BROWSER_GEOLOCATION_NETWORK_LOCATION_PROVIDER_H_ +#pragma once #include <string> diff --git a/chrome/browser/geolocation/network_location_request.h b/chrome/browser/geolocation/network_location_request.h index 071313c..b94d897 100644 --- a/chrome/browser/geolocation/network_location_request.h +++ b/chrome/browser/geolocation/network_location_request.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GEOLOCATION_NETWORK_LOCATION_REQUEST_H_ #define CHROME_BROWSER_GEOLOCATION_NETWORK_LOCATION_REQUEST_H_ +#pragma once #include <string> #include "base/basictypes.h" diff --git a/chrome/browser/geolocation/osx_wifi.h b/chrome/browser/geolocation/osx_wifi.h index d912034..682041a 100644 --- a/chrome/browser/geolocation/osx_wifi.h +++ b/chrome/browser/geolocation/osx_wifi.h @@ -44,6 +44,7 @@ #ifndef CHROME_BROWSER_GEOLOCATION_OSX_WIFI_H_ #define CHROME_BROWSER_GEOLOCATION_OSX_WIFI_H_ +#pragma once #include <CoreFoundation/CoreFoundation.h> diff --git a/chrome/browser/geolocation/wifi_data_provider_chromeos.h b/chrome/browser/geolocation/wifi_data_provider_chromeos.h index 0e041e9..36f2c5a 100644 --- a/chrome/browser/geolocation/wifi_data_provider_chromeos.h +++ b/chrome/browser/geolocation/wifi_data_provider_chromeos.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_CHROMEOS_H_ #define CHROME_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_CHROMEOS_H_ +#pragma once #include "chrome/browser/geolocation/wifi_data_provider_common.h" diff --git a/chrome/browser/geolocation/wifi_data_provider_common.h b/chrome/browser/geolocation/wifi_data_provider_common.h index 77289f0..dd36c77 100644 --- a/chrome/browser/geolocation/wifi_data_provider_common.h +++ b/chrome/browser/geolocation/wifi_data_provider_common.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_H_ #define CHROME_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_H_ +#pragma once #include <assert.h> diff --git a/chrome/browser/geolocation/wifi_data_provider_common_win.h b/chrome/browser/geolocation/wifi_data_provider_common_win.h index 15a0740..02ff25e 100644 --- a/chrome/browser/geolocation/wifi_data_provider_common_win.h +++ b/chrome/browser/geolocation/wifi_data_provider_common_win.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_WIN_H_ #define CHROME_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_WIN_H_ +#pragma once #include <windows.h> #include <ntddndis.h> diff --git a/chrome/browser/geolocation/wifi_data_provider_linux.h b/chrome/browser/geolocation/wifi_data_provider_linux.h index b3a2771..66bb524 100644 --- a/chrome/browser/geolocation/wifi_data_provider_linux.h +++ b/chrome/browser/geolocation/wifi_data_provider_linux.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_LINUX_H_ #define CHROME_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_LINUX_H_ +#pragma once #include "chrome/browser/geolocation/wifi_data_provider_common.h" diff --git a/chrome/browser/geolocation/wifi_data_provider_mac.h b/chrome/browser/geolocation/wifi_data_provider_mac.h index 841176e..d920770 100644 --- a/chrome/browser/geolocation/wifi_data_provider_mac.h +++ b/chrome/browser/geolocation/wifi_data_provider_mac.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_MAC_H_ #define CHROME_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_MAC_H_ +#pragma once #include "chrome/browser/geolocation/wifi_data_provider_common.h" diff --git a/chrome/browser/geolocation/wifi_data_provider_win.h b/chrome/browser/geolocation/wifi_data_provider_win.h index d0aa0406..126f881 100644 --- a/chrome/browser/geolocation/wifi_data_provider_win.h +++ b/chrome/browser/geolocation/wifi_data_provider_win.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_WIN_H_ #define CHROME_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_WIN_H_ +#pragma once #include "chrome/browser/geolocation/wifi_data_provider_common.h" |