Supply an explicit designated requirement for all internal components during
signing.

The implied designated requirement produced when signing on Lion cannot be
satisfied on pre-Lion systems. This was already addressed by providing an
explicit designated requirement for the outer .app bundle. This change also
provides an explicit designated requirement for inner components.

The Parental Controls feature apparently requires an application to meet its
designated requirement. Since the requirement for inner components such as
the helper would never be met on 10.6 (or presumably 10.5), it was impossible
to launch such inner components. This prevented any renderer processes from
ever starting up. The user would only see sad tabs and endless OS prompts, and
the browser would effectively be useless.

BUG=131682, 134311
TEST=Turn on Parental Controls and set it to limit applications. Launch Chrome.
     After a possible initial prompt asking whether Chrome should be permitted
     (authenticate and say yes), Chrome should function normally. There should
     be no prompts about Chrome Helper, Chrome Helper EH, or Chrome Helper NP.
     Web pages should load normally. There should be no sad tabs. Note that
     there may still be a prompt about ksadmin.
Review URL: https://chromiumcodereview.appspot.com/10696101

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145370 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed