Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(453)

Issue 1728033002: components: Add out-of-line copy ctors for complex classes. (Closed)

Created:
4 years, 10 months ago by vmpstr
Modified:
4 years, 10 months ago
CC:
bondd+autofillwatch_chromium.org, browser-components-watch_chromium.org, chromium-reviews, darin-cc_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org, jam, jdonnelly+autofillwatch_chromium.org, markusheintz_, maxbogue+watch_chromium.org, mkwst+watchlist-passwords_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, msramek+watch_chromium.org, noyau+watch_chromium.org, plaree+watch_chromium.org, raymes+watch_chromium.org, rouslan+autofill_chromium.org, tfarina, tim+watch_chromium.org, vabr+watchlistpasswordmanager_chromium.org, vabr+watchlistautofill_chromium.org, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

components: Add out-of-line copy ctors for complex classes. This patch adds out of line copy constructors for classes that our clang-plugin considers heavy. This is an effort to enable copy constructor checks by default. BUG=436357 R=jochen@chromium.org, dcheng@chromium.org, thakis@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/b6449d51ce2b1140e763a79b2ca453f3ccedeeac Cr-Commit-Position: refs/heads/master@{#377717}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+349 lines, -1 line) Patch
M components/autofill/content/renderer/password_generation_agent.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/content/renderer/password_generation_agent.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/autofill/core/browser/card_unmask_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/core/browser/card_unmask_delegate.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/autofill/core/browser/legal_message_line.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/core/browser/legal_message_line.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/autofill/core/browser/payments/payments_client.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/core/browser/payments/payments_client.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_profile_syncable_service.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/autofill/core/common/form_field_data.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/core/common/form_field_data.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/autofill/core/common/password_form.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/core/common/password_form.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/autofill/core/common/password_form_fill_data.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/core/common/password_form_fill_data.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/bookmarks/browser/bookmark_match.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/bookmarks/browser/bookmark_match.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/bookmarks/browser/bookmark_node_data.h View 2 chunks +2 lines, -0 lines 0 comments Download
M components/bookmarks/browser/bookmark_node_data.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M components/cloud_devices/common/printer_description.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/cloud_devices/common/printer_description.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/content_settings/core/browser/content_settings_rule.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/content_settings/core/browser/content_settings_rule.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/content_settings/core/common/content_settings.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/content_settings/core/common/content_settings.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/content_settings/core/common/content_settings_pattern.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/content_settings/core/common/content_settings_pattern.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_ui_manager.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_ui_manager.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/data_usage/core/data_use.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/data_usage/core/data_use.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/device_event_log/device_event_log_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/device_event_log/device_event_log_impl.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/dom_distiller/core/article_distillation_update.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/dom_distiller/core/article_distillation_update.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/domain_reliability/beacon.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/domain_reliability/beacon.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/domain_reliability/monitor.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/domain_reliability/monitor.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/drive/drive_app_registry.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/drive/drive_app_registry.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/drive/file_change.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/drive/file_change.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/drive/file_system_interface.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/drive/file_system_interface.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/drive/service/drive_service_interface.h View 3 chunks +3 lines, -0 lines 0 comments Download
M components/drive/service/drive_service_interface.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M components/drive/sync_client.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/drive/sync_client.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/error_page/renderer/net_error_helper_core.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/error_page/renderer/net_error_helper_core.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/favicon/core/favicon_url.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/favicon/core/favicon_url.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/favicon_base/favicon_types.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/favicon_base/favicon_types.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/favicon_base/favicon_usage_data.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/favicon_base/favicon_usage_data.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/gcm_driver/common/gcm_messages.h View 2 chunks +2 lines, -0 lines 0 comments Download
M components/gcm_driver/common/gcm_messages.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_activity.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/gcm_driver/gcm_activity.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_client.h View 2 chunks +2 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_client.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M components/guest_view/browser/guest_view_manager.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/guest_view/browser/guest_view_manager.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/history/core/browser/download_row.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/history/core/browser/download_row.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/history/core/browser/history_types.h View 6 chunks +6 lines, -0 lines 0 comments Download
M components/history/core/browser/history_types.cc View 5 chunks +13 lines, -0 lines 0 comments Download
M components/history/core/browser/url_row.h View 2 chunks +3 lines, -0 lines 0 comments Download
M components/history/core/browser/url_row.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M components/invalidation/public/invalidation.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/invalidation/public/invalidation.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/invalidation/public/object_id_invalidation_map.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/invalidation/public/object_id_invalidation_map.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/invalidation/public/single_object_invalidation_set.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/invalidation/public/single_object_invalidation_set.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/nacl/browser/pnacl_host.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/nacl/browser/pnacl_host.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/nacl/common/nacl_types.h View 2 chunks +2 lines, -0 lines 0 comments Download
M components/nacl/common/nacl_types.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M components/nacl/common/pnacl_types.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/nacl/common/pnacl_types.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/offline_pages/offline_page_item.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/offline_pages/offline_page_item.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/omnibox/browser/autocomplete_input.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/omnibox/browser/autocomplete_input.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/omnibox/browser/in_memory_url_index_types.h View 2 chunks +2 lines, -0 lines 0 comments Download
M components/omnibox/browser/in_memory_url_index_types.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/omnibox/browser/omnibox_edit_model.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/omnibox/browser/omnibox_edit_model.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/omnibox/browser/omnibox_field_trial.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/omnibox/browser/omnibox_field_trial.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/omnibox/browser/scored_history_match.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/omnibox/browser/scored_history_match.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/omnibox/browser/search_suggestion_parser.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/omnibox/browser/search_suggestion_parser.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/omnibox/browser/shortcuts_database.h View 2 chunks +2 lines, -0 lines 0 comments Download
M components/omnibox/browser/shortcuts_database.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M components/omnibox/browser/url_index_private_data.h View 2 chunks +2 lines, -0 lines 0 comments Download
M components/omnibox/browser/url_index_private_data.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/affiliation_utils.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/password_manager/core/browser/affiliation_utils.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/password_manager/core/common/credential_manager_types.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/password_manager/core/common/credential_manager_types.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/printing/common/print_messages.h View 2 chunks +2 lines, -0 lines 0 comments Download
M components/printing/common/print_messages.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M components/proximity_auth/ble/bluetooth_low_energy_connection.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/proximity_auth/ble/bluetooth_low_energy_connection.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/proximity_auth/cryptauth/secure_message_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/proximity_auth/cryptauth/secure_message_delegate.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/proximity_auth/remote_device.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/proximity_auth/remote_device.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/query_parser/snippet.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/query_parser/snippet.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/safe_browsing_db/hit_report.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/safe_browsing_db/hit_report.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/safe_browsing_db/util.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/safe_browsing_db/util.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/search_engines/keyword_web_data_service.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/search_engines/keyword_web_data_service.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/search_engines/template_url.h View 2 chunks +2 lines, -0 lines 0 comments Download
M components/search_engines/template_url.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M components/search_engines/template_url_data.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/search_engines/template_url_data.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/search_engines/util.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/search_engines/util.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/search_provider_logos/logo_common.h View 2 chunks +2 lines, -0 lines 0 comments Download
M components/search_provider_logos/logo_common.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/security_interstitials/core/metrics_helper.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/security_interstitials/core/metrics_helper.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/sessions/core/serialized_navigation_entry.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sessions/core/serialized_navigation_entry.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/signin/core/browser/account_info.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/signin/core/browser/account_info.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/signin/core/browser/fake_profile_oauth2_token_service.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/signin/core/browser/fake_profile_oauth2_token_service.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/signin/core/browser/signin_header_helper.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/signin/core/browser/signin_header_helper.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/storage_monitor/storage_info.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/storage_monitor/storage_info.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/suggestions/image_manager.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/suggestions/image_manager.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/sync_driver/data_type_manager.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync_driver/data_type_manager.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/sync_driver/data_type_manager_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync_driver/data_type_manager_impl.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync_driver/data_type_status_table.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync_driver/data_type_status_table.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/sync_driver/glue/sync_backend_host_core.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync_driver/glue/sync_backend_host_core.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/translate/core/common/language_detection_details.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/translate/core/common/language_detection_details.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/update_client/crx_update_item.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/update_client/update_client.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/update_client/update_client.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M components/update_client/update_response.h View 4 chunks +4 lines, -0 lines 0 comments Download
M components/update_client/update_response.cc View 1 chunk +5 lines, -1 line 0 comments Download
M components/url_matcher/url_matcher.h View 1 chunk +1 line, -0 lines 2 comments Download
M components/url_matcher/url_matcher.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
vmpstr
Please take a look.
4 years, 10 months ago (2016-02-24 00:19:53 UTC) #1
Nico
lgtm
4 years, 10 months ago (2016-02-24 01:16:58 UTC) #2
jochen (gone - plz use gerrit)
did you double check that those classes can actually be copied, or are there just ...
4 years, 10 months ago (2016-02-24 08:10:49 UTC) #3
vmpstr
https://codereview.chromium.org/1728033002/diff/1/components/url_matcher/url_matcher.h File components/url_matcher/url_matcher.h (right): https://codereview.chromium.org/1728033002/diff/1/components/url_matcher/url_matcher.h#newcode256 components/url_matcher/url_matcher.h:256: URLQueryElementMatcherCondition(const URLQueryElementMatcherCondition& other); On 2016/02/24 08:10:49, jochen wrote: > ...
4 years, 10 months ago (2016-02-25 00:20:38 UTC) #4
jochen (gone - plz use gerrit)
lgtm
4 years, 10 months ago (2016-02-25 11:56:59 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1728033002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1728033002/1
4 years, 10 months ago (2016-02-25 18:57:10 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/150208)
4 years, 10 months ago (2016-02-25 19:29:09 UTC) #11
vmpstr
On 2016/02/25 19:29:09, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 10 months ago (2016-02-25 22:51:15 UTC) #12
dcheng
lgtm
4 years, 10 months ago (2016-02-25 22:52:13 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1728033002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1728033002/1
4 years, 10 months ago (2016-02-25 22:56:58 UTC) #15
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 10 months ago (2016-02-25 23:55:49 UTC) #16
commit-bot: I haz the power
4 years, 10 months ago (2016-02-25 23:56:59 UTC) #18
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/b6449d51ce2b1140e763a79b2ca453f3ccedeeac
Cr-Commit-Position: refs/heads/master@{#377717}

Powered by Google App Engine
This is Rietveld 408576698