diff options
| author | avi <avi@chromium.org> | 2015-12-25 18:10:43 -0800 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2015-12-26 02:11:32 +0000 |
| commit | b896c715dd14ec1f7ac800350b40eeb6de2ba868 (patch) | |
| tree | acc471478046a775c3492046a40c2ea84e8ea88a /chrome/browser/profiles | |
| parent | f5b61be8a18b07a2a928f10bf1f8f0e8a5358f13 (diff) | |
| download | chromium_src-b896c715dd14ec1f7ac800350b40eeb6de2ba868.zip chromium_src-b896c715dd14ec1f7ac800350b40eeb6de2ba868.tar.gz chromium_src-b896c715dd14ec1f7ac800350b40eeb6de2ba868.tar.bz2 | |
Switch to standard integer types in chrome/browser/, part 3 of 4.
BUG=138542
TBR=thakis@chromium.org
Review URL: https://codereview.chromium.org/1548133002
Cr-Commit-Position: refs/heads/master@{#366883}
Diffstat (limited to 'chrome/browser/profiles')
65 files changed, 150 insertions, 27 deletions
diff --git a/chrome/browser/profiles/avatar_menu.cc b/chrome/browser/profiles/avatar_menu.cc index 2b5a592..64978fc 100644 --- a/chrome/browser/profiles/avatar_menu.cc +++ b/chrome/browser/profiles/avatar_menu.cc @@ -9,6 +9,7 @@ #include "base/metrics/field_trial.h" #include "base/profiler/scoped_tracker.h" #include "base/strings/utf_string_conversions.h" +#include "build/build_config.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/chrome_notification_types.h" #include "chrome/browser/profiles/avatar_menu_actions.h" diff --git a/chrome/browser/profiles/avatar_menu.h b/chrome/browser/profiles/avatar_menu.h index 94ed64a..6b420a0 100644 --- a/chrome/browser/profiles/avatar_menu.h +++ b/chrome/browser/profiles/avatar_menu.h @@ -5,11 +5,13 @@ #ifndef CHROME_BROWSER_PROFILES_AVATAR_MENU_H_ #define CHROME_BROWSER_PROFILES_AVATAR_MENU_H_ +#include <stddef.h> + #include <string> #include <vector> -#include "base/basictypes.h" #include "base/compiler_specific.h" +#include "base/macros.h" #include "base/scoped_observer.h" #include "base/strings/string16.h" #include "chrome/browser/profiles/profile_info_cache_observer.h" diff --git a/chrome/browser/profiles/avatar_menu_actions.h b/chrome/browser/profiles/avatar_menu_actions.h index ec49fe9..3ae7515 100644 --- a/chrome/browser/profiles/avatar_menu_actions.h +++ b/chrome/browser/profiles/avatar_menu_actions.h @@ -5,6 +5,8 @@ #ifndef CHROME_BROWSER_PROFILES_AVATAR_MENU_ACTIONS_H_ #define CHROME_BROWSER_PROFILES_AVATAR_MENU_ACTIONS_H_ +#include <stddef.h> + #include <string> #include "chrome/browser/profiles/avatar_menu.h" diff --git a/chrome/browser/profiles/avatar_menu_actions_desktop.cc b/chrome/browser/profiles/avatar_menu_actions_desktop.cc index 97102ed..faba359 100644 --- a/chrome/browser/profiles/avatar_menu_actions_desktop.cc +++ b/chrome/browser/profiles/avatar_menu_actions_desktop.cc @@ -6,6 +6,7 @@ #include "base/compiler_specific.h" #include "base/strings/string_number_conversions.h" +#include "build/build_config.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/profiles/profile_info_cache.h" diff --git a/chrome/browser/profiles/avatar_menu_actions_desktop.h b/chrome/browser/profiles/avatar_menu_actions_desktop.h index a015c37..cc95ff1 100644 --- a/chrome/browser/profiles/avatar_menu_actions_desktop.h +++ b/chrome/browser/profiles/avatar_menu_actions_desktop.h @@ -5,8 +5,11 @@ #ifndef CHROME_BROWSER_PROFILES_AVATAR_MENU_ACTIONS_DESKTOP_H_ #define CHROME_BROWSER_PROFILES_AVATAR_MENU_ACTIONS_DESKTOP_H_ +#include <stddef.h> + #include <string> +#include "base/macros.h" #include "chrome/browser/profiles/avatar_menu_actions.h" #include "chrome/browser/profiles/profile_metrics.h" diff --git a/chrome/browser/profiles/avatar_menu_desktop.cc b/chrome/browser/profiles/avatar_menu_desktop.cc index 2f5fcba..7e7e133 100644 --- a/chrome/browser/profiles/avatar_menu_desktop.cc +++ b/chrome/browser/profiles/avatar_menu_desktop.cc @@ -4,6 +4,8 @@ #include "chrome/browser/profiles/avatar_menu.h" +#include <stddef.h> + #include "chrome/browser/browser_process.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/profiles/profile_avatar_icon_util.h" diff --git a/chrome/browser/profiles/bookmark_model_loaded_observer.h b/chrome/browser/profiles/bookmark_model_loaded_observer.h index f23e1a6..b4ef0d2 100644 --- a/chrome/browser/profiles/bookmark_model_loaded_observer.h +++ b/chrome/browser/profiles/bookmark_model_loaded_observer.h @@ -5,8 +5,8 @@ #ifndef CHROME_BROWSER_PROFILES_BOOKMARK_MODEL_LOADED_OBSERVER_H_ #define CHROME_BROWSER_PROFILES_BOOKMARK_MODEL_LOADED_OBSERVER_H_ -#include "base/basictypes.h" #include "base/compiler_specific.h" +#include "base/macros.h" #include "components/bookmarks/browser/base_bookmark_model_observer.h" class Profile; diff --git a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc index 8b4ece1..0cbefeb 100644 --- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc +++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc @@ -4,6 +4,7 @@ #include "chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.h" +#include "build/build_config.h" #include "chrome/browser/autocomplete/in_memory_url_index_factory.h" #include "chrome/browser/autocomplete/shortcuts_backend_factory.h" #include "chrome/browser/autofill/personal_data_manager_factory.h" diff --git a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.h b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.h index f20e834..8b366bc 100644 --- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.h +++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.h @@ -5,8 +5,8 @@ #ifndef CHROME_BROWSER_PROFILES_CHROME_BROWSER_MAIN_EXTRA_PARTS_PROFILES_H_ #define CHROME_BROWSER_PROFILES_CHROME_BROWSER_MAIN_EXTRA_PARTS_PROFILES_H_ -#include "base/basictypes.h" #include "base/compiler_specific.h" +#include "base/macros.h" #include "chrome/browser/chrome_browser_main_extra_parts.h" class ChromeBrowserMainParts; diff --git a/chrome/browser/profiles/chrome_version_service.h b/chrome/browser/profiles/chrome_version_service.h index 4102c45..5384e08 100644 --- a/chrome/browser/profiles/chrome_version_service.h +++ b/chrome/browser/profiles/chrome_version_service.h @@ -7,7 +7,7 @@ #include <string> -#include "base/basictypes.h" +#include "base/macros.h" class PrefService; diff --git a/chrome/browser/profiles/gaia_info_update_service.cc b/chrome/browser/profiles/gaia_info_update_service.cc index 0c8115c..dc8104d 100644 --- a/chrome/browser/profiles/gaia_info_update_service.cc +++ b/chrome/browser/profiles/gaia_info_update_service.cc @@ -4,8 +4,11 @@ #include "chrome/browser/profiles/gaia_info_update_service.h" +#include <stddef.h> + #include "base/prefs/pref_service.h" #include "base/strings/utf_string_conversions.h" +#include "build/build_config.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/chrome_notification_types.h" #include "chrome/browser/profiles/profile.h" diff --git a/chrome/browser/profiles/gaia_info_update_service.h b/chrome/browser/profiles/gaia_info_update_service.h index 17cab93..32bc73f 100644 --- a/chrome/browser/profiles/gaia_info_update_service.h +++ b/chrome/browser/profiles/gaia_info_update_service.h @@ -7,6 +7,7 @@ #include "base/compiler_specific.h" #include "base/gtest_prod_util.h" +#include "base/macros.h" #include "base/memory/scoped_ptr.h" #include "base/timer/timer.h" #include "chrome/browser/profiles/profile_downloader.h" diff --git a/chrome/browser/profiles/gaia_info_update_service_factory.h b/chrome/browser/profiles/gaia_info_update_service_factory.h index 01dcadb..0370a0d 100644 --- a/chrome/browser/profiles/gaia_info_update_service_factory.h +++ b/chrome/browser/profiles/gaia_info_update_service_factory.h @@ -5,6 +5,7 @@ #ifndef CHROME_BROWSER_PROFILES_GAIA_INFO_UPDATE_SERVICE_FACTORY_H_ #define CHROME_BROWSER_PROFILES_GAIA_INFO_UPDATE_SERVICE_FACTORY_H_ +#include "base/macros.h" #include "base/memory/singleton.h" #include "components/keyed_service/content/browser_context_keyed_service_factory.h" diff --git a/chrome/browser/profiles/gaia_info_update_service_unittest.cc b/chrome/browser/profiles/gaia_info_update_service_unittest.cc index 914f824..ac05fae 100644 --- a/chrome/browser/profiles/gaia_info_update_service_unittest.cc +++ b/chrome/browser/profiles/gaia_info_update_service_unittest.cc @@ -4,8 +4,11 @@ #include "chrome/browser/profiles/gaia_info_update_service.h" +#include <stddef.h> + #include "base/prefs/pref_service.h" #include "base/strings/utf_string_conversions.h" +#include "build/build_config.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/profiles/profile_downloader.h" #include "chrome/browser/profiles/profile_info_cache.h" diff --git a/chrome/browser/profiles/host_zoom_map_browsertest.cc b/chrome/browser/profiles/host_zoom_map_browsertest.cc index 170eb92..3486b1f 100644 --- a/chrome/browser/profiles/host_zoom_map_browsertest.cc +++ b/chrome/browser/profiles/host_zoom_map_browsertest.cc @@ -4,6 +4,8 @@ #include "content/public/browser/host_zoom_map.h" +#include <stddef.h> + #include <algorithm> #include <string> #include <vector> @@ -12,6 +14,7 @@ #include "base/command_line.h" #include "base/files/file_path.h" #include "base/files/file_util.h" +#include "base/macros.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" #include "base/path_service.h" diff --git a/chrome/browser/profiles/incognito_mode_policy_handler.h b/chrome/browser/profiles/incognito_mode_policy_handler.h index 4d16637f..a37c609 100644 --- a/chrome/browser/profiles/incognito_mode_policy_handler.h +++ b/chrome/browser/profiles/incognito_mode_policy_handler.h @@ -5,6 +5,7 @@ #ifndef CHROME_BROWSER_PROFILES_INCOGNITO_MODE_POLICY_HANDLER_H_ #define CHROME_BROWSER_PROFILES_INCOGNITO_MODE_POLICY_HANDLER_H_ +#include "base/macros.h" #include "components/policy/core/browser/configuration_policy_handler.h" class PrefValueMap; diff --git a/chrome/browser/profiles/off_the_record_profile_impl.h b/chrome/browser/profiles/off_the_record_profile_impl.h index 17e2a0c..8cd1fe5 100644 --- a/chrome/browser/profiles/off_the_record_profile_impl.h +++ b/chrome/browser/profiles/off_the_record_profile_impl.h @@ -7,6 +7,8 @@ #include <string> +#include "base/macros.h" +#include "build/build_config.h" #include "chrome/browser/profiles/off_the_record_profile_io_data.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/ui/browser_list.h" diff --git a/chrome/browser/profiles/off_the_record_profile_io_data.cc b/chrome/browser/profiles/off_the_record_profile_io_data.cc index d3fb0aac..764a213 100644 --- a/chrome/browser/profiles/off_the_record_profile_io_data.cc +++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc @@ -7,6 +7,7 @@ #include "base/bind.h" #include "base/command_line.h" #include "base/logging.h" +#include "base/macros.h" #include "base/prefs/pref_service.h" #include "base/stl_util.h" #include "base/threading/worker_pool.h" diff --git a/chrome/browser/profiles/off_the_record_profile_io_data.h b/chrome/browser/profiles/off_the_record_profile_io_data.h index ae229bd..87355a9 100644 --- a/chrome/browser/profiles/off_the_record_profile_io_data.h +++ b/chrome/browser/profiles/off_the_record_profile_io_data.h @@ -5,10 +5,10 @@ #ifndef CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IO_DATA_H_ #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IO_DATA_H_ -#include "base/basictypes.h" #include "base/callback.h" #include "base/containers/hash_tables.h" #include "base/files/file_path.h" +#include "base/macros.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" #include "chrome/browser/custom_handlers/protocol_handler_registry.h" diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h index 0e55daf..1339c4e 100644 --- a/chrome/browser/profiles/profile.h +++ b/chrome/browser/profiles/profile.h @@ -9,9 +9,10 @@ #include <string> -#include "base/basictypes.h" #include "base/containers/hash_tables.h" #include "base/logging.h" +#include "base/macros.h" +#include "build/build_config.h" #include "components/domain_reliability/clear_mode.h" #include "content/public/browser/browser_context.h" #include "content/public/browser/content_browser_client.h" diff --git a/chrome/browser/profiles/profile_attributes_entry.h b/chrome/browser/profiles/profile_attributes_entry.h index 3fdbdd6..081c5c5 100644 --- a/chrome/browser/profiles/profile_attributes_entry.h +++ b/chrome/browser/profiles/profile_attributes_entry.h @@ -5,9 +5,12 @@ #ifndef CHROME_BROWSER_PROFILES_PROFILE_ATTRIBUTES_ENTRY_H_ #define CHROME_BROWSER_PROFILES_PROFILE_ATTRIBUTES_ENTRY_H_ +#include <stddef.h> + #include <string> #include "base/files/file_path.h" +#include "base/macros.h" #include "base/strings/string16.h" #include "base/time/time.h" diff --git a/chrome/browser/profiles/profile_attributes_storage.h b/chrome/browser/profiles/profile_attributes_storage.h index e9026c5..67b82af 100644 --- a/chrome/browser/profiles/profile_attributes_storage.h +++ b/chrome/browser/profiles/profile_attributes_storage.h @@ -5,6 +5,10 @@ #ifndef CHROME_BROWSER_PROFILES_PROFILE_ATTRIBUTES_STORAGE_H_ #define CHROME_BROWSER_PROFILES_PROFILE_ATTRIBUTES_STORAGE_H_ +#include <stddef.h> + +#include "base/macros.h" + class ProfileAttributesEntry; class ProfileAttributesStorage { diff --git a/chrome/browser/profiles/profile_attributes_storage_unittest.cc b/chrome/browser/profiles/profile_attributes_storage_unittest.cc index 15bb566..101eaea 100644 --- a/chrome/browser/profiles/profile_attributes_storage_unittest.cc +++ b/chrome/browser/profiles/profile_attributes_storage_unittest.cc @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include <stddef.h> + #include "base/format_macros.h" #include "base/strings/stringprintf.h" #include "base/strings/utf_string_conversions.h" diff --git a/chrome/browser/profiles/profile_avatar_downloader.h b/chrome/browser/profiles/profile_avatar_downloader.h index 43b3578..f2f086e 100644 --- a/chrome/browser/profiles/profile_avatar_downloader.h +++ b/chrome/browser/profiles/profile_avatar_downloader.h @@ -4,6 +4,8 @@ #ifndef CHROME_BROWSER_PROFILES_PROFILE_AVATAR_DOWNLOADER_H_ #define CHROME_BROWSER_PROFILES_PROFILE_AVATAR_DOWNLOADER_H_ +#include <stddef.h> + #include "base/files/file_path.h" #include "chrome/browser/bitmap_fetcher/bitmap_fetcher.h" diff --git a/chrome/browser/profiles/profile_avatar_icon_util.cc b/chrome/browser/profiles/profile_avatar_icon_util.cc index 7839fbc..ccdcb59 100644 --- a/chrome/browser/profiles/profile_avatar_icon_util.cc +++ b/chrome/browser/profiles/profile_avatar_icon_util.cc @@ -6,6 +6,7 @@ #include "base/files/file_util.h" #include "base/format_macros.h" +#include "base/macros.h" #include "base/memory/scoped_ptr.h" #include "base/path_service.h" #include "base/strings/string_number_conversions.h" diff --git a/chrome/browser/profiles/profile_avatar_icon_util.h b/chrome/browser/profiles/profile_avatar_icon_util.h index 99ca49b..f93cf56 100644 --- a/chrome/browser/profiles/profile_avatar_icon_util.h +++ b/chrome/browser/profiles/profile_avatar_icon_util.h @@ -5,6 +5,8 @@ #ifndef CHROME_BROWSER_PROFILES_PROFILE_AVATAR_ICON_UTIL_H_ #define CHROME_BROWSER_PROFILES_PROFILE_AVATAR_ICON_UTIL_H_ +#include <stddef.h> + #include <string> #include "third_party/skia/include/core/SkColor.h" diff --git a/chrome/browser/profiles/profile_browsertest.cc b/chrome/browser/profiles/profile_browsertest.cc index 72b1ee7..6b96f6b 100644 --- a/chrome/browser/profiles/profile_browsertest.cc +++ b/chrome/browser/profiles/profile_browsertest.cc @@ -4,6 +4,8 @@ #include "chrome/browser/profiles/profile.h" +#include <stddef.h> + #include "base/command_line.h" #include "base/files/file_util.h" #include "base/files/scoped_temp_dir.h" @@ -17,6 +19,7 @@ #include "base/synchronization/waitable_event.h" #include "base/values.h" #include "base/version.h" +#include "build/build_config.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/chrome_notification_types.h" #include "chrome/browser/net/url_request_mock_util.h" diff --git a/chrome/browser/profiles/profile_destroyer.cc b/chrome/browser/profiles/profile_destroyer.cc index 532b391..809703f 100644 --- a/chrome/browser/profiles/profile_destroyer.cc +++ b/chrome/browser/profiles/profile_destroyer.cc @@ -10,6 +10,7 @@ #include "base/single_thread_task_runner.h" #include "base/thread_task_runner_handle.h" #include "base/trace_event/trace_event.h" +#include "build/build_config.h" #include "chrome/browser/profiles/profile.h" #include "content/public/browser/render_process_host.h" @@ -18,9 +19,9 @@ namespace { #if defined(OS_ANDROID) // Set the render host waiting time to 5s on Android, that's the same // as an "Application Not Responding" timeout. -const int64 kTimerDelaySeconds = 5; +const int64_t kTimerDelaySeconds = 5; #else -const int64 kTimerDelaySeconds = 1; +const int64_t kTimerDelaySeconds = 1; #endif } // namespace diff --git a/chrome/browser/profiles/profile_destroyer.h b/chrome/browser/profiles/profile_destroyer.h index 59b705b..48f088b 100644 --- a/chrome/browser/profiles/profile_destroyer.h +++ b/chrome/browser/profiles/profile_destroyer.h @@ -5,8 +5,11 @@ #ifndef CHROME_BROWSER_PROFILES_PROFILE_DESTROYER_H_ #define CHROME_BROWSER_PROFILES_PROFILE_DESTROYER_H_ +#include <stdint.h> + #include <set> +#include "base/macros.h" #include "base/memory/ref_counted.h" #include "base/timer/timer.h" #include "content/public/browser/render_process_host_observer.h" @@ -50,7 +53,7 @@ class ProfileDestroyer : public content::RenderProcessHostObserver { base::Timer timer_; // Used to count down the number of render process host left. - uint32 num_hosts_; + uint32_t num_hosts_; // The profile being destroyed. If it is set to NULL, it is a signal from // another instance of ProfileDestroyer that this instance is canceled. diff --git a/chrome/browser/profiles/profile_destroyer_unittest.cc b/chrome/browser/profiles/profile_destroyer_unittest.cc index 3a0b5fe..08b0545 100644 --- a/chrome/browser/profiles/profile_destroyer_unittest.cc +++ b/chrome/browser/profiles/profile_destroyer_unittest.cc @@ -4,6 +4,7 @@ #include "chrome/browser/profiles/profile_destroyer.h" +#include "base/macros.h" #include "chrome/test/base/browser_with_test_window_test.h" #include "chrome/test/base/testing_profile.h" #include "content/public/browser/render_process_host.h" diff --git a/chrome/browser/profiles/profile_downloader.cc b/chrome/browser/profiles/profile_downloader.cc index 4eb0c33..8f0b246 100644 --- a/chrome/browser/profiles/profile_downloader.cc +++ b/chrome/browser/profiles/profile_downloader.cc @@ -4,6 +4,8 @@ #include "chrome/browser/profiles/profile_downloader.h" +#include <stddef.h> + #include <string> #include <vector> diff --git a/chrome/browser/profiles/profile_downloader.h b/chrome/browser/profiles/profile_downloader.h index ba18b5f..38241da 100644 --- a/chrome/browser/profiles/profile_downloader.h +++ b/chrome/browser/profiles/profile_downloader.h @@ -7,8 +7,8 @@ #include <string> -#include "base/basictypes.h" #include "base/gtest_prod_util.h" +#include "base/macros.h" #include "base/memory/scoped_ptr.h" #include "base/strings/string16.h" #include "chrome/browser/image_decoder.h" diff --git a/chrome/browser/profiles/profile_downloader_delegate.h b/chrome/browser/profiles/profile_downloader_delegate.h index 70253e5..2b5dfe7 100644 --- a/chrome/browser/profiles/profile_downloader_delegate.h +++ b/chrome/browser/profiles/profile_downloader_delegate.h @@ -7,7 +7,6 @@ #include <string> -#include "base/basictypes.h" #include "base/strings/string16.h" class Profile; diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc index f41d09b..35f64bc 100644 --- a/chrome/browser/profiles/profile_impl.cc +++ b/chrome/browser/profiles/profile_impl.cc @@ -4,6 +4,8 @@ #include "chrome/browser/profiles/profile_impl.h" +#include <stddef.h> + #include <vector> #include "base/bind.h" @@ -28,6 +30,7 @@ #include "base/threading/thread_restrictions.h" #include "base/trace_event/trace_event.h" #include "base/version.h" +#include "build/build_config.h" #include "chrome/browser/background/background_contents_service_factory.h" #include "chrome/browser/background_sync/background_sync_controller_factory.h" #include "chrome/browser/background_sync/background_sync_controller_impl.h" diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h index b9791e6..33e581e 100644 --- a/chrome/browser/profiles/profile_impl.h +++ b/chrome/browser/profiles/profile_impl.h @@ -11,10 +11,12 @@ #include "base/files/file_path.h" #include "base/gtest_prod_util.h" +#include "base/macros.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" #include "base/prefs/pref_change_registrar.h" #include "base/timer/timer.h" +#include "build/build_config.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/profiles/profile_impl_io_data.h" #include "chrome/browser/ui/zoom/chrome_zoom_level_prefs.h" diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc index 6a68c08..05513e9 100644 --- a/chrome/browser/profiles/profile_impl_io_data.cc +++ b/chrome/browser/profiles/profile_impl_io_data.cc @@ -9,6 +9,7 @@ #include "base/bind.h" #include "base/command_line.h" #include "base/logging.h" +#include "base/macros.h" #include "base/memory/scoped_ptr.h" #include "base/metrics/field_trial.h" #include "base/prefs/json_pref_store.h" @@ -21,6 +22,7 @@ #include "base/strings/string_util.h" #include "base/threading/sequenced_worker_pool.h" #include "base/threading/worker_pool.h" +#include "build/build_config.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/chrome_notification_types.h" #include "chrome/browser/chromeos/profiles/profile_helper.h" diff --git a/chrome/browser/profiles/profile_impl_io_data.h b/chrome/browser/profiles/profile_impl_io_data.h index e8046fc..b924856 100644 --- a/chrome/browser/profiles/profile_impl_io_data.h +++ b/chrome/browser/profiles/profile_impl_io_data.h @@ -5,9 +5,9 @@ #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ -#include "base/basictypes.h" #include "base/callback.h" #include "base/containers/hash_tables.h" +#include "base/macros.h" #include "base/memory/ref_counted.h" #include "base/prefs/pref_store.h" #include "chrome/browser/custom_handlers/protocol_handler_registry.h" diff --git a/chrome/browser/profiles/profile_info_cache.cc b/chrome/browser/profiles/profile_info_cache.cc index 4c72069..a07b4ca 100644 --- a/chrome/browser/profiles/profile_info_cache.cc +++ b/chrome/browser/profiles/profile_info_cache.cc @@ -8,6 +8,7 @@ #include "base/files/file_util.h" #include "base/i18n/case_conversion.h" #include "base/logging.h" +#include "base/macros.h" #include "base/memory/scoped_ptr.h" #include "base/prefs/pref_registry_simple.h" #include "base/prefs/pref_service.h" @@ -19,6 +20,7 @@ #include "base/strings/string_piece.h" #include "base/strings/utf_string_conversions.h" #include "base/values.h" +#include "build/build_config.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/profiles/profile_avatar_downloader.h" #include "chrome/browser/profiles/profile_avatar_icon_util.h" diff --git a/chrome/browser/profiles/profile_info_cache.h b/chrome/browser/profiles/profile_info_cache.h index f61325b..a8137c8 100644 --- a/chrome/browser/profiles/profile_info_cache.h +++ b/chrome/browser/profiles/profile_info_cache.h @@ -5,15 +5,17 @@ #ifndef CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_H_ #define CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_H_ +#include <stddef.h> + #include <map> #include <string> #include <vector> -#include "base/basictypes.h" #include "base/compiler_specific.h" #include "base/containers/scoped_ptr_hash_map.h" #include "base/files/file_path.h" #include "base/gtest_prod_util.h" +#include "base/macros.h" #include "base/memory/weak_ptr.h" #include "base/observer_list.h" #include "base/strings/string16.h" diff --git a/chrome/browser/profiles/profile_info_cache_observer.h b/chrome/browser/profiles/profile_info_cache_observer.h index 09573e5..6bb2896 100644 --- a/chrome/browser/profiles/profile_info_cache_observer.h +++ b/chrome/browser/profiles/profile_info_cache_observer.h @@ -5,6 +5,7 @@ #ifndef CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_OBSERVER_H_ #define CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_OBSERVER_H_ +#include "base/macros.h" #include "base/strings/string16.h" #include "ui/gfx/image/image.h" diff --git a/chrome/browser/profiles/profile_info_cache_unittest.cc b/chrome/browser/profiles/profile_info_cache_unittest.cc index eb1aa44..2f3e9cd 100644 --- a/chrome/browser/profiles/profile_info_cache_unittest.cc +++ b/chrome/browser/profiles/profile_info_cache_unittest.cc @@ -4,14 +4,19 @@ #include "chrome/browser/profiles/profile_info_cache_unittest.h" +#include <stddef.h> +#include <stdint.h> + #include <vector> #include "base/command_line.h" #include "base/files/file_util.h" +#include "base/macros.h" #include "base/prefs/testing_pref_service.h" #include "base/strings/stringprintf.h" #include "base/strings/utf_string_conversions.h" #include "base/time/time.h" +#include "build/build_config.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/profiles/profile_avatar_downloader.h" #include "chrome/browser/profiles/profile_avatar_icon_util.h" @@ -125,7 +130,7 @@ TEST_F(ProfileInfoCacheTest, AddProfiles) { EXPECT_EQ(0u, GetCache()->GetNumberOfProfiles()); ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance(); - for (uint32 i = 0; i < 4; ++i) { + for (uint32_t i = 0; i < 4; ++i) { base::FilePath profile_path = GetProfilePath(base::StringPrintf("path_%ud", i)); base::string16 profile_name = @@ -158,7 +163,7 @@ TEST_F(ProfileInfoCacheTest, AddProfiles) { ResetCache(); EXPECT_EQ(4u, GetCache()->GetNumberOfProfiles()); - for (uint32 i = 0; i < 4; ++i) { + for (uint32_t i = 0; i < 4; ++i) { base::FilePath profile_path = GetProfilePath(base::StringPrintf("path_%ud", i)); EXPECT_EQ(i, GetCache()->GetIndexOfProfileWithPath(profile_path)); diff --git a/chrome/browser/profiles/profile_info_cache_unittest.h b/chrome/browser/profiles/profile_info_cache_unittest.h index 40e18f7..c052e4b 100644 --- a/chrome/browser/profiles/profile_info_cache_unittest.h +++ b/chrome/browser/profiles/profile_info_cache_unittest.h @@ -7,6 +7,7 @@ #include <set> +#include "base/macros.h" #include "base/test/scoped_path_override.h" #include "chrome/browser/profiles/profile_info_cache_observer.h" #include "chrome/test/base/testing_profile_manager.h" diff --git a/chrome/browser/profiles/profile_info_interface.h b/chrome/browser/profiles/profile_info_interface.h index 48a26e8..961060e 100644 --- a/chrome/browser/profiles/profile_info_interface.h +++ b/chrome/browser/profiles/profile_info_interface.h @@ -5,6 +5,8 @@ #ifndef CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_ #define CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_ +#include <stddef.h> + #include "base/files/file_path.h" #include "base/strings/string16.h" diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc index d4f4c98..1f88159 100644 --- a/chrome/browser/profiles/profile_io_data.cc +++ b/chrome/browser/profiles/profile_io_data.cc @@ -4,9 +4,10 @@ #include "chrome/browser/profiles/profile_io_data.h" +#include <stddef.h> + #include <string> -#include "base/basictypes.h" #include "base/bind.h" #include "base/bind_helpers.h" #include "base/callback.h" @@ -14,6 +15,7 @@ #include "base/compiler_specific.h" #include "base/debug/alias.h" #include "base/logging.h" +#include "base/macros.h" #include "base/path_service.h" #include "base/prefs/pref_service.h" #include "base/stl_util.h" @@ -22,6 +24,7 @@ #include "base/strings/stringprintf.h" #include "base/thread_task_runner_handle.h" #include "base/threading/sequenced_worker_pool.h" +#include "build/build_config.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/chrome_notification_types.h" #include "chrome/browser/content_settings/cookie_settings_factory.h" @@ -964,7 +967,7 @@ ProfileIOData::ResourceContext::CreateClientCertStore() { } void ProfileIOData::ResourceContext::CreateKeygenHandler( - uint32 key_size_in_bits, + uint32_t key_size_in_bits, const std::string& challenge_string, const GURL& url, const base::Callback<void(scoped_ptr<net::KeygenHandler>)>& callback) { diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h index 20c7e77..6465852 100644 --- a/chrome/browser/profiles/profile_io_data.h +++ b/chrome/browser/profiles/profile_io_data.h @@ -5,18 +5,21 @@ #ifndef CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ +#include <stdint.h> + #include <map> #include <string> #include <vector> -#include "base/basictypes.h" #include "base/callback_forward.h" #include "base/files/file_path.h" +#include "base/macros.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" #include "base/memory/weak_ptr.h" #include "base/prefs/pref_member.h" #include "base/synchronization/lock.h" +#include "build/build_config.h" #include "chrome/browser/custom_handlers/protocol_handler_registry.h" #include "chrome/browser/devtools/devtools_network_controller_handle.h" #include "chrome/browser/io_thread.h" @@ -409,7 +412,7 @@ class ProfileIOData { net::URLRequestContext* GetRequestContext() override; scoped_ptr<net::ClientCertStore> CreateClientCertStore() override; void CreateKeygenHandler( - uint32 key_size_in_bits, + uint32_t key_size_in_bits, const std::string& challenge_string, const GURL& url, const base::Callback<void(scoped_ptr<net::KeygenHandler>)>& callback) diff --git a/chrome/browser/profiles/profile_list.h b/chrome/browser/profiles/profile_list.h index 7092d20..d76ca23 100644 --- a/chrome/browser/profiles/profile_list.h +++ b/chrome/browser/profiles/profile_list.h @@ -5,6 +5,8 @@ #ifndef CHROME_BROWSER_PROFILES_PROFILE_LIST_H_ #define CHROME_BROWSER_PROFILES_PROFILE_LIST_H_ +#include <stddef.h> + #include "chrome/browser/profiles/avatar_menu.h" class ProfileInfoInterface; diff --git a/chrome/browser/profiles/profile_list_desktop.h b/chrome/browser/profiles/profile_list_desktop.h index ef9ca8e..9657461 100644 --- a/chrome/browser/profiles/profile_list_desktop.h +++ b/chrome/browser/profiles/profile_list_desktop.h @@ -5,10 +5,13 @@ #ifndef CHROME_BROWSER_PROFILES_PROFILE_LIST_DESKTOP_H_ #define CHROME_BROWSER_PROFILES_PROFILE_LIST_DESKTOP_H_ -#include "chrome/browser/profiles/profile_list.h" +#include <stddef.h> #include <vector> +#include "base/macros.h" +#include "chrome/browser/profiles/profile_list.h" + class Browser; class ProfileInfoInterface; diff --git a/chrome/browser/profiles/profile_list_desktop_browsertest.cc b/chrome/browser/profiles/profile_list_desktop_browsertest.cc index f93aafc..33739e10 100644 --- a/chrome/browser/profiles/profile_list_desktop_browsertest.cc +++ b/chrome/browser/profiles/profile_list_desktop_browsertest.cc @@ -2,7 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include <stddef.h> + #include "base/command_line.h" +#include "base/macros.h" +#include "build/build_config.h" #include "chrome/browser/chrome_notification_types.h" #include "chrome/browser/profiles/avatar_menu.h" #include "chrome/browser/profiles/profile_manager.h" diff --git a/chrome/browser/profiles/profile_list_desktop_unittest.cc b/chrome/browser/profiles/profile_list_desktop_unittest.cc index 3ca1569..041473f 100644 --- a/chrome/browser/profiles/profile_list_desktop_unittest.cc +++ b/chrome/browser/profiles/profile_list_desktop_unittest.cc @@ -7,10 +7,12 @@ #include <string> #include "base/command_line.h" +#include "base/macros.h" #include "base/memory/scoped_ptr.h" #include "base/metrics/field_trial.h" #include "base/strings/string16.h" #include "base/strings/utf_string_conversions.h" +#include "build/build_config.h" #include "chrome/browser/profiles/avatar_menu_observer.h" #include "chrome/browser/profiles/profile_info_cache.h" #include "chrome/browser/profiles/profiles_state.h" diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc index 716adf8..aaa2a34 100644 --- a/chrome/browser/profiles/profile_manager.cc +++ b/chrome/browser/profiles/profile_manager.cc @@ -4,6 +4,8 @@ #include "chrome/browser/profiles/profile_manager.h" +#include <stdint.h> + #include <set> #include "base/bind.h" @@ -20,6 +22,7 @@ #include "base/strings/string_util.h" #include "base/strings/utf_string_conversions.h" #include "base/trace_event/trace_event.h" +#include "build/build_config.h" #include "chrome/browser/bookmarks/bookmark_model_factory.h" #include "chrome/browser/bookmarks/startup_task_runner_service_factory.h" #include "chrome/browser/browser_process.h" @@ -129,9 +132,9 @@ std::vector<base::FilePath>& ProfilesToDelete() { return profiles_to_delete; } -int64 ComputeFilesSize(const base::FilePath& directory, - const base::FilePath::StringType& pattern) { - int64 running_size = 0; +int64_t ComputeFilesSize(const base::FilePath& directory, + const base::FilePath::StringType& pattern) { + int64_t running_size = 0; base::FileEnumerator iter(directory, false, base::FileEnumerator::FILES, pattern); while (!iter.Next().empty()) @@ -142,9 +145,9 @@ int64 ComputeFilesSize(const base::FilePath& directory, // Simple task to log the size of the current profile. void ProfileSizeTask(const base::FilePath& path, int enabled_app_count) { DCHECK_CURRENTLY_ON(BrowserThread::FILE); - const int64 kBytesInOneMB = 1024 * 1024; + const int64_t kBytesInOneMB = 1024 * 1024; - int64 size = ComputeFilesSize(path, FILE_PATH_LITERAL("*")); + int64_t size = ComputeFilesSize(path, FILE_PATH_LITERAL("*")); int size_MB = static_cast<int>(size / kBytesInOneMB); UMA_HISTOGRAM_COUNTS_10000("Profile.TotalSize", size_MB); diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h index 6f84225..a9e0855 100644 --- a/chrome/browser/profiles/profile_manager.h +++ b/chrome/browser/profiles/profile_manager.h @@ -7,17 +7,20 @@ #ifndef CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_ #define CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_ +#include <stddef.h> + #include <list> #include <vector> -#include "base/basictypes.h" #include "base/containers/hash_tables.h" #include "base/files/file_path.h" #include "base/gtest_prod_util.h" +#include "base/macros.h" #include "base/memory/linked_ptr.h" #include "base/memory/scoped_ptr.h" #include "base/message_loop/message_loop.h" #include "base/threading/non_thread_safe.h" +#include "build/build_config.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/profiles/profile_shortcut_manager.h" #include "chrome/browser/ui/browser_list_observer.h" diff --git a/chrome/browser/profiles/profile_manager_browsertest.cc b/chrome/browser/profiles/profile_manager_browsertest.cc index 8628bf0..e7020ed 100644 --- a/chrome/browser/profiles/profile_manager_browsertest.cc +++ b/chrome/browser/profiles/profile_manager_browsertest.cc @@ -2,10 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include <stddef.h> + #include "base/bind.h" #include "base/command_line.h" +#include "base/macros.h" #include "base/prefs/pref_service.h" #include "base/strings/utf_string_conversions.h" +#include "build/build_config.h" #include "chrome/browser/password_manager/password_store_factory.h" #include "chrome/browser/profiles/profile_info_cache.h" #include "chrome/browser/profiles/profile_info_cache_observer.h" diff --git a/chrome/browser/profiles/profile_manager_unittest.cc b/chrome/browser/profiles/profile_manager_unittest.cc index 77e352d..0055243 100644 --- a/chrome/browser/profiles/profile_manager_unittest.cc +++ b/chrome/browser/profiles/profile_manager_unittest.cc @@ -2,11 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include <stddef.h> + #include <string> #include "base/command_line.h" #include "base/files/file_util.h" #include "base/files/scoped_temp_dir.h" +#include "base/macros.h" #include "base/run_loop.h" #include "base/strings/utf_string_conversions.h" #include "base/values.h" diff --git a/chrome/browser/profiles/profile_metrics.cc b/chrome/browser/profiles/profile_metrics.cc index 1825c95..916036c 100644 --- a/chrome/browser/profiles/profile_metrics.cc +++ b/chrome/browser/profiles/profile_metrics.cc @@ -7,6 +7,7 @@ #include "base/files/file_path.h" #include "base/logging.h" #include "base/metrics/histogram.h" +#include "build/build_config.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/profiles/profile_info_cache.h" diff --git a/chrome/browser/profiles/profile_metrics.h b/chrome/browser/profiles/profile_metrics.h index c34635f..9657bd9 100644 --- a/chrome/browser/profiles/profile_metrics.h +++ b/chrome/browser/profiles/profile_metrics.h @@ -8,8 +8,8 @@ #include <stddef.h> #include <string> -#include "base/basictypes.h" #include "base/time/time.h" +#include "build/build_config.h" #include "components/signin/core/browser/signin_header_helper.h" class Profile; diff --git a/chrome/browser/profiles/profile_metrics_mac.mm b/chrome/browser/profiles/profile_metrics_mac.mm index 8b12871..dd931b1 100644 --- a/chrome/browser/profiles/profile_metrics_mac.mm +++ b/chrome/browser/profiles/profile_metrics_mac.mm @@ -4,6 +4,9 @@ #include "chrome/browser/profiles/profile_metrics.h" +#include <stddef.h> +#include <stdint.h> + #include "base/numerics/safe_conversions.h" #include "chrome/browser/mac/keystone_glue.h" diff --git a/chrome/browser/profiles/profile_shortcut_manager.h b/chrome/browser/profiles/profile_shortcut_manager.h index 68cc324..d6fdd3c 100644 --- a/chrome/browser/profiles/profile_shortcut_manager.h +++ b/chrome/browser/profiles/profile_shortcut_manager.h @@ -7,6 +7,7 @@ #include "base/callback.h" #include "base/files/file_path.h" +#include "base/macros.h" #include "base/strings/string16.h" #include "chrome/browser/profiles/profile_info_cache.h" diff --git a/chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc b/chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc index 644a883..b891a61 100644 --- a/chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc +++ b/chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc @@ -3,6 +3,7 @@ // found in the LICENSE file. #include <objbase.h> // For CoInitialize(). +#include <stddef.h> #include "base/base_paths.h" #include "base/files/file_util.h" diff --git a/chrome/browser/profiles/profile_shortcut_manager_win.cc b/chrome/browser/profiles/profile_shortcut_manager_win.cc index 0061b4c..8877ed6 100644 --- a/chrome/browser/profiles/profile_shortcut_manager_win.cc +++ b/chrome/browser/profiles/profile_shortcut_manager_win.cc @@ -5,6 +5,7 @@ #include "chrome/browser/profiles/profile_shortcut_manager_win.h" #include <shlobj.h> // For SHChangeNotify(). +#include <stddef.h> #include <string> #include <vector> @@ -13,6 +14,7 @@ #include "base/command_line.h" #include "base/files/file_enumerator.h" #include "base/files/file_util.h" +#include "base/macros.h" #include "base/path_service.h" #include "base/prefs/pref_service.h" #include "base/strings/string16.h" diff --git a/chrome/browser/profiles/profile_shortcut_manager_win.h b/chrome/browser/profiles/profile_shortcut_manager_win.h index 7645b8d..a7ed610 100644 --- a/chrome/browser/profiles/profile_shortcut_manager_win.h +++ b/chrome/browser/profiles/profile_shortcut_manager_win.h @@ -6,6 +6,7 @@ #define CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_WIN_H_ #include "base/callback.h" +#include "base/macros.h" #include "chrome/browser/profiles/profile_shortcut_manager.h" #include "content/public/browser/notification_observer.h" #include "content/public/browser/notification_registrar.h" diff --git a/chrome/browser/profiles/profile_statistics.cc b/chrome/browser/profiles/profile_statistics.cc index 961e4cc..df42397 100644 --- a/chrome/browser/profiles/profile_statistics.cc +++ b/chrome/browser/profiles/profile_statistics.cc @@ -5,6 +5,7 @@ #include "chrome/browser/profiles/profile_statistics.h" #include "base/bind.h" +#include "base/macros.h" #include "base/memory/ref_counted.h" #include "base/prefs/pref_service.h" #include "base/task_runner.h" diff --git a/chrome/browser/profiles/profile_window.cc b/chrome/browser/profiles/profile_window.cc index b9edb8a..10faa62 100644 --- a/chrome/browser/profiles/profile_window.cc +++ b/chrome/browser/profiles/profile_window.cc @@ -4,11 +4,15 @@ #include "chrome/browser/profiles/profile_window.h" +#include <stddef.h> + #include "base/command_line.h" #include "base/files/file_path.h" +#include "base/macros.h" #include "base/prefs/pref_service.h" #include "base/strings/string_number_conversions.h" #include "base/strings/utf_string_conversions.h" +#include "build/build_config.h" #include "chrome/browser/about_flags.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/lifetime/application_lifetime.h" diff --git a/chrome/browser/profiles/profile_window.h b/chrome/browser/profiles/profile_window.h index 5c32eb2..0232662 100644 --- a/chrome/browser/profiles/profile_window.h +++ b/chrome/browser/profiles/profile_window.h @@ -6,6 +6,7 @@ #define CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_ #include "base/callback_forward.h" +#include "build/build_config.h" #include "chrome/browser/profiles/profile_manager.h" #include "chrome/browser/profiles/profile_metrics.h" #include "chrome/browser/ui/browser_window.h" diff --git a/chrome/browser/profiles/profile_window_browsertest.cc b/chrome/browser/profiles/profile_window_browsertest.cc index 6d7ef46..7e212e6 100644 --- a/chrome/browser/profiles/profile_window_browsertest.cc +++ b/chrome/browser/profiles/profile_window_browsertest.cc @@ -4,8 +4,12 @@ #include "chrome/browser/profiles/profile_window.h" +#include <stddef.h> + #include "base/command_line.h" +#include "base/macros.h" #include "base/strings/utf_string_conversions.h" +#include "build/build_config.h" #include "chrome/app/chrome_command_ids.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/chrome_notification_types.h" diff --git a/chrome/browser/profiles/profiles_state.cc b/chrome/browser/profiles/profiles_state.cc index a225249..26c9dc5 100644 --- a/chrome/browser/profiles/profiles_state.cc +++ b/chrome/browser/profiles/profiles_state.cc @@ -4,10 +4,13 @@ #include "chrome/browser/profiles/profiles_state.h" +#include <stddef.h> + #include "base/files/file_path.h" #include "base/prefs/pref_registry_simple.h" #include "base/prefs/pref_service.h" #include "base/strings/utf_string_conversions.h" +#include "build/build_config.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/browsing_data/browsing_data_helper.h" #include "chrome/browser/browsing_data/browsing_data_remover.h" |
