| Index: chrome/browser/extensions/api/identity/identity_api.h
|
| diff --git a/chrome/browser/extensions/api/identity/identity_api.h b/chrome/browser/extensions/api/identity/identity_api.h
|
| index a8e4e26d30df31130b168d754b0cd677cf684798..3d77b192c98abf72413b0110a6097781eec2ba10 100644
|
| --- a/chrome/browser/extensions/api/identity/identity_api.h
|
| +++ b/chrome/browser/extensions/api/identity/identity_api.h
|
| @@ -263,8 +263,12 @@ class IdentityGetAuthTokenFunction : public ChromeAsyncExtensionFunction,
|
|
|
| #if defined(OS_CHROMEOS)
|
| // Starts a login access token request for device robot account. This method
|
| - // will be called only in enterprise kiosk mode in ChromeOS.
|
| + // will be called only in Chrome OS for:
|
| + // 1. Enterprise kiosk mode.
|
| + // 2. Whitelisted first party apps in public session.
|
| virtual void StartDeviceLoginAccessTokenRequest();
|
| +
|
| + bool IsOriginWhitelistedInPublicSession();
|
| #endif
|
|
|
| // Methods for invoking UI. Overridable for testing.
|
|
|