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

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

Created:
3 years, 6 months ago by Tripta
Modified:
3 years, 6 months ago
Reviewers:
Nico
CC:
chromium-reviews, msramek+watch_chromium.org, vakh+watch_chromium.org, tburkard+watch_chromium.org, rogerm+autofillwatch_chromium.org, browser-components-watch_chromium.org, carlosk+watch_chromium.org, markusheintz_, dimich+watch_chromium.org, cbentzel+watch_chromium.org, chili+watch_chromium.org, grt+watch_chromium.org, sebsg+autofillwatch_chromium.org, jam, vabr+watchlistautofill_chromium.org, rouslan+autofill_chromium.org, mac-reviews_chromium.org, petewil+watch_chromium.org, gavinp+prer_chromium.org, timvolodine, johnchen+watch_chromium.org, romax+watch_chromium.org, mathp+autofillwatch_chromium.org, dewittj+watch_chromium.org, fgorski+watch_chromium.org, estade+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

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

Patch Set 1 #

Total comments: 2

Patch Set 2 : Changed EXPECT_TRUE to EXPECT_FALSE #

Patch Set 3 : Reverted code for file thumbnail_cache.cc #

Messages

Total messages: 16 (9 generated)
Tripta
Hi thakis, Please review code changes for below files: chrome/browser/android/offline_pages/offline_page_utils.cc chrome/browser/android/preferences/website_preference_bridge.cc chrome/browser/android/thumbnail/thumbnail_cache.cc chrome/browser/autofill/autofill_browsertest.cc chrome/browser/browsing_data/browsing_data_helper.cc chrome/browser/local_discovery/service_discovery_client_mac_unittest.mm ...
3 years, 6 months ago (2017-06-20 12:19:55 UTC) #3
Nico
lgtm https://codereview.chromium.org/2950803002/diff/1/chrome/browser/prerender/prerender_nostate_prefetch_browsertest.cc File chrome/browser/prerender/prerender_nostate_prefetch_browsertest.cc (right): https://codereview.chromium.org/2950803002/diff/1/chrome/browser/prerender/prerender_nostate_prefetch_browsertest.cc#newcode600 chrome/browser/prerender/prerender_nostate_prefetch_browsertest.cc:600: EXPECT_TRUE(!base::ContainsValue(urls, prefetched_url)); EXPECT_FALSE(Contains) instead of EXPECT_TRUE(!Contains)
3 years, 6 months ago (2017-06-20 15:05:07 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/2950803002/20001
3 years, 6 months ago (2017-06-22 05:04:45 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/205328)
3 years, 6 months ago (2017-06-22 05:23:17 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/2950803002/40001
3 years, 6 months ago (2017-06-22 06:45:27 UTC) #12
Tripta
Hi thakis, Have made the changes. Please check. Regards Tripta https://codereview.chromium.org/2950803002/diff/1/chrome/browser/prerender/prerender_nostate_prefetch_browsertest.cc File chrome/browser/prerender/prerender_nostate_prefetch_browsertest.cc (right): https://codereview.chromium.org/2950803002/diff/1/chrome/browser/prerender/prerender_nostate_prefetch_browsertest.cc#newcode600 ...
3 years, 6 months ago (2017-06-22 07:01:19 UTC) #13
commit-bot: I haz the power
3 years, 6 months ago (2017-06-22 07:56:42 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/3e097a99d8e07eed0197a0ff856e...

Powered by Google App Engine
This is Rietveld 408576698