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

Issue 270853002: Use base::File for DebugDaemonClient::GetDebugLogs (Closed)

Created:
6 years, 7 months ago by hashimoto
Modified:
6 years, 7 months ago
Reviewers:
satorux1, mmenke
CC:
chromium-reviews, eroman, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

Use base::File for DebugDaemonClient::GetDebugLogs There is no need to keep the file descriptor open in net_internals_ui.cc as libdbus duplicates the FD when appropriate. Use base::File instead of PlatformFile. Use blocking pool instead of WorkerPool. BUG=369183 TEST=Can save debug logs in "Chrome OS" section of chrome://net-internals on a Chromebook. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269540

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -83 lines) Patch
M chrome/browser/ui/webui/net_internals/net_internals_ui.cc View 4 chunks +24 lines, -76 lines 4 comments Download
M chromeos/dbus/debug_daemon_client.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chromeos/dbus/debug_daemon_client.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M chromeos/dbus/fake_debug_daemon_client.h View 1 chunk +1 line, -1 line 0 comments Download
M chromeos/dbus/fake_debug_daemon_client.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
hashimoto
6 years, 7 months ago (2014-05-08 08:52:57 UTC) #1
satorux1
chromeos LGTM
6 years, 7 months ago (2014-05-08 09:07:33 UTC) #2
mmenke
https://codereview.chromium.org/270853002/diff/1/chrome/browser/ui/webui/net_internals/net_internals_ui.cc File chrome/browser/ui/webui/net_internals/net_internals_ui.cc (right): https://codereview.chromium.org/270853002/diff/1/chrome/browser/ui/webui/net_internals/net_internals_ui.cc#newcode251 chrome/browser/ui/webui/net_internals/net_internals_ui.cc:251: file->Pass(), Erm...I don't see Pass() defined anywhere for a ...
6 years, 7 months ago (2014-05-08 14:29:33 UTC) #3
hashimoto
https://codereview.chromium.org/270853002/diff/1/chrome/browser/ui/webui/net_internals/net_internals_ui.cc File chrome/browser/ui/webui/net_internals/net_internals_ui.cc (right): https://codereview.chromium.org/270853002/diff/1/chrome/browser/ui/webui/net_internals/net_internals_ui.cc#newcode251 chrome/browser/ui/webui/net_internals/net_internals_ui.cc:251: file->Pass(), On 2014/05/08 14:29:34, mmenke wrote: > Erm...I don't ...
6 years, 7 months ago (2014-05-08 15:13:12 UTC) #4
mmenke
https://codereview.chromium.org/270853002/diff/1/chrome/browser/ui/webui/net_internals/net_internals_ui.cc File chrome/browser/ui/webui/net_internals/net_internals_ui.cc (right): https://codereview.chromium.org/270853002/diff/1/chrome/browser/ui/webui/net_internals/net_internals_ui.cc#newcode251 chrome/browser/ui/webui/net_internals/net_internals_ui.cc:251: file->Pass(), On 2014/05/08 15:13:12, hashimoto wrote: > On 2014/05/08 ...
6 years, 7 months ago (2014-05-08 15:43:50 UTC) #5
hashimoto
https://codereview.chromium.org/270853002/diff/1/chrome/browser/ui/webui/net_internals/net_internals_ui.cc File chrome/browser/ui/webui/net_internals/net_internals_ui.cc (right): https://codereview.chromium.org/270853002/diff/1/chrome/browser/ui/webui/net_internals/net_internals_ui.cc#newcode251 chrome/browser/ui/webui/net_internals/net_internals_ui.cc:251: file->Pass(), On 2014/05/08 15:43:50, mmenke wrote: > On 2014/05/08 ...
6 years, 7 months ago (2014-05-08 15:59:51 UTC) #6
mmenke
On 2014/05/08 15:59:51, hashimoto wrote: > https://codereview.chromium.org/270853002/diff/1/chrome/browser/ui/webui/net_internals/net_internals_ui.cc > File chrome/browser/ui/webui/net_internals/net_internals_ui.cc (right): > > https://codereview.chromium.org/270853002/diff/1/chrome/browser/ui/webui/net_internals/net_internals_ui.cc#newcode251 > ...
6 years, 7 months ago (2014-05-08 16:06:11 UTC) #7
hashimoto
The CQ bit was checked by hashimoto@chromium.org
6 years, 7 months ago (2014-05-09 05:04:29 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/270853002/1
6 years, 7 months ago (2014-05-09 05:09:08 UTC) #9
commit-bot: I haz the power
6 years, 7 months ago (2014-05-10 06:19:20 UTC) #10
Message was sent while issue was closed.
Change committed as 269540

Powered by Google App Engine
This is Rietveld 408576698