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

Issue 23540009: test IWYU fixups for base (Closed)

Created:
7 years, 3 months ago by Mostyn Bramley-Moore
Modified:
7 years, 3 months ago
Reviewers:
rlarocque, Nico, gene, Yoyo Zhou
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

test IWYU fixups for base These are some of the suggestions from running include-what-you-use[1] on the base target. [1] https://code.google.com/p/include-what-you-use/ BUG=259043 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221067

Patch Set 1 #

Patch Set 2 : unit test fixup #

Total comments: 5

Patch Set 3 : default_clock.h fixup #

Total comments: 2

Patch Set 4 : default_tick_clock.h fixup #

Patch Set 5 : add some missing includes in cloud_print_service.cc #

Patch Set 6 : fix p2p_invalidator.cc #

Patch Set 7 : include iterator in a couple more files #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -13 lines) Patch
M base/stl_util.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M base/time/time.h View 1 chunk +1 line, -1 line 0 comments Download
M base/time/time.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M base/time/time_posix.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M base/timer/timer.h View 2 chunks +1 line, -1 line 0 comments Download
M base/timer/timer.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M base/tracked_objects.h View 2 chunks +5 lines, -1 line 0 comments Download
M base/tracked_objects.cc View 1 chunk +7 lines, -5 lines 0 comments Download
M base/tracked_objects_unittest.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M base/tracking_info.h View 1 chunk +1 line, -0 lines 0 comments Download
M base/value_conversions.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M base/values.h View 2 chunks +4 lines, -2 lines 0 comments Download
M base/values.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M base/version.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M base/vlog.h View 1 chunk +0 lines, -1 line 0 comments Download
M base/vlog.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/blacklist.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M cloud_print/service/win/cloud_print_service.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M sync/notifier/p2p_invalidator.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 2 comments Download

Messages

Total messages: 18 (0 generated)
Mostyn Bramley-Moore
@Nico: does this patch look OK to you? I am experimenting with include-what-you-use (IWYU) to ...
7 years, 3 months ago (2013-08-29 13:37:19 UTC) #1
Nico
In principle, I like this patch. In practice, IWYU has been not production-ready every time ...
7 years, 3 months ago (2013-08-29 17:35:59 UTC) #2
Mostyn Bramley-Moore
> The first 2 files are arguably wrong Here's a snippet of the IWYU output ...
7 years, 3 months ago (2013-08-29 18:43:50 UTC) #3
Nico
lgtm https://codereview.chromium.org/23540009/diff/8001/base/values.h File base/values.h (right): https://codereview.chromium.org/23540009/diff/8001/base/values.h#newcode25 base/values.h:25: #include <utility> On 2013/08/29 18:43:51, Mostyn Bramley-Moore wrote: ...
7 years, 3 months ago (2013-08-29 18:50:02 UTC) #4
Mostyn Bramley-Moore
Should I queue this, or do you want me to go through with a fine-toothed ...
7 years, 3 months ago (2013-08-29 19:08:34 UTC) #5
Nico
you can cq this
7 years, 3 months ago (2013-08-29 19:51:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mostynb@opera.com/23540009/21001
7 years, 3 months ago (2013-08-29 19:54:14 UTC) #7
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 3 months ago (2013-08-29 20:00:38 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mostynb@opera.com/23540009/21001
7 years, 3 months ago (2013-08-29 20:09:58 UTC) #9
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-08-29 21:09:02 UTC) #10
Mostyn Bramley-Moore
@yoz: can you please review chrome/browser/extensions/blacklist.cc ? @gene: can you please review cloud_print/service/win/cloud_print_service.cc ? @rlarocque: ...
7 years, 3 months ago (2013-08-30 08:03:59 UTC) #11
rlarocque
https://codereview.chromium.org/23540009/diff/52001/sync/notifier/p2p_invalidator.cc File sync/notifier/p2p_invalidator.cc (right): https://codereview.chromium.org/23540009/diff/52001/sync/notifier/p2p_invalidator.cc#newcode8 sync/notifier/p2p_invalidator.cc:8: #include <iterator> I don't see why IWYU thought this ...
7 years, 3 months ago (2013-08-30 17:08:43 UTC) #12
Mostyn Bramley-Moore
https://codereview.chromium.org/23540009/diff/52001/sync/notifier/p2p_invalidator.cc File sync/notifier/p2p_invalidator.cc (right): https://codereview.chromium.org/23540009/diff/52001/sync/notifier/p2p_invalidator.cc#newcode8 sync/notifier/p2p_invalidator.cc:8: #include <iterator> On 2013/08/30 17:08:43, rlarocque wrote: > I ...
7 years, 3 months ago (2013-08-30 17:14:47 UTC) #13
rlarocque
On 2013/08/30 17:14:47, Mostyn Bramley-Moore wrote: > https://codereview.chromium.org/23540009/diff/52001/sync/notifier/p2p_invalidator.cc > File sync/notifier/p2p_invalidator.cc (right): > > https://codereview.chromium.org/23540009/diff/52001/sync/notifier/p2p_invalidator.cc#newcode8 ...
7 years, 3 months ago (2013-08-30 17:32:59 UTC) #14
gene
lgtm for cloud_print/service/win/cloud_print_service.cc
7 years, 3 months ago (2013-08-30 22:12:09 UTC) #15
Yoyo Zhou
blacklist.cc LGTM
7 years, 3 months ago (2013-09-03 19:25:37 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mostynb@opera.com/23540009/52001
7 years, 3 months ago (2013-09-03 19:26:55 UTC) #17
commit-bot: I haz the power
7 years, 3 months ago (2013-09-03 23:29:14 UTC) #18
Message was sent while issue was closed.
Change committed as 221067

Powered by Google App Engine
This is Rietveld 408576698