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

Unified Diff: chrome/common/pref_names.cc

Issue 2552203007: Public Sessions - prompt the user for pageCapture requests (Closed)
Patch Set: Devlin's comments Created 3 years, 11 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/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index e7c71f438e4fd227de75ebd2aa16220719594247..7cb35b6d39216a58f17f179d5c8448fab5fed916 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -1884,6 +1884,13 @@ const char kNetworkThrottlingEnabled[] = "net.throttling_enabled";
// Boolean prefs for the local status of the touchscreen.
const char kTouchscreenEnabledLocal[] = "events.touch_screen.enabled_local";
+// Dictionary saving user choices regarding granted permissions to
+// extensions/apps for usage of APIs. In Public Sessions API usage is restricted
+// to protect the user from a malicious device owner/admin. This dictionary will
+// not be persisted across sessions.
+const char kPublicSessionPermissionsUserChoiceCache[] =
+ "public_session.permissions.user_choice_cache";
+
#endif // defined(OS_CHROMEOS)
// Whether there is a Flash version installed that supports clearing LSO data.

Powered by Google App Engine
This is Rietveld 408576698