diff options
Diffstat (limited to 'policy/device_policy.h')
-rw-r--r-- | policy/device_policy.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/policy/device_policy.h b/policy/device_policy.h index 840e7e5..fbebeaa 100644 --- a/policy/device_policy.h +++ b/policy/device_policy.h @@ -150,6 +150,11 @@ class DevicePolicy { virtual bool GetUsbDetachableWhitelist( std::vector<UsbDeviceId>* usb_whitelist) const = 0; + // Writes the value of the kiosk app id into |app_id_out|. + // Only succeeds if the device is in auto-launched kiosk mode. + virtual bool GetAutoLaunchedKioskAppId( + std::string* app_id_out) const = 0; + private: // Verifies that the policy files are owned by root and exist. virtual bool VerifyPolicyFiles() = 0; |