Replace DISALLOW_COPY_AND_ASSIGN in components/
This replaces DISALLOW_COPY_AND_ASSIGN with explicit constructor deletes where a local script is able to detect its insertion place (~Foo() is public => insert before this line). This is incomplete as not all classes have a public ~Foo() declared, so not all DISALLOW_COPY_AND_ASSIGN occurrences are replaced. IWYU cleanup is left as a separate pass that is easier when these macros go away. Bug: 1010217 Change-Id: I917bfbff1357e9e2cfe330d242feff6bb73e1bce Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3167004 Reviewed-by: Daniel Cheng <dcheng@chromium.org> Owners-Override: Daniel Cheng <dcheng@chromium.org> Commit-Queue: Peter Boström <pbos@chromium.org> Cr-Commit-Position: refs/heads/main@{#923103}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
977a1519dd
commit
09c0182fae
components
android_autofill
browser
apdu
arc
appfuse
arc_service_manager.harc_util_unittest.ccaudio
camera
clipboard
disk_quota
ime
lock_screen
media_session
metrics
midis
net
obb_mounter
power
rotation_lock
session
arc_bridge_host_impl.harc_client_adapter.harc_container_client_adapter.ccarc_data_remover.harc_data_remover_unittest.ccarc_session_impl.ccarc_session_impl.harc_session_impl_unittest.ccarc_vm_client_adapter.ccarc_vm_client_adapter_unittest.ccconnection_notifier.hmojo_channel.h
storage_manager
test
connection_holder_util.hfake_accessibility_helper_instance.hfake_app_instance.hfake_arc_bridge_host.hfake_arc_session.hfake_backup_settings_instance.hfake_bluetooth_instance.hfake_clipboard_instance.hfake_file_system_instance.hfake_intent_helper_instance.hfake_notifications_instance.hfake_pip_instance.hfake_policy_instance.hfake_timer_instance.hfake_wake_lock_instance.hfake_wallpaper_instance.htest_browser_context.h
timer
usb
video_accelerator
gpu_arc_video_decode_accelerator.hgpu_arc_video_encode_accelerator.hgpu_arc_video_protected_buffer_allocator.hprotected_buffer_manager.ccprotected_buffer_manager_proxy.h
wake_lock
assist_ranker
assist_ranker_service_impl.hbase_predictor.hbase_predictor_unittest.ccbinary_classifier_predictor.hclassifier_predictor.hfake_ranker_model_loader.hranker_model.hranker_model_loader.hranker_model_loader_impl.ccranker_model_loader_impl.hranker_url_fetcher.h
autofill
content
renderer
core
browser
address_normalization_manager.haddress_normalizer_impl.ccaddress_normalizer_impl.haddress_normalizer_impl_unittest.ccautocomplete_history_manager.hautocomplete_history_manager_unittest.ccautofill_address_policy_handler.hautofill_credit_card_policy_handler.hautofill_driver_factory.hautofill_driver_factory_unittest.ccautofill_external_delegate.hautofill_field.hautofill_manager.hautofill_merge_unittest.ccautofill_policy_handler.hautofill_profile_validator.hautofill_profile_validator_unittest.ccbrowser_autofill_manager.h
data_model
form_data_importer.hform_parsing
form_structure.hgeo
logging
payments
autofill_credit_card_filling_infobar_delegate_mobile.hautofill_save_card_infobar_delegate_mobile.hautofill_wallet_model_type_controller.hcredit_card_access_manager.hcredit_card_cvc_authenticator.hcredit_card_fido_authenticator.hcredit_card_save_manager.hfull_card_request.hlocal_card_migration_manager.hpayments_client.ccpayments_client.hpayments_client_unittest.ccpayments_util_unittest.cctest_credit_card_fido_authenticator.htest_credit_card_save_manager.htest_legal_message_line.htest_local_card_migration_manager.htest_payments_client.h
test_autofill_client.htest_autofill_clock.htest_autofill_download_manager.htest_autofill_external_delegate.htest_autofill_profile_validator_delayed.htest_autofill_tick_clock.htest_browser_autofill_manager.htest_event_waiter.htest_form_structure.htest_personal_data_manager.hui
address_combobox_model.hcountry_combobox_model.h
payments
card_expiration_date_fix_flow_controller_impl.hcard_expiration_date_fix_flow_controller_impl_unittest.cccard_name_fix_flow_controller_impl.hcard_name_fix_flow_controller_impl_unittest.cccard_unmask_prompt_controller_impl.hcard_unmask_prompt_controller_impl_unittest.cclocal_card_migration_bubble_controller.hlocal_card_migration_dialog_controller.h
region_combobox_model.hwebdata
autocomplete_sync_bridge.hautocomplete_sync_bridge_unittest.ccautofill_profile_model_type_controller.hautofill_profile_sync_bridge.hautofill_profile_sync_bridge_unittest.ccautofill_profile_sync_difference_tracker.hautofill_profile_sync_difference_tracker_unittest.ccautofill_sync_bridge_util_unittest.ccautofill_table.hautofill_wallet_metadata_sync_bridge.hautofill_wallet_metadata_sync_bridge_unittest.ccautofill_wallet_sync_bridge.hautofill_wallet_sync_bridge_unittest.ccautofill_webdata_backend_impl.hmock_autofill_webdata_backend.hsystem_encryptor.hweb_data_service_unittest.cc
common
ios
autofill_assistant
browser
actions
collect_user_data_action.hconfigure_bottom_sheet_action.hconfigure_ui_state_action.hexpect_navigation_action.h
batch_element_checker.hcontroller.hfallback_handler
highlight_element_action.hnavigate_action.hpopup_message_action.hprompt_action.hselect_option_action.hset_attribute_action.hshow_cast_action.hshow_details_action.hshow_form_action.hshow_info_box_action.hshow_progress_bar_action.hstop_action.htell_action.hunsupported_action.hupload_dom_action.huse_address_action.huse_credit_card_action.hwait_for_document_action.hwait_for_dom_action.hwait_for_navigation_action.hdevtools
element_area.helement_precondition.hevent_handler.hfake_script_executor_delegate.hmock_website_login_manager.hretry_timer.hscript_executor.hscript_precondition.hscript_tracker.hservice
user_action.huser_model.hweb
website_login_manager.hwebsite_login_manager_impl.ccwebsite_login_manager_impl.hbackground_sync
background_task_scheduler
blocked_content
popup_blocker_tab_helper.hpopup_opener_tab_helper.hpopup_tracker.hsafe_browsing_triggered_popup_blocker.hsafe_browsing_triggered_popup_blocker_unittest.ccsubresource_filter_abusive_unittest.ccurl_list_manager.h
blocklist
opt_out_blocklist
bookmarks
browser
bookmark_codec.hbookmark_expanded_state_tracker.hbookmark_expanded_state_tracker_unittest.ccbookmark_model.ccbookmark_model.hbookmark_node.hbookmark_storage.hbookmark_utils_unittest.ccscoped_group_bookmark_actions.htitled_url_index.htyped_count_sorter.h
managed
managed_bookmark_service.ccmanaged_bookmark_service.hmanaged_bookmarks_policy_handler.hmanaged_bookmarks_tracker.h
test
browser_sync
browser_ui
sms
browser_watcher
browsing_data
content
core
captive_portal
content
captive_portal_login_detector.hcaptive_portal_service.hcaptive_portal_tab_helper.hcaptive_portal_tab_helper_unittest.cccaptive_portal_tab_reloader.hcaptive_portal_tab_reloader_unittest.cc
core
cast
api_bindings
cast_certificate
cast_channel
cast_framer.hcast_message_handler.hcast_message_handler_unittest.cccast_socket.hcast_socket_service.hcast_socket_unittest.cccast_test_util.hcast_transport.hcast_transport_unittest.cckeep_alive_delegate.hkeep_alive_delegate_unittest.cckeep_alive_handler.hlibcast_socket_service.hmojo_data_pump.h
cbor
cdm
certificate_transparency
chromeos_camera
fake_mjpeg_decode_accelerator.hjpeg_encode_accelerator_unittest.ccmjpeg_decode_accelerator_unittest.ccmojo_jpeg_encode_accelerator_service.hmojo_mjpeg_decode_accelerator.hmojo_mjpeg_decode_accelerator_service.h
client_hints
browser
cloud_devices
component_updater
android
component_updater_service_internal.hconfigurator_impl.hconfigurator_impl_unittest.ccinstaller_policies
on_device_head_suggest_component_installer.hoptimization_hints_component_installer.hoptimization_hints_component_installer_unittest.ccsafety_tips_component_installer.h
timer.htimer_update_scheduler.hconsent_auditor
consent_auditor.hconsent_auditor_impl.hconsent_sync_bridge.hconsent_sync_bridge_impl.hfake_consent_auditor.h
constrained_window
constrained_window_views.ccconstrained_window_views_unittest.ccnative_web_contents_modal_dialog_manager_views.h
content_capture
content_settings
android
browser
core
browser
content_settings_default_provider.hcontent_settings_global_value_map.hcontent_settings_info.hcontent_settings_origin_identifier_value_map.hcontent_settings_policy_provider.hcontent_settings_pref.hcontent_settings_pref_provider.hcookie_settings_policy_handler.hwebsite_settings_info.h
common
test
renderer
contextual_search
content
browser
renderer
core
crash
content
browser
core
cronet
android
cronet_bidirectional_stream_adapter.hcronet_upload_data_stream_adapter.hcronet_url_request_adapter.hcronet_url_request_context_adapter.hio_buffer_with_byte_buffer.h
cronet_prefs_manager.cccronet_prefs_manager.hcronet_url_request.hcronet_url_request_context.cccronet_url_request_context.hhost_cache_persistence_manager.htest
ios
native
buffer.ccengine.ccengine.h
stale_host_resolver.hgenerated
io_buffer_with_cronet_buffer.ccio_buffer_with_cronet_buffer.hrunnables.hrunnables_unittest.cctest
upload_data_sink.ccupload_data_sink.hurl_request.ccurl_request.hdata_reduction_proxy
core
data_use_measurement
dbus
device_event_log
digital_asset_links
discardable_memory
common
service
dom_distiller
core
ios
domain_reliability
download
content
internal
public
database
internal
background_service
android
blob_task_proxy.hclient_set.hcontroller.hcontroller_impl.hcontroller_impl_unittest.ccdebugging_client.hdownload_store.hdownload_store_unittest.ccempty_file_monitor.hfile_monitor_impl.hfile_monitor_unittest.ccin_memory_download.hin_memory_download_driver.hin_memory_download_driver_unittest.ccin_memory_download_unittest.ccinit_aware_background_download_service.hinit_aware_background_download_service_unittest.cclogger_impl.hmodel_impl.hmodel_impl_unittest.ccnavigation_monitor_impl.hnavigation_monitor_impl_unittests.ccnoop_store.hscheduler
battery_status_listener_impl.hbattery_status_listener_mac.hdevice_status_listener.hdevice_status_listener_unittest.ccscheduler_impl.hscheduler_impl_unittest.cc
service_config_impl.htest
common
all_download_event_notifier_unittest.ccbase_file.ccdownload_db_cache.hdownload_db_cache_unittest.ccdownload_item_impl.ccdownload_job_impl.hdownload_path_reservation_tracker.ccdownload_ukm_helper_unittest.ccdownload_worker.ccdownload_worker.hparallel_download_job.hresource_downloader.ccresource_downloader.hsave_package_download_job.h
network
public
background_service
common
all_download_event_notifier.hauto_resumption_handler.hauto_resumption_handler_unittest.ccbase_file.hdownload_file_impl.hdownload_item_impl.hdownload_item_impl_delegate.hdownload_job.hdownload_response_handler.hdownload_url_parameters.hin_progress_download_manager.hsimple_download_manager.hsimple_download_manager_coordinator.hstream_handle_input_stream.hurl_download_handler.hurl_download_request_handle.hurl_loader_factory_provider.h
task
drive
embedder_support
android
delegate
metrics
util
origin_trials
enterprise
browser
exo
buffer.ccbuffer.hclient_controlled_accelerators.hclient_controlled_shell_surface.ccclient_controlled_shell_surface.hclient_controlled_shell_surface_unittest.ccdata_device.hdata_offer.hdata_source.hdisplay.hframe_sink_resource_manager.hfullscreen_shell_surface.hgaming_seat.hinput_method_surface.hlayer_tree_frame_sink_holder.hnotification_surface.hpointer.hwm_helper.hwm_helper_chromeos.hxdg_shell_surface.h
server
shared_memory.hshell_surface.hshell_surface_base.ccshell_surface_base.hsub_surface.hsurface.ccsurface.hsurface_tree_host.ccsurface_tree_host.hsurface_unittest.cctest
text_input_unittest.cctoast_surface.htouch.hvsync_timing_manager.hwayland
clients
compatibility_test
server.hwayland_display_observer.hwayland_display_output.hwayland_watcher.hwp_viewporter.ccxdg_shell.cczaura_shell.hzaura_shell_unittest.cczcr_alpha_compositing.cczcr_gaming_input.cczcr_notification_shell.cczcr_secure_output.cczcr_stylus.cczcr_stylus_tools.cczcr_vsync_feedback.cczwp_input_timestamps_manager.cczwp_linux_explicit_synchronization.cczwp_pointer_gestures.cczwp_relative_pointer_manager.cczxdg_shell.ccfavicon
content
core
favicon_client.hfavicon_database.hfavicon_driver_observer.hfavicon_handler.hfavicon_service_impl.hhistory_ui_favicon_request_handler_impl.hhistory_ui_favicon_request_handler_impl_unittest.cclarge_icon_service_impl.hlarge_icon_service_impl_unittest.cc
ios
favicon_base
feature_engagement
internal
android
availability_model.havailability_model_impl.havailability_model_impl_unittest.ccchrome_variations_configuration.hcondition_validator.hdisplay_lock_controller.hdisplay_lock_controller_impl.heditable_configuration.hevent_model.hevent_model_impl.hevent_storage_validator.hevent_store.hfeature_config_condition_validator.hfeature_config_condition_validator_unittest.ccfeature_config_event_storage_validator.hin_memory_event_store.hinit_aware_event_model.hinit_aware_event_model_unittest.ccnever_availability_model.hnever_condition_validator.hnever_event_storage_validator.hnoop_display_lock_controller.honce_condition_validator.hpersistent_availability_store_unittest.ccpersistent_event_store.hsingle_invalid_configuration.hsystem_time_provider.htime_provider.htracker_impl.htracker_impl_unittest.ccpublic
test
feedback
flags_ui
fullscreen_control
gcm_driver
crypto
fake_gcm_app_handler.hfake_gcm_client.hfake_gcm_client_factory.hfake_gcm_driver.hfake_gcm_profile_service.ccfake_gcm_profile_service.hgcm_account_mapper.hgcm_account_tracker.hgcm_account_tracker_unittest.ccgcm_client_factory.hgcm_client_impl.hgcm_client_impl_unittest.ccgcm_delayed_task_controller.hgcm_driver.hgcm_driver_android.hgcm_driver_desktop.ccgcm_driver_desktop.hgcm_driver_desktop_unittest.ccgcm_driver_unittest.ccgcm_profile_service.ccgcm_profile_service.hgcm_stats_recorder_android.hgcm_stats_recorder_impl.hinstance_id
grpc_support
guest_os
guest_view
browser
guest_view_base.ccguest_view_event.hguest_view_manager.hguest_view_manager_unittest.cctest_guest_view_manager.h
renderer
heap_profiling
heavy_ad_intervention
history
content
core
browser
android
android_cache_database.handroid_history_types.handroid_urls_database.handroid_urls_sql_handler.hfavicon_sql_handler.hsql_handler.hurls_sql_handler.hvisit_sql_handler.h
browsing_history_service.hdownload_database.hexpire_history_backend.hhistory_backend.hhistory_backend_client.hhistory_backend_observer.hhistory_client.hhistory_service.hhistory_service_observer.hhistory_types.hin_memory_database.hin_memory_history_backend.hsync
delete_directive_handler.hdelete_directive_handler_unittest.cchistory_delete_directives_model_type_controller.htyped_url_model_type_controller.htyped_url_sync_bridge.htyped_url_sync_metadata_database.htyped_url_sync_metadata_database_unittest.cc
top_sites_database.htop_sites_observer.hurl_database.hvisit_database.hvisit_delegate.hvisitsegment_database.hweb_history_service_unittest.cctest
ios
metrics
image_fetcher
core
cache
cached_image_fetcher.hcached_image_fetcher_unittest.ccimage_data_fetcher.himage_data_fetcher_unittest.ccimage_decoder.himage_fetcher.himage_fetcher_impl.himage_fetcher_metrics_reporter_unittest.ccimage_fetcher_service.hreduced_mode_image_fetcher.hreduced_mode_image_fetcher_unittest.ccios
infobars
android
content
core
invalidation
javascript_dialogs
js_injection
keep_alive_registry
keyed_service
core
language
content
browser
core
ios
leveldb_proto
internal
leveldb_database.hproto_database_impl_unittest.ccproto_leveldb_wrapper.hshared_proto_database_client.h
public
location
media_message_center
media_controls_progress_view_unittest.ccmedia_notification_background_impl.hmedia_notification_background_impl_unittest.cc
media_router
browser
android
flinging_controller_bridge.hmedia_router_android.hmedia_router_android_bridge.hmedia_router_dialog_controller_android.h
issue_manager.hissues_observer.hmedia_router_base.ccmedia_router_base.hmedia_router_dialog_controller.hmedia_routes_observer.hmedia_sinks_observer.hpresentation
local_presentation_manager.hpresentation_media_sinks_observer.hpresentation_media_sinks_observer_unittest.ccpresentation_service_delegate_impl.h
route_message_observer.hcommon
metrics
android_metrics_provider.hcall_stack_profile_builder.hcall_stack_profile_collector.hcall_stack_profile_metrics_provider.hchild_call_stack_profile_collector.hchild_call_stack_profile_collector_unittest.cccloned_install_detector.hcomponent_metrics_provider.hcomponent_metrics_provider_unittest.cc
content
accessibility_metrics_provider.hgpu_metrics_provider.hrendering_perf_metrics_provider.hsubprocess_metrics_provider.h
cpu_metrics_provider.hdaily_event.hdata_use_tracker.hdelegating_provider.hdemographics
drive_metrics_provider.henvironment_recorder.henvironment_recorder_unittest.ccexpired_histograms_checker.hfield_trials_provider.hfile_metrics_provider.hlibrary_support
metrics_log.ccmetrics_log.hmetrics_log_manager.hmetrics_log_manager_unittest.ccmetrics_log_store.hmetrics_log_store_unittest.ccmetrics_log_unittest.ccmetrics_provider.hmetrics_reporting_service.hmetrics_rotation_scheduler.hmetrics_scheduler.hmetrics_service.hmetrics_service_client.hmetrics_service_client_unittest.ccmetrics_service_unittest.ccmetrics_state_manager.hmetrics_upload_scheduler.hnet
persistent_system_profile.hpersistent_system_profile_unittest.ccreporting_service.hreporting_service_unittest.ccserialization
single_sample_metrics.ccsingle_sample_metrics_factory_impl.ccsingle_sample_metrics_factory_impl.hsingle_sample_metrics_factory_impl_unittest.ccstability_metrics_helper.hstability_metrics_provider.hstability_metrics_provider_unittest.ccsystem_session_analyzer
test
ui
unsent_log_store.hunsent_log_store_metrics.hunsent_log_store_metrics_impl.hmetrics_services_manager
mirroring
browser
single_client_video_capture_host.ccsingle_client_video_capture_host.hsingle_client_video_capture_host_unittest.cc
service
captured_audio_input.hcaptured_audio_input_unittest.ccfake_network_service.hfake_video_capture_host.hmedia_remoter.hmessage_dispatcher.ccmessage_dispatcher.hmessage_dispatcher_unittest.ccmirror_settings.hmirroring_service.hreceiver_response_unittest.ccreceiver_setup_querier_unittest.ccremoting_sender.hremoting_sender_unittest.ccrtp_stream.hrtp_stream_unittest.ccsession.ccudp_socket_client.hudp_socket_client_unittest.ccvideo_capture_client.hvideo_capture_client_unittest.cc
nacl
broker
browser
nacl_broker_host_win.hnacl_process_host.hnacl_validation_cache.hpnacl_host.hpnacl_translation_cache.htest_nacl_browser_delegate.h
loader
renderer
manifest_service_channel.hnacl_helper.hnexe_load_manager.h
plugin
ppb_nacl_private_impl.cctrusted_plugin_channel.hzygote
navigation_interception
net_log
network_hints
browser
renderer
network_time
no_state_prefetch
browser
no_state_prefetch_contents.hno_state_prefetch_link_manager.hno_state_prefetch_manager.hprerender_history.h
renderer
ntp_tiles
custom_links_manager_impl.hcustom_links_store.hicon_cacher_impl.hmost_visited_sites.hpopular_sites_impl.h
webui
offline_items_collection
core
offline_pages
content
background_loader
core
archive_manager.harchive_validator.h
background
change_requests_state_task.hconnection_notifier.hget_requests_task.hinitialize_store_task.hload_termination_listener.hremove_requests_task.hrequest_coordinator.hrequest_queue.hupdate_request_task.h
downloads
model
add_page_task.hcleanup_visuals_task.hclear_storage_task.hdelete_page_task.hget_pages_task.hget_visuals_task.hmark_page_accessed_task.hoffline_page_model_taskified.hpersistent_page_consistency_check_task.hstartup_maintenance_task.hstore_visuals_task.hupdate_publish_id_task.hvisuals_availability_task.h
offline_page_metadata_store_test_util.hoffline_page_test_archiver.hprefetch
generate_page_bundle_request.hget_operation_request.hprefetch_background_task.hprefetch_dispatcher_impl.hprefetch_downloader_impl.hprefetch_gcm_app_handler.hprefetch_gcm_app_handler_unittest.ccprefetch_importer.hprefetch_importer_impl.hprefetch_importer_impl_unittest.ccprefetch_network_request_factory_impl.hprefetch_request_fetcher.hprefetch_service_impl.hprefetch_service_test_taco.cc
test_scoped_offline_clock.hstore
tasks
add_unique_urls_task.hdownload_archives_task.hdownload_cleanup_task.hdownload_completed_task.hfinalize_dismissed_url_suggestion_task.hgenerate_page_bundle_reconcile_task.hgenerate_page_bundle_task.hget_operation_task.hget_visuals_info_task.himport_archives_task.himport_cleanup_task.himport_completed_task.hmark_operation_done_task.hmetrics_finalization_task.hpage_bundle_update_task.hsent_get_operation_cleanup_task.hstale_entry_finalizer_task.h
test_download_client.htest_download_service.cctest_download_service.htask
open_from_clipboard
clipboard_recent_content.hclipboard_recent_content_generic.hclipboard_recent_content_ios.hfake_clipboard_recent_content.h
optimization_guide
core
bloom_filter.hcommand_line_top_host_provider.hdecision_tree_prediction_model.hhint_cache.hhint_cache_unittest.cchints_component_util_unittest.cchints_fetcher.hhints_fetcher_unittest.ccoptimization_filter.hoptimization_guide_store.hoptimization_hints_component_update_listener_unittest.ccprediction_model.hprediction_model_fetcher.hprediction_model_fetcher_unittest.ccstore_update_data.htest_hints_component_creator.h
os_crypt
key_storage_config_linux.hkey_storage_keyring.hkey_storage_keyring_unittest.cckey_storage_kwallet.hkey_storage_libsecret.hkey_storage_libsecret_unittest.cckey_storage_linux.hkey_storage_linux_unittest.cckey_storage_util_linux_unittest.cckeychain_password_mac.hkwallet_dbus.hlibsecret_util_linux.hos_crypt_linux_unittest.ccos_crypt_mocker_linux.hos_crypt_unittest.cc
ownership
page_image_annotation
page_info
page_load_metrics
browser
layout_shift_normalization.hmetrics_navigation_throttle.hmetrics_web_contents_observer.hpage_load_metrics_test_content_browser_client.hpage_load_metrics_update_dispatcher.hpage_load_tracker.h
observers
ad_metrics
back_forward_cache_page_load_metrics_observer.hclick_input_tracker.hcore
page_load_metrics_observer_content_test_harness.hpage_load_metrics_observer_tester.huse_counter_page_load_metrics_observer.hcommon
renderer
password_manager
content
browser
core
browser
android_affiliation
affiliation_backend_unittest.ccaffiliation_database.haffiliation_fetch_throttler.haffiliation_fetch_throttler_unittest.ccfacet_manager.hmock_affiliated_match_helper.hmock_affiliation_consumer.h
export
fake_form_fetcher.hfield_info_table.hform_fetcher.hform_fetcher_impl.hform_fetcher_impl_unittest.ccform_parsing
form_saver.hform_saver_impl.hform_saver_impl_unittest.ccgeneration
hash_password_manager.hhsts_query_unittest.cchttp_credentials_cleaner.hhttp_credentials_cleaner_unittest.cchttp_password_store_migrator.hhttp_password_store_migrator_unittest.ccimport
insecure_credentials_table.hleak_detection_delegate_helper.hlogin_database.cclogin_database.hmock_password_form_manager_for_ui.hmulti_store_form_fetcher.hmulti_store_form_fetcher_unittest.ccpassword_autofill_manager.hpassword_feature_manager.hpassword_feature_manager_impl.hpassword_form_manager.hpassword_generation_frame_helper.hpassword_manager.hpassword_manager_client.hpassword_manager_driver.hpassword_manager_metrics_recorder.hpassword_manager_test_utils.hpassword_requirements_service.hpassword_reuse_detection_manager.hpassword_reuse_detection_manager_unittest.ccpassword_save_manager.hsite_affiliation
statistics_table.hstub_credentials_filter.hstub_form_saver.hstub_password_manager_client.hstub_password_manager_driver.hsync
password_model_type_controller.hpassword_sync_bridge.ccpassword_sync_bridge.hpassword_sync_bridge_unittest.cc
sync_credentials_filter.hsync_credentials_filter_unittest.ccios
payments
content
android
currency_formatter_android.hjourney_logger_android.hpayment_handler_host.hpayment_manifest_downloader_android.ccpayment_manifest_downloader_android.hpayment_manifest_parser_android.ccpayment_manifest_parser_android.hpayment_manifest_web_data_service_android.h
autofill_payment_app.hautofill_payment_app_factory.hdeveloper_console_logger.hinitialization_task.hinstallable_payment_app_crawler.hmanifest_verifier.hpayment_app.hpayment_app_factory.hpayment_app_service.hpayment_handler_host.hpayment_request_display_manager.hpayment_response_helper.hservice_worker_payment_app.hservice_worker_payment_app_factory.ccservice_worker_payment_app_factory.hservice_worker_payment_app_finder.hservice_worker_payment_app_unittest.cctest_content_payment_request_delegate.hutility
web_app_manifest_section_table.hweb_app_manifest_section_table_unittest.cccore
pdf
performance_manager
decorators
graph
frame_node_impl.hnode_attached_data.hnode_attached_data_unittest.ccnode_base.hpage_node_impl.hprocess_node_impl.hsystem_node_impl.hworker_node_impl.hworker_node_impl_unittest.cc
performance_manager_impl.hperformance_manager_impl_unittest.ccperformance_manager_tab_helper.hperformance_manager_unittest.ccpersistence
site_data
public
decorators
graph
persistence
site_data
test_support
web_contents_proxy_impl.hweb_contents_proxy_unittest.ccworker_watcher.hworker_watcher_unittest.ccpermissions
android
chooser_controller.hcontexts
geolocation_permission_context.hgeolocation_permission_context_android.hpayment_handler_permission_context.h
fake_bluetooth_chooser_controller.hpermission_context_base_unittest.ccpermission_manager.ccpermission_manager.hquota_permission_context_impl.cctest
plugins
renderer
prefs
default_pref_store_unittest.ccjson_pref_store_unittest.ccpref_change_registrar.hpref_member.hpref_notifier_impl.hpref_service_factory.hpref_store_observer_mock.hpref_value_map.hpref_value_store.hscoped_user_pref_update.htesting_pref_service.h
proxy_config
pwg_encoder
qr_code_generator
query_parser
query_tiles
android
quirks
reading_list
core
reading_list_entry.hreading_list_model.hreading_list_model_impl.hreading_list_model_storage.hreading_list_store.h
ios
remote_cocoa
app_shim
renderer_context_menu
rlz
safe_browsing
android
content
browser
base_blocking_page.hbrowser_url_loader_throttle.hclient_side_detection_host.hclient_side_detection_service.hclient_side_model_loader.hclient_side_model_loader_unittest.ccmojo_safe_browsing_impl.ccmojo_safe_browsing_impl.h
password_protection
safe_browsing_blocking_page.hsafe_browsing_controller_client.hsafe_browsing_metrics_collector.hsafe_browsing_navigation_observer.hsafe_browsing_navigation_observer_manager.hsafe_browsing_service_interface.hsafe_browsing_subresource_tab_helper.hsafe_browsing_tab_observer.hthreat_details.htriggers
ad_sampler_trigger.hmock_trigger_manager.hsuspicious_site_trigger.htrigger_manager.htrigger_manager_unittest.cctrigger_throttler.h
ui_manager_unittest.ccweb_ui
common
renderer
core
safe_search_api
scheduling_metrics
search_engines
android
default_search_manager.hdefault_search_policy_handler.hkeyword_table.hkeyword_table_unittest.cckeyword_web_data_service.hsearch_host_to_urls_map.hsearch_terms_data.htemplate_url.htemplate_url_fetcher.htemplate_url_service.cctemplate_url_service.htesting_search_terms_data.hsearch_provider_logos
security_interstitials
content
bad_clock_blocking_page.hblocked_interception_blocking_page.hcaptive_portal_blocking_page.hcert_report_helper.hcommon_name_mismatch_handler.hconnection_help_ui.hcontent_metrics_helper.hlegacy_tls_blocking_page.hmitm_software_blocking_page.horigin_policy_interstitial_page.hsecurity_blocking_page_factory.hsecurity_interstitial_controller_client.hsecurity_interstitial_page.hsecurity_interstitial_tab_helper.hssl_blocking_page.hssl_blocking_page_base.hssl_error_assistant.hssl_error_handler.ccssl_error_handler.hssl_error_handler_unittest.ccstateful_ssl_host_state_delegate.h
core
send_tab_to_self
ios
send_tab_to_self_bridge.hsend_tab_to_self_entry.hsend_tab_to_self_infobar_delegate.hsend_tab_to_self_model.hsend_tab_to_self_model_observer.hsend_tab_to_self_model_type_controller.hsend_tab_to_self_sync_service.hservices
app_service
filesystem
font
heap_profiling
language_detection
patch
print_compositor
quarantine
storage
dom_storage
async_dom_storage_database.hdom_storage_database.hlocal_storage_impl_unittest.ccsession_storage_area_impl.hsession_storage_impl_unittest.ccstorage_area_impl.h
indexed_db
leveldb
scopes
transactional_leveldb
service_worker
storage_service_impl.hstorage_service_impl_unittest.ccunzip
session_manager
sessions
content
content_live_tab.hcontent_record_password_state.cccontent_serialized_navigation_builder_unittest.cccontent_serialized_navigation_driver.hnavigation_task_id_unittest.ccsession_tab_helper.h
core
command_storage_manager_test_helper.htab_restore_service.htab_restore_service_impl.cctab_restore_service_impl.h
ios
signin
core
browser
about_signin_internals.haccount_investigator.haccount_reconcilor.hactive_directory_account_reconcilor_delegate.hdice_account_reconcilor_delegate.hdice_header_helper.hmirror_account_reconcilor_delegate.hsignin_error_controller.hsignin_header_helper.hsignin_investigator.hsignin_status_metrics_provider.hsignin_status_metrics_provider_base.hsignin_status_metrics_provider_delegate.h
internal
identity_manager
account_fetcher_service.haccount_info_fetcher.haccount_tracker_service.haccounts_cookie_mutator_impl.haccounts_mutator_impl.hchild_account_info_fetcher_android.hdiagnostics_provider_impl.hfake_profile_oauth2_token_service.hfake_profile_oauth2_token_service_delegate.hgaia_cookie_manager_service.hgaia_cookie_manager_service_unittest.ccmutable_profile_oauth2_token_service_delegate.ccmutable_profile_oauth2_token_service_delegate.hoauth_multilogin_helper.hoauth_multilogin_token_fetcher.hprimary_account_manager.hprimary_account_policy_manager.hprimary_account_policy_manager_impl.hprofile_oauth2_token_service.hprofile_oauth2_token_service_delegate.hprofile_oauth2_token_service_delegate_android.ccprofile_oauth2_token_service_delegate_android.hprofile_oauth2_token_service_delegate_chromeos.hprofile_oauth2_token_service_delegate_chromeos_legacy.hprofile_oauth2_token_service_delegate_chromeos_unittest.ccprofile_oauth2_token_service_delegate_ios.hprofile_oauth2_token_service_delegate_ios.mmprofile_oauth2_token_service_unittest.ccubertoken_fetcher_impl.h
ios
public
base
identity_manager
access_token_fetcher.haccounts_cookie_mutator.haccounts_cookie_mutator_unittest.ccaccounts_mutator.haccounts_mutator_unittest.ccdiagnostics_provider.hidentity_manager.hidentity_test_environment.ccidentity_test_environment.hidentity_test_environment_unittest.cc
ios
objc
primary_account_access_token_fetcher.htest_identity_manager_observer.hubertoken_fetcher.hwebdata
site_engagement
speech
spellcheck
browser
spell_check_host_impl.hspellcheck_dictionary.hspellchecker_session_bridge_android.hspelling_service_client.h
renderer
storage_monitor
mtab_watcher_linux.hmtp_manager_client_chromeos.hmtp_manager_client_chromeos_unittest.ccportable_device_watcher_win.hstorage_monitor_chromeos.hstorage_monitor_chromeos_unittest.ccstorage_monitor_dummy.ccstorage_monitor_linux.ccstorage_monitor_linux.hstorage_monitor_linux_unittest.ccstorage_monitor_mac.hstorage_monitor_win.hstorage_monitor_win_unittest.cctest_media_transfer_protocol_manager_chromeos.htest_portable_device_watcher_win.htest_storage_monitor_win.htest_volume_mount_watcher_win.htransient_device_ids.hvolume_mount_watcher_win.h
subresource_filter
content
browser
activation_state_computing_navigation_throttle.hactivation_state_computing_navigation_throttle_unittest.ccads_blocked_infobar.hads_blocked_infobar_delegate.hasync_document_subresource_filter.hasync_document_subresource_filter_test_utils.hcontent_subresource_filter_throttle_manager_unittest.ccnavigation_console_logger.hpage_load_statistics.hruleset_publisher_impl.hruleset_service.hruleset_service_unittest.ccsubframe_navigation_filtering_throttle.hsubframe_navigation_filtering_throttle_unittest.ccsubresource_filter_content_settings_manager.hsubresource_filter_observer_manager.hsubresource_filter_observer_test_utils.hsubresource_filter_profile_context.hsubresource_filter_safe_browsing_activation_throttle.hsubresource_filter_safe_browsing_activation_throttle_unittest.ccsubresource_filter_safe_browsing_client.hsubresource_filter_safe_browsing_client_request.htest_ruleset_publisher.cctest_ruleset_publisher.hverified_ruleset_dealer.h
common
renderer
core
browser
copying_file_stream.hsubresource_filter_features_test_support.hsubresource_filter_features_unittest.cc
common
tools
sync
base
driver
backend_migrator.hdata_type_manager_impl.h
glue
model_load_manager.hmodel_type_controller.hnon_ui_syncable_service_based_model_type_controller.ccnon_ui_syncable_service_based_model_type_controller.hsync_auth_manager.hsync_client_mock.hsync_policy_handler.hsync_service.hsync_service_crypto.hsync_service_impl.hsync_session_durations_metrics_recorder.hsync_session_durations_metrics_recorder_unittest.ccsync_stopped_reporter.hsyncable_service_based_model_type_controller.ccsyncable_service_based_model_type_controller.htest_sync_service.htrusted_vault_client.hengine
backoff_delay_provider.hcommit.hcommit_contribution_impl.hcommit_processor.h
cycle
debug_info_event_listener.hevents
commit_request_event.hcommit_response_event.hconfigure_get_updates_request_event.hget_updates_response_event.hnormal_get_updates_request_event.hpoll_get_updates_request_event.hprotocol_event_buffer.h
forwarding_model_type_processor.hget_updates_delegate.hget_updates_processor.hloopback_server
model_type_configurer.hmodel_type_registry.hmodel_type_worker.hnet
http_bridge.hserver_connection_manager.hsync_server_connection_manager.ccsync_server_connection_manager.h
nigori
sync_engine.hsync_manager_factory.hsync_manager_impl.hsync_scheduler_impl.hsyncer.hmodel
blocking_model_type_store_impl.hclient_tag_based_model_type_processor.hdata_type_error_handler_impl.hentity_change.hforwarding_model_type_controller_delegate.hmodel_type_store_base.hmodel_type_store_impl.hmodel_type_store_service_impl.hmutable_data_batch.hproxy_model_type_controller_delegate.hsyncable_service.hsyncable_service_based_bridge.ccsyncable_service_based_bridge.h
nigori
keystore_keys_cryptographer.hnigori_local_change_processor.hnigori_model_type_processor.hnigori_storage.hnigori_storage_impl.hnigori_sync_bridge.hnigori_sync_bridge_impl.ccnigori_sync_bridge_impl.hpending_local_nigori_commit.ccpending_local_nigori_commit.h
test
sync_bookmarks
bookmark_model_merger.hbookmark_model_observer_impl.hbookmark_model_type_processor.ccbookmark_model_type_processor.hbookmark_sync_service.hsynced_bookmark_tracker.h
sync_device_info
device_count_metrics_provider.hdevice_info.hdevice_info_prefs.hdevice_info_sync_bridge.hdevice_info_sync_bridge_unittest.ccdevice_info_sync_client.hdevice_info_sync_service_impl.hfake_device_info_tracker.hfake_local_device_info_provider.hlocal_device_info_provider_impl.hlocal_device_info_provider_impl_unittest.cc
sync_preferences
pref_model_associator.hpref_model_associator_unittest.ccpref_service_mock_factory.hpref_service_syncable.hpref_service_syncable_factory.hpref_service_syncable_unittest.cctesting_pref_service_syncable.h
sync_sessions
local_session_event_handler_impl.hlocal_session_event_router.hopen_tabs_ui_delegate_impl.hproxy_tabs_data_type_controller.hsession_model_type_controller.hsession_store.hsession_sync_bridge.hsession_sync_prefs.hsession_sync_service.hsession_sync_service_impl.hsessions_global_id_mapper.hsync_sessions_client.hsynced_session_tracker.hsynced_window_delegates_getter.htab_node_pool.htest_synced_window_delegates_getter.h
sync_user_events
fake_user_event_service.hno_op_user_event_service.huser_event_model_type_controller.huser_event_service.huser_event_service_impl.huser_event_sync_bridge.h
system_media_controls
thin_webview
tracing
translate
content
browser
renderer
core
browser
ios
translate_internals
ui_devtools
connector_delegate.hcss_agent.hdevtools_client.hdevtools_server.hdom_agent.hoverlay_agent.hpage_agent.hroot_element.htracing_agent.hui_devtools_unittest_utils.hui_element_delegate.h
views
ukm
debug
ios
observers
test_ukm_recorder.hukm_reporting_service.hukm_rotation_scheduler.hukm_service.hukm_service_unittest.ccunsent_log_store_metrics_impl.hundo
bookmark_undo_service.ccbookmark_undo_service.hbookmark_undo_utils.hundo_manager.hundo_manager_test.cc
unified_consent
unified_consent_service.hunified_consent_service_unittest.ccurl_keyed_data_collection_consent_helper.ccurl_keyed_data_collection_consent_helper.h
update_client
component.hcomponent_patcher_unittest.cccomponent_unpacker_unittest.cc
net
network.hpersisted_data.hprotocol_handler.hprotocol_parser.hrequest_sender.hrequest_sender_unittest.ccunzipper.hupdate_checker.ccupdate_checker.hupdate_checker_unittest.ccupdate_query_params_delegate.hupdater_state_unittest.ccurl_matcher
url_pattern_index
user_manager
fake_user_manager.hscoped_user_manager.huser.ccuser.h
user_image
user_info_impl.huser_manager.huser_manager_base.huser_unittest.ccuser_prefs
variations
entropy_provider.hentropy_provider_unittest.cc
field_trial_config
platform_field_trials.hservice
safe_seed_manager.hsafe_seed_manager_unittest.ccvariations_field_trial_creator.hvariations_field_trial_creator_unittest.ccvariations_service_unittest.cc
synthetic_trial_registry_unittest.ccvariations_associated_data_unittest.ccvariations_crash_keys.ccvariations_crash_keys_chromeos_unittest.ccvariations_crash_keys_unittest.ccvariations_params_manager.hvariations_request_scheduler.hvariations_request_scheduler_mobile.hvariations_seed_processor.hvariations_seed_processor_unittest.ccvariations_seed_simulator.hvariations_seed_simulator_unittest.ccvariations_seed_store.hvariations_seed_store_unittest.ccvisitedlink
browser
common
renderer
test
viz
client
common
demo
host
client_frame_sink_video_capturer.hgpu_client.h
hit_test
host_display_client.hhost_frame_sink_manager.hhost_frame_sink_manager_unittest.cchost_gpu_memory_buffer_manager.hhost_gpu_memory_buffer_manager_unittest.cclayered_window_updater_impl.hservice
compositor_frame_fuzzer
display
ca_layer_overlay.hdamage_frame_annotator.hdc_layer_overlay.hdirect_renderer.hdisplay.hdisplay_scheduler.hdynamic_geometry_binding.hexternal_use_client.hgl_renderer.ccgl_renderer.hgl_renderer_copier.houtput_surface.houtput_surface_frame.hoverlay_processor_interface.hoverlay_processor_mac.hoverlay_processor_on_gpu.hoverlay_processor_stub.hoverlay_processor_using_strategy.hoverlay_processor_win.hoverlay_strategy_fullscreen.hoverlay_strategy_single_on_top.hoverlay_strategy_underlay.hoverlay_strategy_underlay_cast.hprogram_binding.hshared_bitmap_manager.hskia_output_surface.hskia_renderer.ccskia_renderer.hsoftware_output_device.hsoftware_renderer.hstatic_geometry_binding.hsurface_aggregator.hsurface_aggregator_unittest.ccsync_query_collection.cctexture_deleter.h
display_embedder
buffer_queue.hgl_output_surface_android.hgl_output_surface_buffer_queue.hgl_output_surface_chromeos.hgl_output_surface_offscreen.himage_context_impl.hin_process_gpu_memory_buffer_manager.houtput_device_backing_unittest.ccoutput_surface_provider_impl.houtput_surface_unified.hserver_shared_bitmap_manager.hskia_output_device.hskia_output_device_dawn.hskia_output_device_gl.hskia_output_device_offscreen.hskia_output_device_vulkan.hskia_output_device_x11.hskia_output_surface_dependency_impl.hskia_output_surface_impl.hskia_output_surface_impl_on_gpu.hsoftware_output_device_mac.hsoftware_output_device_ozone.hsoftware_output_device_x11.hsoftware_output_surface.hsoftware_output_surface_unittest.ccvsync_parameter_listener.h
frame_sinks
compositor_frame_sink_impl.hcompositor_frame_sink_support.hcompositor_frame_sink_support_unittest.ccexternal_begin_frame_source_android.hframe_sink_manager_impl.hgpu_vsync_begin_frame_source.hroot_compositor_frame_sink_impl.hsurface_resource_holder.hsurface_synchronization_unittest.cc
video_capture
video_detector.hvideo_detector_unittest.ccgl
hit_test
main
surfaces
test
compositor_frame_helpers.hfake_compositor_frame_sink_client.hfake_delay_based_time_source.hfake_display_client.hfake_host_frame_sink_client.hfake_skia_output_surface.hgpu_host_impl_test_api.hhost_frame_sink_manager_test_api.hmock_compositor_frame_sink_client.hmock_display_client.htest_context_provider.cctest_context_support.htest_frame_sink_manager.htest_gpu_memory_buffer_manager.htest_gpu_service_holder.cctest_gpu_service_holder.htest_latest_local_surface_id_lookup_delegate.htest_output_surface_provider.hviz_test_suite.h
web_cache
renderer
web_modal
single_web_contents_dialog_manager.htest_web_contents_modal_dialog_host.hweb_contents_modal_dialog_manager.h
web_package
web_resource
eula_accepted_notifier.hresource_request_allowed_notifier.hresource_request_allowed_notifier_test_util.hresource_request_allowed_notifier_unittest.ccweb_resource_service.h
webapps
browser
webcrypto
webdata
common
webdata_services
webxr
wifi
zoom
@ -16,6 +16,10 @@ namespace safe_search_api {
|
||||
class FakeURLCheckerClient : public URLCheckerClient {
|
||||
public:
|
||||
FakeURLCheckerClient();
|
||||
|
||||
FakeURLCheckerClient(const FakeURLCheckerClient&) = delete;
|
||||
FakeURLCheckerClient& operator=(const FakeURLCheckerClient&) = delete;
|
||||
|
||||
~FakeURLCheckerClient() override;
|
||||
|
||||
// Fake override that simply holds references of |url| and |callback|.
|
||||
@ -33,8 +37,6 @@ class FakeURLCheckerClient : public URLCheckerClient {
|
||||
private:
|
||||
ClientCheckCallback callback_;
|
||||
GURL url_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(FakeURLCheckerClient);
|
||||
};
|
||||
|
||||
} // namespace safe_search_api
|
||||
|
@ -31,6 +31,10 @@ class SafeSearchURLCheckerClient : public URLCheckerClient {
|
||||
const net::NetworkTrafficAnnotationTag& traffic_annotation,
|
||||
const std::string& api_key = google_apis::GetAPIKey());
|
||||
|
||||
SafeSearchURLCheckerClient(const SafeSearchURLCheckerClient&) = delete;
|
||||
SafeSearchURLCheckerClient& operator=(const SafeSearchURLCheckerClient&) =
|
||||
delete;
|
||||
|
||||
~SafeSearchURLCheckerClient() override;
|
||||
|
||||
// Checks whether an |url| is restricted according to SafeSearch.
|
||||
@ -52,8 +56,6 @@ class SafeSearchURLCheckerClient : public URLCheckerClient {
|
||||
const std::string api_key_;
|
||||
|
||||
CheckList checks_in_progress_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(SafeSearchURLCheckerClient);
|
||||
};
|
||||
|
||||
} // namespace safe_search_api
|
||||
|
@ -29,6 +29,10 @@ class URLChecker;
|
||||
class StubURLChecker {
|
||||
public:
|
||||
StubURLChecker();
|
||||
|
||||
StubURLChecker(const StubURLChecker&) = delete;
|
||||
StubURLChecker& operator=(const StubURLChecker&) = delete;
|
||||
|
||||
~StubURLChecker();
|
||||
|
||||
// Returns a URLChecker that will use the stubbed-out responses. Can be called
|
||||
@ -51,8 +55,6 @@ class StubURLChecker {
|
||||
|
||||
network::TestURLLoaderFactory test_url_loader_factory_;
|
||||
scoped_refptr<network::SharedURLLoaderFactory> test_shared_loader_factory_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(StubURLChecker);
|
||||
};
|
||||
|
||||
} // namespace safe_search_api
|
||||
|
@ -43,6 +43,9 @@ class URLChecker {
|
||||
URLChecker(std::unique_ptr<URLCheckerClient> async_checker,
|
||||
size_t cache_size);
|
||||
|
||||
URLChecker(const URLChecker&) = delete;
|
||||
URLChecker& operator=(const URLChecker&) = delete;
|
||||
|
||||
~URLChecker();
|
||||
|
||||
// Returns whether |callback| was run synchronously.
|
||||
@ -73,8 +76,6 @@ class URLChecker {
|
||||
base::TimeDelta cache_timeout_;
|
||||
|
||||
base::WeakPtrFactory<URLChecker> weak_factory_{this};
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(URLChecker);
|
||||
};
|
||||
|
||||
} // namespace safe_search_api
|
||||
|
Reference in New Issue
Block a user