DescriptionTurn on component updater on chromeos, only for the pnacl component.
Make the pnacl component place files in a profile-specific directory
for chromeos. We don't want to share data between users on
chromeos because of questions about integrity of these files.
This adds a notification watcher and will re-register pnacl with
a different version whenever the user logs into
a different account.
Files are installed to a stateful partition, which should
be okay. The stateful partition is mounted no-exec, but
the pnacl files are not typical executables.
This is a temporary solution to help with testing out PNaCl on chromeos.
We will need to find a different solution later that does
not involve multiple copies, one for each user.
BUG=221381
TEST= manual with:
1) export GYP_DEFINES="chromeos=1"
2) build
3) out/Release/chrome --enable-pnacl --enable-nacl --user-data-dir=/tmp/temp_profile_chromeos --login-profile=user --login-manager
4) wait 20 seconds and see /tmp/temp_profile_chromeos/test-user/pnacl/0.0.0.5 show up
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192415
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192969
Patch Set 1 #Patch Set 2 : make one for testing_browser_process #Patch Set 3 : fix some bugs #Patch Set 4 : fix dtor / vtable #Patch Set 5 : check if logged in first to not waste early ping on the OTR profile #
Total comments: 12
Patch Set 6 : cleanup #
Total comments: 8
Patch Set 7 : cleanup #Patch Set 8 : filepath #
Total comments: 11
Patch Set 9 : review #
Total comments: 4
Patch Set 10 : formatting #Patch Set 11 : add unittest #Patch Set 12 : move other macro to end too #Patch Set 13 : comments for what to fix when retrying #Patch Set 14 : fix race in observer vs cus setting, profile on UI thread #
Total comments: 2
Patch Set 15 : debug #Messages
Total messages: 25 (0 generated)
|