diff options
author | kelvinp <kelvinp@chromium.org> | 2015-09-30 18:22:13 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-01 01:22:51 +0000 |
commit | 1b80b8f3228141bcea73fbd5c4d2fb62114e5110 (patch) | |
tree | b531bfcb950377e4e70ce3cb0ca7534394a25a66 /extensions/renderer/resources | |
parent | 3c339c407958603390d6a1b4f0b86bd0044bdbb3 (diff) | |
download | chromium_src-1b80b8f3228141bcea73fbd5c4d2fb62114e5110.zip chromium_src-1b80b8f3228141bcea73fbd5c4d2fb62114e5110.tar.gz chromium_src-1b80b8f3228141bcea73fbd5c4d2fb62114e5110.tar.bz2 |
Add public session launch flag
This CL adds a flag to the launchData in chrome.runtime.app.onLaunched
to indicate whether the app is being launched in a public session.
BUG=508608
Review URL: https://codereview.chromium.org/1375353002
Cr-Commit-Position: refs/heads/master@{#351696}
Diffstat (limited to 'extensions/renderer/resources')
-rw-r--r-- | extensions/renderer/resources/app_runtime_custom_bindings.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/renderer/resources/app_runtime_custom_bindings.js b/extensions/renderer/resources/app_runtime_custom_bindings.js index 309d4af..2b492c5 100644 --- a/extensions/renderer/resources/app_runtime_custom_bindings.js +++ b/extensions/renderer/resources/app_runtime_custom_bindings.js @@ -45,6 +45,7 @@ eventBindings.registerArgumentMassager('app.runtime.onLaunched', if (--numItems === 0) { var data = { isKioskSession: launchData.isKioskSession, + isPublicSession: launchData.isPublicSession, source: launchData.source }; if (items.length !== 0) { |