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

Issue 2945803002: Use ContainsValue() instead of std::find() in ios/ (Closed)

Created:
3 years, 6 months ago by Tripta
Modified:
3 years, 5 months ago
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, tfarina, mahmadi+paymentsioswatch_chromium.org, browser-components-watch_chromium.org, gogerald+paymentswatch_chromium.org, rouslan+payments_chromium.org, Eugene But (OOO till 7-30), noyau+watch_chromium.org, stkhapugin, marq+watch_chromium.org, mahmadi+paymentswatch_chromium.org, gcasto+watchlist_chromium.org, ios-reviews+web_chromium.org, sebsg+paymentswatch_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use ContainsValue() instead of std::find() in ios/ BUG=561800 Review-Url: https://codereview.chromium.org/2945803002 Cr-Commit-Position: refs/heads/master@{#483300} Committed: https://chromium.googlesource.com/chromium/src/+/33e703e1de0b77da838981dae4639e84c72aaea1

Patch Set 1 #

Total comments: 6

Patch Set 2 : Made codereview changes. #

Total comments: 2

Patch Set 3 : Fixed compilation error. #

Patch Set 4 : Fixed build error. #

Total comments: 2

Patch Set 5 : Fixed compilation error. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -54 lines) Patch
M ios/chrome/browser/bookmarks/bookmarks_utils.cc View 1 3 chunks +3 lines, -8 lines 0 comments Download
M ios/chrome/browser/passwords/password_generation_agent.mm View 1 3 chunks +2 lines, -6 lines 0 comments Download
M ios/chrome/browser/payments/payment_request.mm View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M ios/chrome/browser/reading_list/url_downloader.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/reading_list/url_downloader_unittest.mm View 1 2 3 5 chunks +8 lines, -21 lines 0 comments Download
M ios/chrome/browser/ui/bookmarks/bookmark_collection_view.mm View 2 chunks +2 lines, -3 lines 0 comments Download
M ios/chrome/browser/voice/speech_input_locale_config_impl.mm View 2 chunks +2 lines, -3 lines 0 comments Download
M ios/web/webui/url_data_manager_ios.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ios/web/webui/url_data_manager_ios_backend.mm View 1 2 chunks +2 lines, -6 lines 0 comments Download

Messages

Total messages: 33 (19 generated)
Tripta
Hi Rohit, Please review the code changes for below files: ios/chrome/browser/bookmarks/bookmarks_utils.cc ios/chrome/browser/passwords/password_generation_agent.mm ios/chrome/browser/payments/payment_request.mm ios/chrome/browser/reading_list/url_downloader.cc ios/chrome/browser/reading_list/url_downloader_unittest.mm ...
3 years, 6 months ago (2017-06-19 10:29:54 UTC) #3
sdefresne
drive-by https://codereview.chromium.org/2945803002/diff/1/ios/chrome/browser/bookmarks/bookmarks_utils.cc File ios/chrome/browser/bookmarks/bookmarks_utils.cc (right): https://codereview.chromium.org/2945803002/diff/1/ios/chrome/browser/bookmarks/bookmarks_utils.cc#newcode76 ios/chrome/browser/bookmarks/bookmarks_utils.cc:76: if (base::ContainsValue(primary_nodes, node)) { This can be changed ...
3 years, 6 months ago (2017-06-23 14:31:21 UTC) #4
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/2945803002/20001
3 years, 5 months ago (2017-06-27 06:39:26 UTC) #6
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 5 months ago (2017-06-27 06:39:28 UTC) #8
Tripta
Hi sdefresne, Have made the code changes. Please check. Regards Tripta https://codereview.chromium.org/2945803002/diff/1/ios/chrome/browser/bookmarks/bookmarks_utils.cc File ios/chrome/browser/bookmarks/bookmarks_utils.cc (right): ...
3 years, 5 months ago (2017-06-27 06:41:29 UTC) #9
sdefresne
Could you please send to ios CQ bots and check that everything compiled cleanly with ...
3 years, 5 months ago (2017-06-27 09:34:37 UTC) #11
Tripta
Hi sdefresne, I have made the changes. I could not check the build because i ...
3 years, 5 months ago (2017-06-28 07:39:33 UTC) #12
sdefresne
On 2017/06/28 07:39:33, Tripta wrote: > Hi sdefresne, > > I have made the changes. ...
3 years, 5 months ago (2017-06-28 09:53:35 UTC) #22
sdefresne
https://codereview.chromium.org/2945803002/diff/60001/ios/chrome/browser/payments/payment_request.mm File ios/chrome/browser/payments/payment_request.mm (right): https://codereview.chromium.org/2945803002/diff/60001/ios/chrome/browser/payments/payment_request.mm#newcode211 ios/chrome/browser/payments/payment_request.mm:211: if (base::ContainsValue(supported_cards_networks_, spec_issuer_network)) { supported_cards_networks_ → supported_card_networks_
3 years, 5 months ago (2017-06-28 12:26:14 UTC) #25
Tripta
Have fixed the error. I have a code setup on linux machine and I use ...
3 years, 5 months ago (2017-06-28 13:02:01 UTC) #26
sdefresne
lgtm Thank you. Next time, could you ensure the bots are green before asking for ...
3 years, 5 months ago (2017-06-28 16:37:15 UTC) #27
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/2945803002/80001
3 years, 5 months ago (2017-06-29 04:51:11 UTC) #29
Tripta
Will do that from next time. Thanks
3 years, 5 months ago (2017-06-29 04:52:05 UTC) #30
commit-bot: I haz the power
3 years, 5 months ago (2017-06-29 05:09:23 UTC) #33
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/33e703e1de0b77da838981dae463...

Powered by Google App Engine
This is Rietveld 408576698