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

Issue 2110663002: components: Change auto to not deduce raw pointers. (Closed)

Created:
4 years, 5 months ago by vmpstr
Modified:
4 years, 5 months ago
CC:
asvitkine+watch_chromium.org, browser-components-watch_chromium.org, chromium-reviews, darin-cc_chromium.org, devtools-reviews_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org, groby+bubble_chromium.org, hcarmona+bubble_chromium.org, jam, jdonnelly+autofillwatch_chromium.org, mlamouri+watch-content_chromium.org, msw+watch_chromium.org, noyau+watch_chromium.org, ntp-dev+reviews_chromium.org, pfeldman, rjkroege, rouslan+bubble_chromium.org, rouslan+autofill_chromium.org, scheduler-bugs_chromium.org, tfarina, tracing+reviews_chromium.org, vabr+watchlistautofill_chromium.org, vabr+watchlistpasswordmanager_chromium.org, wfh+watch_chromium.org, wifiprefetch-reviews_google.com
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

components: Change auto to not deduce raw pointers. This patch updates the code to prevent auto deducing to a raw pointer. R=jochen, danakj, dcheng BUG=554600 Committed: https://crrev.com/2de366b533c783f31c6233f4034a8fa070b29db9 Cr-Commit-Position: refs/heads/master@{#406674}

Patch Set 1 #

Total comments: 3

Patch Set 2 : update #

Total comments: 22

Patch Set 3 : rebase+update #

Patch Set 4 : update #

