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

Issue 2958223002: Use ContainsValue() instead of std::find() in chrome/browser and chrome/common (Closed)

Created:
3 years, 5 months ago by Tripta
Modified:
3 years, 5 months ago
Reviewers:
Nico
CC:
chromium-reviews, timvolodine, extensions-reviews_chromium.org, msramek+watch_chromium.org, chfremer+watch_chromium.org, phoglund+watch_chromium.org, raymes+watch_chromium.org, feature-media-reviews_chromium.org, rlp+watch_chromium.org, rouslan+spell_chromium.org, groby+spellwatch_chromium.org, chromium-apps-reviews_chromium.org, markusheintz_
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use ContainsValue() instead of std::find() in chrome/browser and chrome/common BUG=561800 Review-Url: https://codereview.chromium.org/2958223002 Cr-Commit-Position: refs/heads/master@{#483327} Committed: https://chromium.googlesource.com/chromium/src/+/c49d42acc2a3172e1592ff61d984132b113228fa

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fixed code review changes. #

Patch Set 3 : Rebase patch. #

Messages

Total messages: 21 (11 generated)
Tripta
Hi thakis, Please review code changes for below files: chrome/browser/apps/guest_view/web_view_browsertest.cc chrome/browser/content_settings/tab_specific_content_settings.cc chrome/browser/custom_handlers/protocol_handler_registry.cc chrome/browser/internal_auth.cc chrome/browser/lifetime/browser_close_manager.cc chrome/browser/media/webrtc/media_stream_devices_controller_browsertest.cc ...
3 years, 5 months ago (2017-06-28 07:33:38 UTC) #3
Nico
lgtm with comments addressed https://codereview.chromium.org/2958223002/diff/1/chrome/browser/lifetime/browser_close_manager.cc File chrome/browser/lifetime/browser_close_manager.cc (right): https://codereview.chromium.org/2958223002/diff/1/chrome/browser/lifetime/browser_close_manager.cc#newcode183 chrome/browser/lifetime/browser_close_manager.cc:183: DCHECK(!base::ContainsValue(*(BrowserList::GetInstance()), browser)); remove parens around ...
3 years, 5 months ago (2017-06-28 13:55:29 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/2958223002/20001
3 years, 5 months ago (2017-06-29 07:10:27 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/242296) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 5 months ago (2017-06-29 07:12:39 UTC) #9
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/2958223002/40001
3 years, 5 months ago (2017-06-29 08:50:22 UTC) #12
Tripta
Changes added. Please check. https://codereview.chromium.org/2958223002/diff/1/chrome/browser/lifetime/browser_close_manager.cc File chrome/browser/lifetime/browser_close_manager.cc (right): https://codereview.chromium.org/2958223002/diff/1/chrome/browser/lifetime/browser_close_manager.cc#newcode183 chrome/browser/lifetime/browser_close_manager.cc:183: DCHECK(!base::ContainsValue(*(BrowserList::GetInstance()), browser)); On 2017/06/28 13:55:28, ...
3 years, 5 months ago (2017-06-29 08:53:11 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/490891)
3 years, 5 months ago (2017-06-29 09:04:00 UTC) #15
Nico
lgtm
3 years, 5 months ago (2017-06-29 10:53:38 UTC) #17
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/2958223002/40001
3 years, 5 months ago (2017-06-29 10:53:48 UTC) #18
commit-bot: I haz the power
3 years, 5 months ago (2017-06-29 11:45:21 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/c49d42acc2a3172e1592ff61d984...

Powered by Google App Engine
This is Rietveld 408576698