DescriptionRestore auto-launched state on kiosk restart within session
When kiosk app is restarted within a kiosk session - e.g. due to crash,
app's auto-launched state has to be preserved. Previously auto-launched
state was kept only in memory - if kiosk was restarted, the information
would get lost.
This CL is attempt to fix the problem by preserving auto-launched state
by setting a user session scoped flag that indicates that the kiosk app
is auto-launched (newly introduced app-auto-launched). The flag will be
scoped to current used session, and will be passed to Chrome in a case
Chrome restarts withing the user session. On restart, the flag can be
used to deduce whether the kiosk app should be considered auto-launched
or not.
Note that when setting the auto-launched flag, it's important to
consider current set of policy defined flags - they should be
preserved when auto-launched flag is added to set of user flags.
BUG=677340
Review-Url: https://codereview.chromium.org/2639033002
Cr-Original-Commit-Position: refs/heads/master@{#446166}
Committed: https://chromium.googlesource.com/chromium/src/+/663f7dfaa3b96b353ade5b9ce6b7616e51ba73bb
Review-Url: https://codereview.chromium.org/2639033002
Cr-Commit-Position: refs/heads/master@{#446427}
Committed: https://chromium.googlesource.com/chromium/src/+/c6b3e0d3813eb1bc13bbaba9e5d19054890606c7
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : . #Patch Set 4 : . #Patch Set 5 : . #
Total comments: 8
Patch Set 6 : . #
Total comments: 1
Patch Set 7 : Attempt No 2 #Messages
Total messages: 27 (17 generated)
|