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

Unified Diff: content/public/browser/content_browser_client.h

Issue 1858633003: bluetooth: Populate Web Bluetooth blacklist from variations:: parameter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: set adapter in tests: 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: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 721ec566bf0349839ed937f83946cbf04614fb4d..b475e8eee58e6c92809ffa4ffaef7f3d9c2447ec 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -415,6 +415,21 @@ class CONTENT_EXPORT ContentBrowserClient {
const url::Origin& requesting_origin,
const url::Origin& embedding_origin);
+ // Returns a blacklist of UUIDs that have restrictions when accessed
Jeffrey Yasskin 2016/04/05 17:58:55 Could you mention that these are parsed by Bluetoo
scheib 2016/04/05 18:43:37 Done.
+ // via Web Bluetooth.
+ //
+ // The blacklist string must be a comma-separated list of UUID:exclusion
+ // pairs. The pairs may be separated by whitespace. Pair components are
+ // colon-separated and must not have whitespace around the colon.
+ //
+ // UUIDs are a string that BluetoothUUID can parse (See BluetoothUUID
+ // constructor comment). Exclusion values are a single lower case character
+ // string "e", "r", or "w" for EXCLUDE, EXCLUDE_READS, or EXCLUDE_WRITES.
+ //
+ // Example:
+ // "1812:e, 00001800-0000-1000-8000-00805f9b34fb:w, ignored:1, alsoignored."
+ virtual std::string GetWebBluetoothBlacklist();
+
// Allow the embedder to override the request context based on the URL for
// certain operations, like cookie access. Returns nullptr to indicate the
// regular request context should be used.

Powered by Google App Engine
This is Rietveld 408576698