Index: content/browser/storage_partition_impl.h |
diff --git a/content/browser/storage_partition_impl.h b/content/browser/storage_partition_impl.h |
index 99f9a34a386205d7057a32faa34238907964c769..7e53766e4208fc2cd4981be69ac3d6b88c32b6c4 100644 |
--- a/content/browser/storage_partition_impl.h |
+++ b/content/browser/storage_partition_impl.h |
@@ -12,6 +12,7 @@ |
#include "base/gtest_prod_util.h" |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
+#include "components/webmessaging/broadcast_channel_provider.h" |
#include "content/browser/appcache/chrome_appcache_service.h" |
#include "content/browser/background_sync/background_sync_context.h" |
#include "content/browser/cache_storage/cache_storage_context_impl.h" |
@@ -69,6 +70,7 @@ class CONTENT_EXPORT StoragePartitionImpl |
PlatformNotificationContextImpl* GetPlatformNotificationContext() override; |
BackgroundSyncContext* GetBackgroundSyncContext(); |
+ webmessaging::BroadcastChannelProvider* GetBroadcastChannelProvider(); |
// mojom::StoragePartitionService interface. |
void OpenLocalStorage( |
@@ -173,7 +175,9 @@ class CONTENT_EXPORT StoragePartitionImpl |
storage::SpecialStoragePolicy* special_storage_policy, |
HostZoomLevelContext* host_zoom_level_context, |
PlatformNotificationContextImpl* platform_notification_context, |
- BackgroundSyncContext* background_sync_context); |
+ BackgroundSyncContext* background_sync_context, |
+ scoped_refptr<webmessaging::BroadcastChannelProvider> |
+ broadcast_channel_provider); |
// We will never have both remove_origin be populated and a cookie_matcher. |
void ClearDataImpl(uint32_t remove_mask, |
@@ -219,6 +223,8 @@ class CONTENT_EXPORT StoragePartitionImpl |
scoped_refptr<HostZoomLevelContext> host_zoom_level_context_; |
scoped_refptr<PlatformNotificationContextImpl> platform_notification_context_; |
scoped_refptr<BackgroundSyncContext> background_sync_context_; |
+ scoped_refptr<webmessaging::BroadcastChannelProvider> |
+ broadcast_channel_provider_; |
mojo::BindingSet<mojom::StoragePartitionService> bindings_; |