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

Issue 6509006: libchromeos: add process control library, syslog logging capability, and run unit tests (Closed)

Created:
9 years, 10 months ago by kmixter1
Modified:
9 years, 7 months ago
Reviewers:
petkov, rginda
CC:
chromium-os-reviews_chromium.org
Visibility:
Public.

Description

libchromeos: add process control library, syslog logging capability, and run unit tests Change-Id: I9d9a00eeb649666efc1f2fdac1914e4bf6f1149c BUG=n0ne TEST=unit tests Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=f7cb327

Patch Set 1 #

Patch Set 2 : sync #

Total comments: 24

Patch Set 3 : respond to petkov, update interface #

Total comments: 20

Patch Set 4 : respond to petkov and rginda #

Patch Set 5 : Fix bug where we close stdout/stderr accidentally #

Unified diffs Side-by-side diffs Delta from patch set Stats (+706 lines, -15 lines) Patch
M SConstruct View 1 2 3 chunks +8 lines, -4 lines 0 comments Download
A chromeos/process.h View 1 2 3 1 chunk +117 lines, -0 lines 0 comments Download
A chromeos/process.cc View 1 2 3 4 1 chunk +205 lines, -0 lines 0 comments Download
A chromeos/process_mock.h View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
A chromeos/process_test.cc View 1 2 3 4 1 chunk +170 lines, -0 lines 0 comments Download
A chromeos/syslog_logging.h View 1 2 3 1 chunk +40 lines, -0 lines 0 comments Download
A chromeos/syslog_logging.cc View 1 2 3 1 chunk +97 lines, -0 lines 0 comments Download
A chromeos/test_helpers.h View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download
M testrunner.cc View 1 1 chunk +3 lines, -11 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
kmixter1
petkov: for the process.* stuff rginda: for the syslog_logging.* stuff
9 years, 10 months ago (2011-02-25 03:19:42 UTC) #1
petkov
Some comments on the process* stuff. Haven't looked at the syslog... http://codereview.chromium.org/6509006/diff/6001/SConstruct File SConstruct (right): ...
9 years, 10 months ago (2011-02-25 19:20:16 UTC) #2
kmixter1
PTAL http://codereview.chromium.org/6509006/diff/6001/SConstruct File SConstruct (right): http://codereview.chromium.org/6509006/diff/6001/SConstruct#newcode12 SConstruct:12: 'chromeos/process.cc', On 2011/02/25 19:20:16, petkov wrote: > sort? ...
9 years, 10 months ago (2011-02-26 00:54:31 UTC) #3
petkov
http://codereview.chromium.org/6509006/diff/9002/chromeos/process.cc File chromeos/process.cc (right): http://codereview.chromium.org/6509006/diff/9002/chromeos/process.cc#newcode62 chromeos/process.cc:62: buffer_pointer += arguments_[i].size(); + 1 here and remove ++buffer_pointer ...
9 years, 9 months ago (2011-02-28 08:00:14 UTC) #4
rginda
http://codereview.chromium.org/6509006/diff/9002/chromeos/syslog_logging.h File chromeos/syslog_logging.h (right): http://codereview.chromium.org/6509006/diff/9002/chromeos/syslog_logging.h#newcode14 chromeos/syslog_logging.h:14: void InitLog(bool log_to_syslog, bool log_to_stderr); How about a bitfield ...
9 years, 9 months ago (2011-02-28 18:15:20 UTC) #5
kmixter1
PTAL. addressed all comments. Updated other CLs (6517001 and 6594001) with rginda's suggested api change. ...
9 years, 9 months ago (2011-03-02 01:38:07 UTC) #6
petkov
process* LGTM
9 years, 9 months ago (2011-03-02 05:49:40 UTC) #7
kmixter1
petkov: PTAL at 4->5 - took me sadly a few hours to figure out why ...
9 years, 9 months ago (2011-03-02 12:09:47 UTC) #8
petkov
heh... LGTM
9 years, 9 months ago (2011-03-02 17:46:09 UTC) #9
rginda
9 years, 9 months ago (2011-03-02 19:23:43 UTC) #10
On 2011/03/02 17:46:09, petkov wrote:
> heh... LGTM

logging LGTM

Powered by Google App Engine
This is Rietveld 408576698