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

Unified Diff: content/shell/browser/layout_test/layout_test_message_filter.cc

Issue 1706503002: Add enterprise policy to turn off Bluetooth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Sync Created 4 years, 10 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: content/shell/browser/layout_test/layout_test_message_filter.cc
diff --git a/content/shell/browser/layout_test/layout_test_message_filter.cc b/content/shell/browser/layout_test/layout_test_message_filter.cc
index 444a3388a74f5499d1755cb6a6961029a5c1c3ae..20692d8dfa4b8674e28655efc0aa482efba598ac 100644
--- a/content/shell/browser/layout_test/layout_test_message_filter.cc
+++ b/content/shell/browser/layout_test/layout_test_message_filter.cc
@@ -160,6 +160,8 @@ void LayoutTestMessageFilter::OnSetPermission(const std::string& name,
type = PermissionType::GEOLOCATION;
} else if (name == "protected-media-identifier") {
type = PermissionType::PROTECTED_MEDIA_IDENTIFIER;
+ } else if (name == "bluetooth-guard") {
+ type = PermissionType::BLUETOOTH_GUARD;
} else {
NOTREACHED();
type = PermissionType::NOTIFICATIONS;

Powered by Google App Engine
This is Rietveld 408576698