Patch Set 5 : rebase+one fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -120 lines) Patch
M components/arc/bluetooth/arc_bluetooth_bridge.cc View 1 6 chunks +6 lines, -6 lines 0 comments Download
M components/arc/storage_manager/arc_storage_manager.cc View 1 4 chunks +6 lines, -5 lines 0 comments Download
M components/autofill/content/renderer/form_autofill_util.cc View 1 2 3 chunks +5 lines, -6 lines 0 comments Download
M components/autofill/core/browser/autofill_manager.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/core/browser/autofill_profile.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M components/autofill/core/browser/form_structure.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/core/browser/personal_data_manager.cc View 1 2 2 chunks +7 lines, -7 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/bookmarks/managed/managed_bookmark_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/bubble/bubble_manager.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/certificate_transparency/log_dns_client.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/component_updater/component_updater_service.cc View 1 2 5 chunks +5 lines, -5 lines 0 comments Download
M components/cronet/ios/Cronet.mm View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/devtools_discovery/devtools_discovery_manager.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/domain_reliability/config.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/domain_reliability/context.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/domain_reliability/dispatcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/domain_reliability/google_configs_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/domain_reliability/header.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/domain_reliability/monitor.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/domain_reliability/scheduler.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/guest_view/browser/guest_view.h View 1 chunk +4 lines, -4 lines 0 comments Download
M components/guest_view/browser/guest_view_base.cc View 7 chunks +7 lines, -7 lines 0 comments Download
M components/guest_view/browser/guest_view_manager.cc View 6 chunks +9 lines, -8 lines 0 comments Download
M components/guest_view/browser/guest_view_message_filter.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/keyed_service/core/dependency_manager.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M components/memory_coordinator/browser/memory_coordinator.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/metrics/profiler/tracking_synchronizer_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/ntp_snippets/ntp_snippet.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/ntp_snippets/ntp_snippets_fetcher.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/pairing/bluetooth_controller_pairing_controller.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/password_manager/core/browser/credential_manager_pending_request_task.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/login_database_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/password_manager_util.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/password_manager/core/browser/password_store.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/policy/core/browser/configuration_policy_handler.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M components/precache/core/precache_fetcher_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/precache/core/precache_session_table_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/proximity_auth/ble/bluetooth_low_energy_characteristics_finder.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M components/proximity_auth/ble/bluetooth_low_energy_connection.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M components/proximity_auth/ble/bluetooth_low_energy_connection_finder.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M components/proximity_auth/logging/logging_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/safe_browsing_db/database_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/safe_browsing_db/remote_database_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/scheduler/base/task_queue_manager.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/scheduler/base/time_domain.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/scheduler/renderer/renderer_scheduler_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/tracing/child/child_memory_dump_manager_delegate_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/tracing/common/graphics_memory_dump_provider_android_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M components/update_client/action.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/update_client/action_wait.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/update_client/request_sender.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/update_client/update_checker.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M components/update_client/update_client.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M components/update_client/update_engine.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/update_client/utils_unittest.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M components/zoom/zoom_controller.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 28 (8 generated)
vmpstr
Please take a look.
4 years, 5 months ago (2016-06-28 21:28:12 UTC) #1
vabr (Chromium)
I'm worried about auto& -> auto* in the case of ScopedVector, please correct me if ...
4 years, 5 months ago (2016-06-29 07:45:53 UTC) #3
vabr (Chromium)
On 2016/06/29 07:45:53, vabr (Chromium) wrote: > I'm worried about auto& -> auto* in the ...
4 years, 5 months ago (2016-06-29 07:50:56 UTC) #4
noyau (Ping after 24h)
On 2016/06/28 21:28:12, vmpstr wrote: > Please take a look. Is there a more detailed ...
4 years, 5 months ago (2016-06-29 08:55:33 UTC) #5
vmpstr
On 2016/06/29 07:45:53, vabr (Chromium) wrote: > I'm worried about auto& -> auto* in the ...
4 years, 5 months ago (2016-06-29 18:38:26 UTC) #6
vmpstr
On 2016/06/29 08:55:33, noyau wrote: > On 2016/06/28 21:28:12, vmpstr wrote: > > Please take ...
4 years, 5 months ago (2016-06-29 18:42:30 UTC) #7
vabr (Chromium)
Hi vmpstr! Thanks for the response about my concerns (and also for the explanation in ...
4 years, 5 months ago (2016-06-30 07:53:05 UTC) #8
vmpstr
Hey, I think this is all fixed up. Sorry it took a while. Please take ...
4 years, 5 months ago (2016-07-18 22:17:05 UTC) #9
vabr (Chromium)
Thanks for the clean-up! autofill and password_manager components LGTM (let me know if you want ...
4 years, 5 months ago (2016-07-19 07:54:09 UTC) #10
jochen (gone - plz use gerrit)
danakj, does the patch look good? Happy to rubberstamp if it does
4 years, 5 months ago (2016-07-19 12:28:22 UTC) #11
vabr (Chromium)
https://codereview.chromium.org/2110663002/diff/20001/components/password_manager/core/browser/password_manager.cc File components/password_manager/core/browser/password_manager.cc (right): https://codereview.chromium.org/2110663002/diff/20001/components/password_manager/core/browser/password_manager.cc#newcode502 components/password_manager/core/browser/password_manager.cc:502: for (auto* old_manager : old_login_managers) { Heads-up: https://codereview.chromium.org/2157333002/ just ...
4 years, 5 months ago (2016-07-19 13:55:18 UTC) #12
Primiano Tucci (use gerrit)
Is there any plan to have a clang plugin for this? if not can we ...
4 years, 5 months ago (2016-07-19 14:05:47 UTC) #13
vmpstr
On 2016/07/19 14:05:47, Primiano Tucci wrote: > Is there any plan to have a clang ...
4 years, 5 months ago (2016-07-19 18:17:30 UTC) #14
danakj
On 2016/07/19 12:28:22, jochen wrote: > danakj, does the patch look good? Happy to rubberstamp ...
4 years, 5 months ago (2016-07-19 18:49:25 UTC) #15
vmpstr
PTAL. The reason I left it as auto* instead of const auto* is that const ...
4 years, 5 months ago (2016-07-19 19:49:31 UTC) #18
vabr (Chromium)
LGTM, thank you! Vaclav
4 years, 5 months ago (2016-07-20 08:05:56 UTC) #21
jochen (gone - plz use gerrit)
lgtm
4 years, 5 months ago (2016-07-20 11:09:06 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2110663002/80001
4 years, 5 months ago (2016-07-20 20:41:48 UTC) #25
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-20 21:36:04 UTC) #26
commit-bot: I haz the power
4 years, 5 months ago (2016-07-20 21:38:13 UTC) #28
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/2de366b533c783f31c6233f4034a8fa070b29db9
Cr-Commit-Position: refs/heads/master@{#406674}

Powered by Google App Engine
This is Rietveld 408576698