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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 1858633003: bluetooth: Populate Web Bluetooth blacklist from variations:: parameter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment fixes Created 4 years, 8 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/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 31c8f70af1f6a8d203d2ef405b1615fb23ff6ace..eefdbe0dec7c6fad695f9f757593ec867e8fc994 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -2020,6 +2020,11 @@ ChromeContentBrowserClient::AllowWebBluetooth(
return AllowWebBluetoothResult::ALLOW;
}
+std::string ChromeContentBrowserClient::GetWebBluetoothBlacklist() {
+ return variations::GetVariationParamValue("WebBluetoothBlacklist",
+ "blacklist_additions");
+}
+
net::URLRequestContext*
ChromeContentBrowserClient::OverrideRequestContextForURL(
const GURL& url, content::ResourceContext* context) {

Powered by Google App Engine
This is Rietveld 408576698