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

Unified Diff: content/browser/storage_partition_impl.h

Issue 1110103003: Initial implementation of stashed message ports, content side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nicer dchecks Created 5 years, 7 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
« no previous file with comments | « content/browser/service_worker/stashed_port_manager.cc ('k') | content/browser/storage_partition_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/storage_partition_impl.h
diff --git a/content/browser/storage_partition_impl.h b/content/browser/storage_partition_impl.h
index 0aeb104e0469528b30ba95a5f262f436031a93f7..2500045039f2bdb1d27f175870ff59e29af55638 100644
--- a/content/browser/storage_partition_impl.h
+++ b/content/browser/storage_partition_impl.h
@@ -18,6 +18,7 @@
#include "content/browser/navigator_connect/navigator_connect_context_impl.h"
#include "content/browser/notifications/platform_notification_context_impl.h"
#include "content/browser/service_worker/service_worker_context_wrapper.h"
+#include "content/browser/service_worker/stashed_port_manager.h"
#include "content/common/content_export.h"
#include "content/public/browser/storage_partition.h"
#include "storage/browser/quota/special_storage_policy.h"
@@ -57,6 +58,7 @@ class StoragePartitionImpl : public StoragePartition {
NavigatorConnectContextImpl* GetNavigatorConnectContext() override;
PlatformNotificationContextImpl* GetPlatformNotificationContext() override;
BackgroundSyncContextImpl* GetBackgroundSyncContext();
+ StashedPortManager* GetStashedPortManager();
void ClearDataForOrigin(uint32 remove_mask,
uint32 quota_storage_remove_mask,
@@ -142,7 +144,8 @@ class StoragePartitionImpl : public StoragePartition {
HostZoomLevelContext* host_zoom_level_context,
NavigatorConnectContextImpl* navigator_connect_context,
PlatformNotificationContextImpl* platform_notification_context,
- BackgroundSyncContextImpl* background_sync_context);
+ BackgroundSyncContextImpl* background_sync_context,
+ StashedPortManager* stashed_port_manager);
void ClearDataImpl(uint32 remove_mask,
uint32 quota_storage_remove_mask,
@@ -188,6 +191,7 @@ class StoragePartitionImpl : public StoragePartition {
scoped_refptr<NavigatorConnectContextImpl> navigator_connect_context_;
scoped_refptr<PlatformNotificationContextImpl> platform_notification_context_;
scoped_refptr<BackgroundSyncContextImpl> background_sync_context_;
+ scoped_refptr<StashedPortManager> stashed_port_manager_;
// Raw pointer that should always be valid. The BrowserContext owns the
// StoragePartitionImplMap which then owns StoragePartitionImpl. When the
« no previous file with comments | « content/browser/service_worker/stashed_port_manager.cc ('k') | content/browser/storage_partition_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698