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

Side by Side Diff: components/content_settings/core/browser/website_settings_registry.cc

Issue 1560263002: Store Bluetooth permissions in website settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address reillyg@'s comments Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/content_settings/core/browser/website_settings_registry.h" 5 #include "components/content_settings/core/browser/website_settings_registry.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "components/content_settings/core/common/content_settings.h" 10 #include "components/content_settings/core/common/content_settings.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 WebsiteSettingsInfo::REQUESTING_ORIGIN_ONLY_SCOPE); 92 WebsiteSettingsInfo::REQUESTING_ORIGIN_ONLY_SCOPE);
93 Register(CONTENT_SETTINGS_TYPE_APP_BANNER, "app-banner", nullptr, 93 Register(CONTENT_SETTINGS_TYPE_APP_BANNER, "app-banner", nullptr,
94 WebsiteSettingsInfo::UNSYNCABLE, WebsiteSettingsInfo::LOSSY, 94 WebsiteSettingsInfo::UNSYNCABLE, WebsiteSettingsInfo::LOSSY,
95 WebsiteSettingsInfo::REQUESTING_DOMAIN_ONLY_SCOPE); 95 WebsiteSettingsInfo::REQUESTING_DOMAIN_ONLY_SCOPE);
96 Register(CONTENT_SETTINGS_TYPE_SITE_ENGAGEMENT, "site-engagement", nullptr, 96 Register(CONTENT_SETTINGS_TYPE_SITE_ENGAGEMENT, "site-engagement", nullptr,
97 WebsiteSettingsInfo::UNSYNCABLE, WebsiteSettingsInfo::LOSSY, 97 WebsiteSettingsInfo::UNSYNCABLE, WebsiteSettingsInfo::LOSSY,
98 WebsiteSettingsInfo::REQUESTING_ORIGIN_ONLY_SCOPE); 98 WebsiteSettingsInfo::REQUESTING_ORIGIN_ONLY_SCOPE);
99 Register(CONTENT_SETTINGS_TYPE_USB_CHOOSER_DATA, "usb-chooser-data", nullptr, 99 Register(CONTENT_SETTINGS_TYPE_USB_CHOOSER_DATA, "usb-chooser-data", nullptr,
100 WebsiteSettingsInfo::UNSYNCABLE, WebsiteSettingsInfo::NOT_LOSSY, 100 WebsiteSettingsInfo::UNSYNCABLE, WebsiteSettingsInfo::NOT_LOSSY,
101 WebsiteSettingsInfo::REQUESTING_ORIGIN_AND_TOP_LEVEL_ORIGIN_SCOPE); 101 WebsiteSettingsInfo::REQUESTING_ORIGIN_AND_TOP_LEVEL_ORIGIN_SCOPE);
102 Register(CONTENT_SETTINGS_TYPE_BLUETOOTH_CHOOSER_DATA,
103 "bluetooth-chooser-data", nullptr, WebsiteSettingsInfo::UNSYNCABLE,
104 WebsiteSettingsInfo::NOT_LOSSY,
105 WebsiteSettingsInfo::REQUESTING_ORIGIN_AND_TOP_LEVEL_ORIGIN_SCOPE);
102 } 106 }
103 107
104 } // namespace content_settings 108 } // namespace content_settings
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698