| 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 1155adcd625bb3db49aa68963677884ec5073402..067dac309c783c35e9f1bb2ef0b10e7f8c7654fa 100644
|
| --- a/chrome/browser/extensions/api/identity/identity_api.h
|
| +++ b/chrome/browser/extensions/api/identity/identity_api.h
|
| @@ -264,8 +264,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.
|
|
|