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

Unified Diff: chrome/common/pref_names.cc

Issue 2552203007: Public Sessions - prompt the user for pageCapture requests (Closed)
Patch Set: Nits 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/extensions/api_test/page_capture/test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index d1e5cbcd317f23006e5da5a78555d76efb0c7bb6..6687fc28b88f01f8838b7489cc0a591686a749e7 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -1902,6 +1902,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";
gab 2017/01/09 20:06:43 I don't see existing public_session.* prefs. With
Ivan Šandrk 2017/01/09 20:25:54 I'll think of something else here. Can I just put
gab 2017/01/09 20:47:01 Top-level isn't done often either, maybe extension
Devlin 2017/01/09 21:22:41 You could store this in ExtensionPrefs, which is t
Ivan Šandrk 2017/01/11 17:41:50 Thanks for the suggestion devlin. I'll keep it thi
Ivan Šandrk 2017/01/11 17:41:51 I hope this one sounds ok.
gab 2017/01/11 19:13:33 If that's where all extensions.* prefs are then th
+
#endif // defined(OS_CHROMEOS)
// Whether there is a Flash version installed that supports clearing LSO data.
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/extensions/api_test/page_capture/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698