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

Issue 9146054: Spawn a new process to register and unregister DLLs. (Closed)

Created:
8 years, 11 months ago by grt (UTC plus 2)
Modified:
8 years, 11 months ago
Reviewers:
robertshield
CC:
chromium-reviews, robertshield, cbentzel+watch_chromium.org, darin-cc_chromium.org, amit, erikwright (departed)
Visibility:
Public.

Description

Spawn a new process to register and unregister DLLs. In component=shared_library builds, it isn't safe to load npchrome_frame.dll into a process that has its own AtExit manager, singletons, logging, etc. So now spin off a new run of the given test executable to do the registration. BUG=110492 TEST=none (covered by cf_win trybot) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=119049

Patch Set 1 #

Patch Set 2 : updated error handling #

Total comments: 8

Patch Set 3 : updated #

Total comments: 2

Patch Set 4 : nitting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -51 lines) Patch
M chrome_frame/test/net/fake_external_tab.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome_frame/test/perf/run_all.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome_frame/test/reliability/run_all_unittests.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome_frame/test/run_all_unittests.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome_frame/test_utils.h View 4 chunks +26 lines, -2 lines 0 comments Download
M chrome_frame/test_utils.cc View 1 2 3 5 chunks +133 lines, -46 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
grt (UTC plus 2)
8 years, 11 months ago (2012-01-24 21:15:10 UTC) #1
grt (UTC plus 2)
I just updated some error handling. Please refresh if you've started your review. Thanks.
8 years, 11 months ago (2012-01-24 21:44:32 UTC) #2
robertshield
lg, nits https://chromiumcodereview.appspot.com/9146054/diff/2001/chrome_frame/test_utils.cc File chrome_frame/test_utils.cc (right): https://chromiumcodereview.appspot.com/9146054/diff/2001/chrome_frame/test_utils.cc#newcode129 chrome_frame/test_utils.cc:129: << "). Are you running as Admin?"; ...
8 years, 11 months ago (2012-01-24 22:40:01 UTC) #3
grt (UTC plus 2)
Thanks for the suggestions. PTAL. https://chromiumcodereview.appspot.com/9146054/diff/2001/chrome_frame/test_utils.cc File chrome_frame/test_utils.cc (right): https://chromiumcodereview.appspot.com/9146054/diff/2001/chrome_frame/test_utils.cc#newcode129 chrome_frame/test_utils.cc:129: << "). Are you ...
8 years, 11 months ago (2012-01-25 02:46:36 UTC) #4
robertshield
lgtm https://chromiumcodereview.appspot.com/9146054/diff/6001/chrome_frame/test_utils.cc File chrome_frame/test_utils.cc (right): https://chromiumcodereview.appspot.com/9146054/diff/6001/chrome_frame/test_utils.cc#newcode176 chrome_frame/test_utils.cc:176: printf("Usage: %S %S <path to dll> <entrypoint>\n", argv[0], ...
8 years, 11 months ago (2012-01-25 03:07:40 UTC) #5
grt (UTC plus 2)
Thanks. https://chromiumcodereview.appspot.com/9146054/diff/6001/chrome_frame/test_utils.cc File chrome_frame/test_utils.cc (right): https://chromiumcodereview.appspot.com/9146054/diff/6001/chrome_frame/test_utils.cc#newcode176 chrome_frame/test_utils.cc:176: printf("Usage: %S %S <path to dll> <entrypoint>\n", argv[0], ...
8 years, 11 months ago (2012-01-25 03:44:11 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grt@chromium.org/9146054/9001
8 years, 11 months ago (2012-01-25 04:44:51 UTC) #7
commit-bot: I haz the power
8 years, 11 months ago (2012-01-25 04:44:55 UTC) #8
Presubmit check for 9146054-9001 failed and returned exit status 1.

Running presubmit commit checks ...

** Presubmit Warnings **
New code should not use wstrings.  If you are calling an API that accepts a
wstring, fix the API.
    chrome_frame/test_utils.cc:140

Presubmit checks took 1.1s to calculate.

Powered by Google App Engine
This is Rietveld 408576698