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

Issue 9131016: Cloud Print Policy - service side enforcement, Mac browser tests. (Closed)

Created:
8 years, 11 months ago by Scott Byer
Modified:
8 years, 11 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Cloud Print Policy - service side enforcement, Mac browser tests. Enhance MockLaunchd to the point where it can easily be injected into full service process browser/multiprocess tests, letting those tests run on the Mac. This gets us to the point where we can more browser/service process interaction test coverage. BUG=98049 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=118744

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 38

Patch Set 3 : Address review comments #

Total comments: 6

Patch Set 4 : More tweaks #

Total comments: 4

Patch Set 5 : address nit + REBASE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+300 lines, -62 lines) Patch
M chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc View 1 2 3 4 10 chunks +58 lines, -5 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/mac/mock_launchd.h View 1 2 4 chunks +14 lines, -10 lines 0 comments Download
M chrome/common/mac/mock_launchd.cc View 1 2 3 6 chunks +167 lines, -10 lines 0 comments Download
M chrome/common/service_process_util.h View 1 3 chunks +23 lines, -1 line 0 comments Download
M chrome/common/service_process_util_linux.cc View 1 2 chunks +1 line, -22 lines 0 comments Download
M chrome/common/service_process_util_mac.mm View 1 3 chunks +10 lines, -10 lines 0 comments Download
M chrome/common/service_process_util_posix.cc View 1 2 chunks +23 lines, -1 line 0 comments Download
M chrome/common/service_process_util_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Scott Byer
Mark for the mock_launchd portions, Albert for the service process portions.
8 years, 11 months ago (2012-01-20 20:08:01 UTC) #1
Albert Bodenhamer
http://codereview.chromium.org/9131016/diff/2005/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc File chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc (right): http://codereview.chromium.org/9131016/diff/2005/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc#newcode197 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc:197: FilePath executable_path = cl->GetSwitchValuePath(kTestExecutablePath); I've seen crashes resulting from ...
8 years, 11 months ago (2012-01-20 20:34:18 UTC) #2
Mark Mentovai
Nice job. http://codereview.chromium.org/9131016/diff/2005/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc File chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc (right): http://codereview.chromium.org/9131016/diff/2005/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc#newcode198 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc:198: EXPECT_NE(std::string(), executable_path.value()); EXPECT_FALSE(executable_path.value().empty()) is more of a ...
8 years, 11 months ago (2012-01-20 20:41:34 UTC) #3
Scott Byer
http://codereview.chromium.org/9131016/diff/2005/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc File chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc (right): http://codereview.chromium.org/9131016/diff/2005/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc#newcode197 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc:197: FilePath executable_path = cl->GetSwitchValuePath(kTestExecutablePath); On 2012/01/20 20:34:19, Albert Bodenhamer ...
8 years, 11 months ago (2012-01-20 23:13:37 UTC) #4
Mark Mentovai
LGTM with two suggestions and one “this might not compile” concern. http://codereview.chromium.org/9131016/diff/5004/chrome/common/mac/mock_launchd.cc File chrome/common/mac/mock_launchd.cc (right): ...
8 years, 11 months ago (2012-01-20 23:22:24 UTC) #5
Scott Byer
http://codereview.chromium.org/9131016/diff/5004/chrome/common/mac/mock_launchd.cc File chrome/common/mac/mock_launchd.cc (right): http://codereview.chromium.org/9131016/diff/5004/chrome/common/mac/mock_launchd.cc#newcode200 chrome/common/mac/mock_launchd.cc:200: int path_len = On 2012/01/20 23:22:25, Mark Mentovai wrote: ...
8 years, 11 months ago (2012-01-20 23:59:35 UTC) #6
Mark Mentovai
LGTM for the mock launchd stuff.
8 years, 11 months ago (2012-01-21 00:43:44 UTC) #7
Albert Bodenhamer
LGTM http://codereview.chromium.org/9131016/diff/13/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc File chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc (right): http://codereview.chromium.org/9131016/diff/13/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc#newcode212 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc:212: return 2; NIT: I'd really prefer something like ...
8 years, 11 months ago (2012-01-23 18:05:40 UTC) #8
Scott Byer
http://codereview.chromium.org/9131016/diff/13/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc File chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc (right): http://codereview.chromium.org/9131016/diff/13/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc#newcode212 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc:212: return 2; On 2012/01/23 18:05:41, Albert Bodenhamer wrote: > ...
8 years, 11 months ago (2012-01-23 19:03:46 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottbyer@chromium.org/9131016/12001
8 years, 11 months ago (2012-01-23 19:04:56 UTC) #10
commit-bot: I haz the power
8 years, 11 months ago (2012-01-23 21:39:11 UTC) #11
Change committed as 118744

Powered by Google App Engine
This is Rietveld 408576698