Chromium Code Reviews| 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. |