OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
395 // colon-separated and must not have whitespace around the colon. | 395 // colon-separated and must not have whitespace around the colon. |
396 // | 396 // |
397 // UUIDs are a string that BluetoothUUID can parse (See BluetoothUUID | 397 // UUIDs are a string that BluetoothUUID can parse (See BluetoothUUID |
398 // constructor comment). Exclusion values are a single lower case character | 398 // constructor comment). Exclusion values are a single lower case character |
399 // string "e", "r", or "w" for EXCLUDE, EXCLUDE_READS, or EXCLUDE_WRITES. | 399 // string "e", "r", or "w" for EXCLUDE, EXCLUDE_READS, or EXCLUDE_WRITES. |
400 // | 400 // |
401 // Example: | 401 // Example: |
402 // "1812:e, 00001800-0000-1000-8000-00805f9b34fb:w, ignored:1, alsoignored." | 402 // "1812:e, 00001800-0000-1000-8000-00805f9b34fb:w, ignored:1, alsoignored." |
403 virtual std::string GetWebBluetoothBlacklist(); | 403 virtual std::string GetWebBluetoothBlacklist(); |
404 | 404 |
405 // Allows the embedder to return the period of time a Bluetooth Discovery | |
406 // Session should be active for. | |
scheib
2016/06/22 03:44:22
should be active. [delete 'for']
ortuno
2016/06/23 21:54:59
Done.
| |
407 virtual base::TimeDelta GetBluetoothScanDuration(); | |
408 | |
405 // Allow the embedder to override the request context based on the URL for | 409 // Allow the embedder to override the request context based on the URL for |
406 // certain operations, like cookie access. Returns nullptr to indicate the | 410 // certain operations, like cookie access. Returns nullptr to indicate the |
407 // regular request context should be used. | 411 // regular request context should be used. |
408 // This is called on the IO thread. | 412 // This is called on the IO thread. |
409 virtual net::URLRequestContext* OverrideRequestContextForURL( | 413 virtual net::URLRequestContext* OverrideRequestContextForURL( |
410 const GURL& url, ResourceContext* context); | 414 const GURL& url, ResourceContext* context); |
411 | 415 |
412 // Allow the embedder to specify a string version of the storage partition | 416 // Allow the embedder to specify a string version of the storage partition |
413 // config with a site. | 417 // config with a site. |
414 virtual std::string GetStoragePartitionIdForSite( | 418 virtual std::string GetStoragePartitionIdForSite( |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
772 // Allows an embedder to provide its own ExternalVideoSurfaceContainer | 776 // Allows an embedder to provide its own ExternalVideoSurfaceContainer |
773 // implementation. Return nullptr to disable external surface video. | 777 // implementation. Return nullptr to disable external surface video. |
774 virtual ExternalVideoSurfaceContainer* | 778 virtual ExternalVideoSurfaceContainer* |
775 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); | 779 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); |
776 #endif | 780 #endif |
777 }; | 781 }; |
778 | 782 |
779 } // namespace content | 783 } // namespace content |
780 | 784 |
781 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 785 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |