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

Issue 1492813002: tools/gn: forward declare some base types in trace.h (Closed)

Created:
5 years ago by tfarina
Modified:
5 years ago
Reviewers:
brettw, scottmg
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

tools/gn: forward declare some base types in trace.h CommandLine and FilePath are being passed by reference, so they can be forward declared and their header includes be moved to the source file instead. BUG=None TEST=gn gen + gn_unittests R=scottmg@chromium.org Committed: https://crrev.com/7741ab4958dec364e2d5f43d678bda53fc2465fa Cr-Commit-Position: refs/heads/master@{#363056}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M tools/gn/trace.h View 1 chunk +5 lines, -2 lines 0 comments Download
M tools/gn/trace.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
tfarina
5 years ago (2015-12-02 14:46:02 UTC) #1
tfarina
Scott, ping?
5 years ago (2015-12-03 12:04:23 UTC) #2
scottmg
I don't really think this is worth doing. You can try to convince Brett if ...
5 years ago (2015-12-03 15:16:47 UTC) #3
tfarina
+Brett! I think we should forward whenever we can.
5 years ago (2015-12-03 15:50:25 UTC) #5
brettw
This is fine since you've already bothered doing the patch and sending it out, LGTM. ...
5 years ago (2015-12-03 17:56:23 UTC) #6
tfarina
On 2015/12/03 17:56:23, brettw wrote: > This is fine since you've already bothered doing the ...
5 years ago (2015-12-03 19:40:33 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1492813002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1492813002/1
5 years ago (2015-12-03 19:43:04 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-12-03 21:07:25 UTC) #10
commit-bot: I haz the power
5 years ago (2015-12-03 21:08:07 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/7741ab4958dec364e2d5f43d678bda53fc2465fa
Cr-Commit-Position: refs/heads/master@{#363056}

Powered by Google App Engine
This is Rietveld 408576698