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

Issue 2938163003: Use ContainsValue() instead of std::find() in tools/ (Closed)

Created:
3 years, 6 months ago by Tripta
Modified:
3 years, 6 months ago
Reviewers:
brettw
CC:
chromium-reviews, Dirk Pranke, tfarina, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use ContainsValue() instead of std::find() in tools/ BUG=561800 Review-Url: https://codereview.chromium.org/2938163003 Cr-Commit-Position: refs/heads/master@{#480018} Committed: https://chromium.googlesource.com/chromium/src/+/3e0d5228e24db43bb266c19ed82782be7239bb9b

Patch Set 1 #

Total comments: 3

Patch Set 2 : Added a space after comma. #

Patch Set 3 : Fixing build error. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -72 lines) Patch
M tools/gn/action_target_generator.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M tools/gn/function_process_file_template.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M tools/gn/runtime_deps_unittest.cc View 6 chunks +52 lines, -62 lines 0 comments Download
M tools/gn/target.cc View 2 chunks +2 lines, -4 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
Tripta
Hi brettw, Please review code changes for following files: tools/gn/action_target_generator.cc tools/gn/function_process_file_template.cc tools/gn/runtime_deps_unittest.cc tools/gn/target.cc Regards Tripta
3 years, 6 months ago (2017-06-15 08:34:07 UTC) #3
brettw
lgtm https://codereview.chromium.org/2938163003/diff/1/tools/gn/function_process_file_template.cc File tools/gn/function_process_file_template.cc (right): https://codereview.chromium.org/2938163003/diff/1/tools/gn/function_process_file_template.cc#newcode98 tools/gn/function_process_file_template.cc:98: if (base::ContainsValue(types,SUBSTITUTION_SOURCE_TARGET_RELATIVE) { Space before period.
3 years, 6 months ago (2017-06-15 21:02:30 UTC) #4
brettw
https://codereview.chromium.org/2938163003/diff/1/tools/gn/function_process_file_template.cc File tools/gn/function_process_file_template.cc (right): https://codereview.chromium.org/2938163003/diff/1/tools/gn/function_process_file_template.cc#newcode98 tools/gn/function_process_file_template.cc:98: if (base::ContainsValue(types,SUBSTITUTION_SOURCE_TARGET_RELATIVE) { On 2017/06/15 21:02:30, brettw wrote: > ...
3 years, 6 months ago (2017-06-15 21:02:44 UTC) #5
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/2938163003/20001
3 years, 6 months ago (2017-06-16 11:14:06 UTC) #8
Tripta
Have added a space after comma. Please check. https://codereview.chromium.org/2938163003/diff/1/tools/gn/function_process_file_template.cc File tools/gn/function_process_file_template.cc (right): https://codereview.chromium.org/2938163003/diff/1/tools/gn/function_process_file_template.cc#newcode98 tools/gn/function_process_file_template.cc:98: if ...
3 years, 6 months ago (2017-06-16 11:17:29 UTC) #9
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/480752)
3 years, 6 months ago (2017-06-16 11:20:56 UTC) #11
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/2938163003/40001
3 years, 6 months ago (2017-06-16 11:26:56 UTC) #14
commit-bot: I haz the power
3 years, 6 months ago (2017-06-16 11:39:52 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/3e0d5228e24db43bb266c19ed827...

Powered by Google App Engine
This is Rietveld 408576698