Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Unified Diff: chrome/browser/extensions/api/identity/identity_api.h

Issue 1306053013: White-listing Chrome Remote Desktop to use the identity API in Public Session (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compiler error on Windows Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698