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

Issue 3171027: [Mac] Enforce proper usage of main app bundle and helper app bundle.... (Closed)

Created:
10 years, 4 months ago by TVL
Modified:
9 years, 7 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

[Mac] Enforce proper usage of main app bundle and helper app bundle. - Add a check to make sure the helper isn't used without --type - Add a check to make sure the main app isn't used with --type. - Make inproc browser tests invoke the helper that is within the app bundle on disk to recreate the real world environment. BUG=23645, 52858 TEST=green tree, invoking the main app with --type fails, and invoking the helper without it fails. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57231

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 9

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 3

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -0 lines) Patch
M chrome/app/chrome_dll_main.cc View 1 2 3 4 1 chunk +20 lines, -0 lines 0 comments Download
M chrome/test/in_process_browser_test.cc View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
TVL
Look at diff 1 for try bot results (uploaded again to make sure I hadn't ...
10 years, 4 months ago (2010-08-24 17:51:39 UTC) #1
Mark Mentovai
LG with questions and things. http://codereview.chromium.org/3171027/diff/4001/5001 File chrome/app/chrome_dll_main.cc (right): http://codereview.chromium.org/3171027/diff/4001/5001#newcode529 chrome/app/chrome_dll_main.cc:529: std::string process_type = Do ...
10 years, 4 months ago (2010-08-24 17:58:13 UTC) #2
TVL
http://codereview.chromium.org/3171027/diff/4001/5001 File chrome/app/chrome_dll_main.cc (right): http://codereview.chromium.org/3171027/diff/4001/5001#newcode529 chrome/app/chrome_dll_main.cc:529: std::string process_type = On 2010/08/24 17:58:13, Mark Mentovai wrote: ...
10 years, 4 months ago (2010-08-24 18:17:23 UTC) #3
Mark Mentovai
10 years, 4 months ago (2010-08-24 18:24:40 UTC) #4
LGTM

http://codereview.chromium.org/3171027/diff/14001/1003
File chrome/app/chrome_dll_main.cc (right):

http://codereview.chromium.org/3171027/diff/14001/1003#newcode661
chrome/app/chrome_dll_main.cc:661: // The helper's info.plist marks it as a
background only app (so it won't
Info.plist (capital I).

Don’t use parentheses here.

http://codereview.chromium.org/3171027/diff/14001/1003#newcode665
chrome/app/chrome_dll_main.cc:665: << "The helper app bundle should only be used
with the --type switch!";
<< "Helper application requires --type.";

http://codereview.chromium.org/3171027/diff/14001/1003#newcode668
chrome/app/chrome_dll_main.cc:668: << "The main app bundle should not be used
with the --type switch!"
<< "Main application forbids --type, saw \"" << process_type << "\".";

Powered by Google App Engine
This is Rietveld 408576698