diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-13 19:16:03 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-13 19:16:03 +0000 |
commit | 0cda37ff8a26272ff496d9d7d17249df0b8fe38b (patch) | |
tree | aa7805f6364f3b29d2228deb866015e1b5f644a8 /net/base | |
parent | 32bd0b6f0ec18545a0aacde0fc7d7bb5336744d7 (diff) | |
download | chromium_src-0cda37ff8a26272ff496d9d7d17249df0b8fe38b.zip chromium_src-0cda37ff8a26272ff496d9d7d17249df0b8fe38b.tar.gz chromium_src-0cda37ff8a26272ff496d9d7d17249df0b8fe38b.tar.bz2 |
mac: Let gcapi install chrome as the CGSession owner
This way, chrome should be able to set up user keystone
on first run in most cases.
Also don't offer installation if /Applications/Google Chrome.app already
exists.
BUG=128462
TEST=
1.) Run as user.
Have chrome with system ticket and user keystone installed anywhere.
-> Shouldn't offer installation.
Have chrome with user ticket and user keystone installed anywhere.
-> Shouldn't offer installation.
Have chrome with system ticket and system keystone installed anywhere.
-> Shouldn't offer installation.
Have chrome with system ticket and system keystone installed anywhere.
-> Shouldn't offer installation.
Have chrome in /Applications, no matter owned by whom and no matter
if with keystone set up.
-> Shouldn't offer installation.
Don't have chrome installed
-> Offers to install, and creates /Applications/Google Chrome.app which
is owned by the current user. On first launch, Chrome registers itself
successfully for a user ticket without user interaction.
2.) Same as with 1, but run as root. Should have EXACTLY the same results,
i.e. chrome is still installed as current user, and when run as the current
user (not root) successfully registers itself.
Review URL: https://chromiumcodereview.appspot.com/10834102
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151324 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
0 files changed, 0 insertions, 0 deletions