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

Issue 553016: port to use centralized constants files, and add input validation (Closed)

Created:
10 years, 11 months ago by Chris Masone
Modified:
9 years, 7 months ago
Reviewers:
Will Drewry
CC:
chromium-os-reviews_googlegroups.com
Visibility:
Public.

Description

port to use centralized constants files, and add input validation

Patch Set 1 #

Total comments: 20

Patch Set 2 : address wad comments; chiefly, use gmock #

Patch Set 3 : remove dead code #

Total comments: 12

Patch Set 4 : address shell injection, otehr comments (per wad) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+380 lines, -155 lines) Patch
M Makefile View 1 3 chunks +6 lines, -6 lines 0 comments Download
D constants.h View 1 chunk +0 lines, -13 lines 0 comments Download
D constants.cc View 1 chunk +0 lines, -9 lines 0 comments Download
A mock_child_job.h View 1 chunk +23 lines, -0 lines 0 comments Download
A mock_system_utils.h View 2 3 1 chunk +23 lines, -0 lines 0 comments Download
M session_manager_main.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M session_manager_service.h View 1 2 3 5 chunks +31 lines, -7 lines 0 comments Download
M session_manager_service.cc View 1 2 3 7 chunks +91 lines, -33 lines 0 comments Download
M session_manager_unittest.cc View 1 2 3 1 chunk +171 lines, -84 lines 0 comments Download
M signaller.cc View 1 chunk +1 line, -1 line 0 comments Download
A system_utils.h View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Chris Masone
10 years, 11 months ago (2010-01-19 02:13:26 UTC) #1
Will Drewry
Looks good - some comments and nits on style and testing, but how much you ...
10 years, 11 months ago (2010-01-19 17:06:00 UTC) #2
Chris Masone
so much mocking, you don't even know http://codereview.chromium.org/553016/diff/1/6 File session_manager_service.cc (right): http://codereview.chromium.org/553016/diff/1/6#newcode48 session_manager_service.cc:48: CHECK(system); On ...
10 years, 11 months ago (2010-01-19 21:52:02 UTC) #3
Will Drewry
That's some fine gmockery. A couple of nits and a thought about the CHROMEOS_USER=%s validation. ...
10 years, 11 months ago (2010-01-19 22:20:05 UTC) #4
Chris Masone
http://codereview.chromium.org/553016/diff/5002/5007 File mock_system_utils.h (right): http://codereview.chromium.org/553016/diff/5002/5007#newcode11 mock_system_utils.h:11: #include <unistd.h> On 2010/01/19 22:20:05, Will Drewry wrote: > ...
10 years, 11 months ago (2010-01-19 23:04:24 UTC) #5
Will Drewry
10 years, 11 months ago (2010-01-19 23:12:42 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698