| 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..c0ea401d253929593820a2333cb01d104556e709 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
|
| + // via Web Bluetooth. Parsed by BluetoothBlacklist::Add().
|
| + //
|
| + // 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.
|
|
|