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

Issue 1390223002: Enforce WARN_UNUSED_RESULT attribute on Windows (Closed)

Created:
5 years, 2 months ago by dcheng
Modified:
5 years, 2 months ago
CC:
cbentzel+watch_chromium.org, chromium-reviews, chromoting-reviews_chromium.org, feature-media-reviews_chromium.org, grt+watch_chromium.org, rickyz+watch_chromium.org, tfarina, toyoshim+midi_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enforce WARN_UNUSED_RESULT attribute on Windows BUG=none R=cpu,danakj,dpranke,hans,kelvinp,rickyz,sky,sorin,thestig,tuttle,yukawa TBR=vitalybuka Committed: https://crrev.com/7764fe9ea52233096b7916614eb7c60b26bbca05 Cr-Commit-Position: refs/heads/master@{#353450}

Patch Set 1 #

Total comments: 19

Patch Set 2 : Review comments #

Patch Set 3 : Add comments to gypi/GN #

Patch Set 4 : . #

Total comments: 2

Patch Set 5 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -28 lines) Patch
M base/compiler_specific.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M build/common.gypi View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M build/config/compiler/BUILD.gn View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_win_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/delete_tree_work_item.cc View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M chrome/service/cloud_print/print_system_win.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/utility/importer/ie_importer_win.cc View 1 2 3 4 3 chunks +25 lines, -9 lines 0 comments Download
M cloud_print/service/win/service_listener.cc View 1 chunk +2 lines, -1 line 0 comments Download
M cloud_print/service/win/setup_listener.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/storage_monitor.gypi View 1 1 chunk +5 lines, -0 lines 0 comments Download
M components/storage_monitor/BUILD.gn View 2 chunks +7 lines, -0 lines 0 comments Download
M components/storage_monitor/test_volume_mount_watcher_win.cc View 2 chunks +2 lines, -1 line 0 comments Download
M components/update_client/background_downloader_win.cc View 2 chunks +2 lines, -1 line 0 comments Download
M media/midi/midi_manager_win.cc View 2 chunks +2 lines, -1 line 0 comments Download
M net/dns/address_sorter_win.cc View 1 chunk +5 lines, -2 lines 0 comments Download
M remoting/host/setup/daemon_controller_delegate_win.cc View 2 chunks +2 lines, -1 line 0 comments Download
M sandbox/win/src/broker_services.cc View 2 chunks +2 lines, -1 line 0 comments Download
M sandbox/win/src/target_process.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ui/gfx/icon_util_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 48 (17 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1390223002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1390223002/1
5 years, 2 months ago (2015-10-07 16:09:16 UTC) #9
dcheng
Since we have win clang bots now, we can +danakj@ for base/ changes +hans@ for ...
5 years, 2 months ago (2015-10-07 16:09:59 UTC) #10
dcheng
On 2015/10/07 at 16:09:59, dcheng wrote: > Since we have win clang bots now, we ...
5 years, 2 months ago (2015-10-07 16:10:36 UTC) #11
danakj
https://codereview.chromium.org/1390223002/diff/1/base/compiler_specific.h File base/compiler_specific.h (right): https://codereview.chromium.org/1390223002/diff/1/base/compiler_specific.h#newcode122 base/compiler_specific.h:122: // TODO(dcheng): Update //third_party/webrtc's macro definition to match. Could ...
5 years, 2 months ago (2015-10-07 16:16:54 UTC) #12
hans
https://codereview.chromium.org/1390223002/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1390223002/diff/1/build/common.gypi#newcode5767 build/common.gypi:5767: '-Wunused-result', On 2015/10/07 16:09:59, dcheng wrote: > /W4 doesn't ...
5 years, 2 months ago (2015-10-07 16:25:26 UTC) #13
Lei Zhang
https://codereview.chromium.org/1390223002/diff/1/chrome/installer/util/delete_tree_work_item.cc File chrome/installer/util/delete_tree_work_item.cc (left): https://codereview.chromium.org/1390223002/diff/1/chrome/installer/util/delete_tree_work_item.cc#oldcode70 chrome/installer/util/delete_tree_work_item.cc:70: backup.Delete(); Why not Delete() ? https://codereview.chromium.org/1390223002/diff/1/chrome/utility/importer/ie_importer_win.cc File chrome/utility/importer/ie_importer_win.cc (right): ...
5 years, 2 months ago (2015-10-07 16:28:09 UTC) #14
dcheng
https://codereview.chromium.org/1390223002/diff/1/base/compiler_specific.h File base/compiler_specific.h (right): https://codereview.chromium.org/1390223002/diff/1/base/compiler_specific.h#newcode122 base/compiler_specific.h:122: // TODO(dcheng): Update //third_party/webrtc's macro definition to match. On ...
5 years, 2 months ago (2015-10-07 16:41:34 UTC) #15
hans
https://codereview.chromium.org/1390223002/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1390223002/diff/1/build/common.gypi#newcode5767 build/common.gypi:5767: '-Wunused-result', On 2015/10/07 16:41:34, dcheng wrote: > On 2015/10/07 ...
5 years, 2 months ago (2015-10-07 16:51:29 UTC) #16
dcheng
https://codereview.chromium.org/1390223002/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1390223002/diff/1/build/common.gypi#newcode5767 build/common.gypi:5767: '-Wunused-result', On 2015/10/07 at 16:51:29, hans wrote: > On ...
5 years, 2 months ago (2015-10-07 17:46:15 UTC) #17
hans
build/ flag changes: lgtm
5 years, 2 months ago (2015-10-07 17:48:10 UTC) #18
sky
LGTM
5 years, 2 months ago (2015-10-07 17:55:07 UTC) #19
Sorin Jianu
lgtm thank you!
5 years, 2 months ago (2015-10-07 18:12:17 UTC) #20
Deprecated (see juliatuttle)
net/dns lgtm with nit https://codereview.chromium.org/1390223002/diff/60001/net/dns/address_sorter_win.cc File net/dns/address_sorter_win.cc (right): https://codereview.chromium.org/1390223002/diff/60001/net/dns/address_sorter_win.cc#newcode115 net/dns/address_sorter_win.cc:115: DCHECK(result) << "Unable to roundtrip ...
5 years, 2 months ago (2015-10-07 18:25:42 UTC) #22
kelvinp
lgtm
5 years, 2 months ago (2015-10-07 18:32:58 UTC) #23
danakj
base LGTM
5 years, 2 months ago (2015-10-07 18:33:59 UTC) #24
dcheng
https://codereview.chromium.org/1390223002/diff/60001/net/dns/address_sorter_win.cc File net/dns/address_sorter_win.cc (right): https://codereview.chromium.org/1390223002/diff/60001/net/dns/address_sorter_win.cc#newcode115 net/dns/address_sorter_win.cc:115: DCHECK(result) << "Unable to roundtrip between IPEndPoint and " ...
5 years, 2 months ago (2015-10-07 18:52:01 UTC) #25
yukawa
media/midi/midi_manager_win.cc: lgtm.
5 years, 2 months ago (2015-10-07 20:08:22 UTC) #26
Lei Zhang
https://codereview.chromium.org/1390223002/diff/1/chrome/installer/util/delete_tree_work_item.cc File chrome/installer/util/delete_tree_work_item.cc (left): https://codereview.chromium.org/1390223002/diff/1/chrome/installer/util/delete_tree_work_item.cc#oldcode70 chrome/installer/util/delete_tree_work_item.cc:70: backup.Delete(); On 2015/10/07 16:41:34, dcheng wrote: > On 2015/10/07 ...
5 years, 2 months ago (2015-10-07 20:33:11 UTC) #27
rickyz (no longer on Chrome)
The sandbox/ changes lgtm, adding cpu@ who's an OWNER.
5 years, 2 months ago (2015-10-07 21:23:24 UTC) #29
dcheng
https://codereview.chromium.org/1390223002/diff/1/chrome/installer/util/delete_tree_work_item.cc File chrome/installer/util/delete_tree_work_item.cc (left): https://codereview.chromium.org/1390223002/diff/1/chrome/installer/util/delete_tree_work_item.cc#oldcode70 chrome/installer/util/delete_tree_work_item.cc:70: backup.Delete(); On 2015/10/07 at 20:33:11, Lei Zhang wrote: > ...
5 years, 2 months ago (2015-10-08 03:48:07 UTC) #30
Lei Zhang
lgtm
5 years, 2 months ago (2015-10-08 03:53:14 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1390223002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1390223002/80001
5 years, 2 months ago (2015-10-08 19:10:08 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/107891)
5 years, 2 months ago (2015-10-08 19:20:56 UTC) #37
cpu_(ooo_6.6-7.5)
lgtm on sandbox
5 years, 2 months ago (2015-10-08 20:08:14 UTC) #38
dcheng
+agable for build changes, +vitalybuka for real for cloud_print
5 years, 2 months ago (2015-10-08 23:52:25 UTC) #40
agable
-agable I'm not actually in the /src/build/OWNERS file. +dpranke instead
5 years, 2 months ago (2015-10-09 00:01:52 UTC) #42
Dirk Pranke
build/ changes lgtm.
5 years, 2 months ago (2015-10-09 00:03:57 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1390223002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1390223002/80001
5 years, 2 months ago (2015-10-09 22:37:10 UTC) #45
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 2 months ago (2015-10-10 01:17:40 UTC) #46
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/7764fe9ea52233096b7916614eb7c60b26bbca05 Cr-Commit-Position: refs/heads/master@{#353450}
5 years, 2 months ago (2015-10-10 01:18:37 UTC) #47
Vitaly Buka (NO REVIEWS)
5 years, 2 months ago (2015-10-10 01:49:05 UTC) #48
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698