Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: content/browser/storage_partition_impl.h

Issue 2004643002: Implement BroadcastChannel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address dcheng's comments Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/browser/storage_partition_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698