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

Issue 2934043002: Use ContainsValue() instead of std::find() in chrome/browser/chromeos (Closed)

Created:
3 years, 6 months ago by Tripta
Modified:
3 years, 6 months ago
Reviewers:
achuithb, zel
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, extensions-reviews_chromium.org, alemate+watch_chromium.org, oshima+watch_chromium.org, yusukes+watch_chromium.org, tzik, achuith+watch_chromium.org, hidehiko+watch_chromium.org, shuchen+watch_chromium.org, nhiroki, nona+watch_chromium.org, lhchavez+watch_chromium.org, victorhsieh+watch_chromium.org, chromium-apps-reviews_chromium.org, kinuko+fileapi, davemoore+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use ContainsValue() instead of std::find() in chrome/browser/chromeos BUG=561800 Review-Url: https://codereview.chromium.org/2934043002 Cr-Commit-Position: refs/heads/master@{#479348} Committed: https://chromium.googlesource.com/chromium/src/+/5d879ddc96469aa44299cff009e796eee744cf24

Patch Set 1 #

Patch Set 2 : Removed #include<algorithm> when not required. #

Total comments: 6

Patch Set 3 : Removed function HasProblem and Contains. #

Total comments: 2

Patch Set 4 : Fixed compilation error. #

Messages

Total messages: 26 (15 generated)
Tripta
Hi zelidrag, Please review code changes for below files: chrome/browser/chromeos/arc/fileapi/arc_documents_provider_root.cc chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_controller_unittest.cc chrome/browser/chromeos/extensions/gfx_utils_unittest.cc chrome/browser/chromeos/extensions/quick_unlock_private/quick_unlock_private_api.cc chrome/browser/chromeos/extensions/quick_unlock_private/quick_unlock_private_api_unittest.cc chrome/browser/chromeos/input_method/input_method_manager_impl.cc ...
3 years, 6 months ago (2017-06-13 09:33:43 UTC) #3
achuithb
Please CQ dry run before requesting comments. lgtm with nits. https://codereview.chromium.org/2934043002/diff/20001/chrome/browser/chromeos/extensions/quick_unlock_private/quick_unlock_private_api_unittest.cc File chrome/browser/chromeos/extensions/quick_unlock_private/quick_unlock_private_api_unittest.cc (right): https://codereview.chromium.org/2934043002/diff/20001/chrome/browser/chromeos/extensions/quick_unlock_private/quick_unlock_private_api_unittest.cc#newcode145 ...
3 years, 6 months ago (2017-06-13 20:58:23 UTC) #6
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/2934043002/40001
3 years, 6 months ago (2017-06-14 07:32:23 UTC) #11
Tripta
Have made the changes. Please check. Regards Tripta https://codereview.chromium.org/2934043002/diff/20001/chrome/browser/chromeos/extensions/quick_unlock_private/quick_unlock_private_api_unittest.cc File chrome/browser/chromeos/extensions/quick_unlock_private/quick_unlock_private_api_unittest.cc (right): https://codereview.chromium.org/2934043002/diff/20001/chrome/browser/chromeos/extensions/quick_unlock_private/quick_unlock_private_api_unittest.cc#newcode145 chrome/browser/chromeos/extensions/quick_unlock_private/quick_unlock_private_api_unittest.cc:145: bool ...
3 years, 6 months ago (2017-06-14 07:36:17 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/406519)
3 years, 6 months ago (2017-06-14 07:59:59 UTC) #14
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/2934043002/40001
3 years, 6 months ago (2017-06-14 08:30:53 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/406558)
3 years, 6 months ago (2017-06-14 08:56:05 UTC) #18
achuithb
lgtm % compilation fix https://codereview.chromium.org/2934043002/diff/40001/chrome/browser/chromeos/extensions/quick_unlock_private/quick_unlock_private_api_unittest.cc File chrome/browser/chromeos/extensions/quick_unlock_private/quick_unlock_private_api_unittest.cc (right): https://codereview.chromium.org/2934043002/diff/40001/chrome/browser/chromeos/extensions/quick_unlock_private/quick_unlock_private_api_unittest.cc#newcode158 chrome/browser/chromeos/extensions/quick_unlock_private/quick_unlock_private_api_unittest.cc:158: base::ContainsValue(errors,CredentialProblem::CREDENTIAL_PROBLEM_TOO_SHORT); You're missing closing ) ...
3 years, 6 months ago (2017-06-14 09:43:19 UTC) #19
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/2934043002/60001
3 years, 6 months ago (2017-06-14 10:33:07 UTC) #22
Tripta
Fixed the error. https://codereview.chromium.org/2934043002/diff/40001/chrome/browser/chromeos/extensions/quick_unlock_private/quick_unlock_private_api_unittest.cc File chrome/browser/chromeos/extensions/quick_unlock_private/quick_unlock_private_api_unittest.cc (right): https://codereview.chromium.org/2934043002/diff/40001/chrome/browser/chromeos/extensions/quick_unlock_private/quick_unlock_private_api_unittest.cc#newcode158 chrome/browser/chromeos/extensions/quick_unlock_private/quick_unlock_private_api_unittest.cc:158: base::ContainsValue(errors,CredentialProblem::CREDENTIAL_PROBLEM_TOO_SHORT); On 2017/06/14 09:43:19, achuithb wrote: ...
3 years, 6 months ago (2017-06-14 10:47:36 UTC) #23
commit-bot: I haz the power
3 years, 6 months ago (2017-06-14 11:06:06 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/5d879ddc96469aa44299cff009e7...

Powered by Google App Engine
This is Rietveld 408576698