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

Unified Diff: components/content_settings/core/browser/content_settings_registry.cc

Issue 1382783002: Store USB device permissions in website settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Convert WebUSBPermissionStore to a PermissionContext. Created 5 years, 2 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: components/content_settings/core/browser/content_settings_registry.cc
diff --git a/components/content_settings/core/browser/content_settings_registry.cc b/components/content_settings/core/browser/content_settings_registry.cc
index cfc4f65a4f9888b73769dc935c75397a256e4354..91af3a0bff7daa4e279d0fd362e1ca43afe6aa11 100644
--- a/components/content_settings/core/browser/content_settings_registry.cc
+++ b/components/content_settings/core/browser/content_settings_registry.cc
@@ -156,6 +156,9 @@ void ContentSettingsRegistry::Init() {
Register(CONTENT_SETTINGS_TYPE_DURABLE_STORAGE, "durable-storage",
CONTENT_SETTING_ASK, WebsiteSettingsInfo::UNSYNCABLE,
NoWhitelistedSchemes());
+ // Register(CONTENT_SETTINGS_TYPE_USB, "usb",
raymes 2015/10/06 05:28:20 I'd suggest naming this one "USB" and the website
Reilly Grant (use Gerrit) 2015/10/06 20:45:30 Okay. I think this will also resolve mlamouri@'s c
+ // CONTENT_SETTING_ALLOW, WebsiteSettingsInfo::UNSYNCABLE,
+ // NoWhitelistedSchemes());
// Content settings that aren't used to store any data. TODO(raymes): use a
// different mechanism rather than content settings to represent these.

Powered by Google App Engine
This is Rietveld 408576698