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

Issue 1216183004: Only set File::[tracing_]path_ when file tracing is enabled. (Closed)

Created:
5 years, 5 months ago by Dan Beam
Modified:
5 years, 5 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Only set File::[tracing_]path_ when file tracing is enabled. R=rvargas@chromium.org BUG=none TEST=less |path_| cruft lying around Committed: https://crrev.com/fd5b108c82d56f6022dfbe62a023d1e81ff6f83b Cr-Commit-Position: refs/heads/master@{#337168}

Patch Set 1 : better #

Total comments: 1

Patch Set 2 : unbreak everything that uses base::File #

Patch Set 3 : tracing_path_ #

Total comments: 4

Patch Set 4 : it even compiles! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -27 lines) Patch
M base/files/file.h View 1 2 3 2 chunks +5 lines, -4 lines 0 comments Download
M base/files/file.cc View 1 2 3 3 chunks +5 lines, -4 lines 0 comments Download
M base/files/file_posix.cc View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M base/files/file_tracing.h View 3 chunks +4 lines, -4 lines 0 comments Download
M base/files/file_tracing.cc View 1 2 2 chunks +6 lines, -9 lines 0 comments Download
M base/files/file_win.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
Dan Beam
https://codereview.chromium.org/1216183004/diff/20001/base/files/file_tracing.cc File base/files/file_tracing.cc (left): https://codereview.chromium.org/1216183004/diff/20001/base/files/file_tracing.cc#oldcode43 base/files/file_tracing.cc:43: if (!g_provider) this should never happen
5 years, 5 months ago (2015-07-02 00:43:48 UTC) #2
rvargas (doing something else)
lgtm
5 years, 5 months ago (2015-07-02 01:01:59 UTC) #3
rvargas (doing something else)
Even better if it compiles!. lgtm.
5 years, 5 months ago (2015-07-02 01:15:10 UTC) #4
rvargas (doing something else)
lgtm with nits (that happens when I get to spend more time doing a review ...
5 years, 5 months ago (2015-07-02 02:11:06 UTC) #5
Dan Beam
https://codereview.chromium.org/1216183004/diff/60001/base/files/file.h File base/files/file.h (right): https://codereview.chromium.org/1216183004/diff/60001/base/files/file.h#newcode360 base/files/file.h:360: void DoInitialize(uint32 flags, const FilePath& path); On 2015/07/02 02:11:05, ...
5 years, 5 months ago (2015-07-02 02:18:06 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1216183004/90001
5 years, 5 months ago (2015-07-02 02:19:24 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:90001)
5 years, 5 months ago (2015-07-02 03:33:18 UTC) #11
commit-bot: I haz the power
5 years, 5 months ago (2015-07-02 03:34:17 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/fd5b108c82d56f6022dfbe62a023d1e81ff6f83b
Cr-Commit-Position: refs/heads/master@{#337168}

Powered by Google App Engine
This is Rietveld 408576698