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

Issue 2081153002: No dbus::FileDescriptor in DebugDaemonClient (Closed)

Created:
4 years, 6 months ago by hashimoto
Modified:
4 years, 4 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews, davemoore+watch_chromium.org, hashimoto+watch_chromium.org, oshima+watch_chromium.org, Simon Que
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

No dbus::FileDescriptor in DebugDaemonClient This is the first step to replace dbus::FileDescriptor with base::ScopedFD. Add a new variant of dbus::MessageWriter::AppendFileDescriptor and dbus::MessageReader::PopFileDescriptor. Use the new variant in DebugDaemonClient. BUG=621841 Committed: https://crrev.com/89822579003fc4f5128c58f9bbd1a22b347ea229 Cr-Commit-Position: refs/heads/master@{#414093}

Patch Set 1 #

Patch Set 2 : No dbus::FileDescriptor in debug_daemon_client #

Patch Set 3 : rebase #

Patch Set 4 : Fix test #

Total comments: 16

Patch Set 5 : Address comments #

Total comments: 2

Patch Set 6 : Address comments. PipeReader::StartIO returns ScopedFD #

Total comments: 6

Patch Set 7 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -201 lines) Patch
M chrome/browser/chromeos/system_logs/debug_log_writer.cc View 1 2 3 4 4 chunks +19 lines, -17 lines 0 comments Download
M chrome/browser/extensions/api/log_private/log_private_apitest_chromeos.cc View 1 2 3 4 5 1 chunk +6 lines, -7 lines 0 comments Download
M chrome/browser/metrics/perf/perf_output.h View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/metrics/perf/perf_output.cc View 1 2 3 4 5 6 2 chunks +4 lines, -33 lines 0 comments Download
M chromeos/dbus/debug_daemon_client.h View 1 2 3 4 5 3 chunks +9 lines, -7 lines 0 comments Download
M chromeos/dbus/debug_daemon_client.cc View 1 2 3 4 5 10 chunks +40 lines, -115 lines 0 comments Download
M chromeos/dbus/fake_debug_daemon_client.h View 2 chunks +2 lines, -3 lines 0 comments Download
M chromeos/dbus/fake_debug_daemon_client.cc View 3 chunks +3 lines, -7 lines 0 comments Download
M chromeos/dbus/lorgnette_manager_client.cc View 1 2 3 4 5 3 chunks +5 lines, -4 lines 0 comments Download
M chromeos/dbus/pipe_reader.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chromeos/dbus/pipe_reader.cc View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M dbus/message.h View 3 chunks +12 lines, -0 lines 0 comments Download
M dbus/message.cc View 2 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (21 generated)
hashimoto
4 years, 4 months ago (2016-08-22 06:15:20 UTC) #8
stevenjb
Thanks for working on this. This lgtm, but I'm really not an expert on file ...
4 years, 4 months ago (2016-08-22 16:04:38 UTC) #9
satorux1
https://codereview.chromium.org/2081153002/diff/60001/chrome/browser/chromeos/system_logs/debug_log_writer.cc File chrome/browser/chromeos/system_logs/debug_log_writer.cc (right): https://codereview.chromium.org/2081153002/diff/60001/chrome/browser/chromeos/system_logs/debug_log_writer.cc#newcode206 chrome/browser/chromeos/system_logs/debug_log_writer.cc:206: void IntializeLogFile(base::File* file, -> InitializeLogFile. Please fix the typo ...
4 years, 4 months ago (2016-08-23 04:43:37 UTC) #10
hashimoto
https://codereview.chromium.org/2081153002/diff/60001/chrome/browser/chromeos/system_logs/debug_log_writer.cc File chrome/browser/chromeos/system_logs/debug_log_writer.cc (right): https://codereview.chromium.org/2081153002/diff/60001/chrome/browser/chromeos/system_logs/debug_log_writer.cc#newcode206 chrome/browser/chromeos/system_logs/debug_log_writer.cc:206: void IntializeLogFile(base::File* file, On 2016/08/23 04:43:37, satorux1 wrote: > ...
4 years, 4 months ago (2016-08-23 06:38:50 UTC) #12
satorux1
LGTM with some comments https://codereview.chromium.org/2081153002/diff/60001/chrome/browser/metrics/perf/perf_output.cc File chrome/browser/metrics/perf/perf_output.cc (right): https://codereview.chromium.org/2081153002/diff/60001/chrome/browser/metrics/perf/perf_output.cc#newcode35 chrome/browser/metrics/perf/perf_output.cc:35: } On 2016/08/23 06:38:50, hashimoto ...
4 years, 4 months ago (2016-08-23 07:02:02 UTC) #15
hashimoto
https://codereview.chromium.org/2081153002/diff/60001/chrome/browser/metrics/perf/perf_output.cc File chrome/browser/metrics/perf/perf_output.cc (right): https://codereview.chromium.org/2081153002/diff/60001/chrome/browser/metrics/perf/perf_output.cc#newcode35 chrome/browser/metrics/perf/perf_output.cc:35: } On 2016/08/23 07:02:02, satorux1 wrote: > On 2016/08/23 ...
4 years, 4 months ago (2016-08-23 07:41:28 UTC) #18
hashimoto
isherman@: Please review chrome/browser/metrics/perf/ rockot@: Please review chrome/browser/extensions/api/log_private/log_private_apitest_chromeos.cc
4 years, 4 months ago (2016-08-23 09:46:42 UTC) #24
Ken Rockot(use gerrit already)
lgtm
4 years, 4 months ago (2016-08-23 16:03:00 UTC) #25
Ilya Sherman
+Simon as FYI https://codereview.chromium.org/2081153002/diff/120001/chrome/browser/metrics/perf/perf_output.cc File chrome/browser/metrics/perf/perf_output.cc (right): https://codereview.chromium.org/2081153002/diff/120001/chrome/browser/metrics/perf/perf_output.cc#newcode27 chrome/browser/metrics/perf/perf_output.cc:27: base::ScopedFD pipe_write_end = perf_data_pipe_reader_->StartIO(); FWIW, the ...
4 years, 4 months ago (2016-08-23 19:40:39 UTC) #26
Ilya Sherman
Sorry, sent to fast. Meant to say: LGTM % comments/nits.
4 years, 4 months ago (2016-08-23 19:41:00 UTC) #27
hashimoto
https://codereview.chromium.org/2081153002/diff/120001/chrome/browser/metrics/perf/perf_output.cc File chrome/browser/metrics/perf/perf_output.cc (right): https://codereview.chromium.org/2081153002/diff/120001/chrome/browser/metrics/perf/perf_output.cc#newcode27 chrome/browser/metrics/perf/perf_output.cc:27: base::ScopedFD pipe_write_end = perf_data_pipe_reader_->StartIO(); On 2016/08/23 19:40:38, Ilya Sherman ...
4 years, 4 months ago (2016-08-24 15:59:11 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2081153002/140001
4 years, 4 months ago (2016-08-24 16:00:03 UTC) #31
commit-bot: I haz the power
Committed patchset #7 (id:140001)
4 years, 4 months ago (2016-08-24 16:51:55 UTC) #33
commit-bot: I haz the power
4 years, 4 months ago (2016-08-24 16:53:58 UTC) #35
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/89822579003fc4f5128c58f9bbd1a22b347ea229
Cr-Commit-Position: refs/heads/master@{#414093}

Powered by Google App Engine
This is Rietveld 408576698