| Index: content/browser/storage_partition_impl.cc
|
| diff --git a/content/browser/storage_partition_impl.cc b/content/browser/storage_partition_impl.cc
|
| index 639ab4b30b14c0c59791d4b3be01c649d4f8eb7d..95b3a95d9f6cf80d21592ddb2a0dd4ac238fd910 100644
|
| --- a/content/browser/storage_partition_impl.cc
|
| +++ b/content/browser/storage_partition_impl.cc
|
| @@ -497,6 +497,8 @@ std::unique_ptr<StoragePartitionImpl> StoragePartitionImpl::Create(
|
|
|
| partition->broadcast_channel_provider_ = new BroadcastChannelProvider();
|
|
|
| + partition->bluetooth_allowed_devices_map_ = new BluetoothAllowedDevicesMap();
|
| +
|
| return partition;
|
| }
|
|
|
| @@ -576,6 +578,11 @@ BroadcastChannelProvider* StoragePartitionImpl::GetBroadcastChannelProvider() {
|
| return broadcast_channel_provider_.get();
|
| }
|
|
|
| +BluetoothAllowedDevicesMap*
|
| +StoragePartitionImpl::GetBluetoothAllowedDevicesMap() {
|
| + return bluetooth_allowed_devices_map_.get();
|
| +}
|
| +
|
| void StoragePartitionImpl::OpenLocalStorage(
|
| const url::Origin& origin,
|
| mojo::InterfaceRequest<mojom::LevelDBWrapper> request) {
|
| @@ -866,6 +873,10 @@ void StoragePartitionImpl::Flush() {
|
| GetDOMStorageContext()->Flush();
|
| }
|
|
|
| +void StoragePartitionImpl::ClearBluetoothAllowedDevicesMapForTesting() {
|
| + bluetooth_allowed_devices_map_->Clear();
|
| +}
|
| +
|
| BrowserContext* StoragePartitionImpl::browser_context() const {
|
| return browser_context_;
|
| }
|
|
|