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

Unified Diff: content/browser/storage_partition_impl.cc

Issue 2158913006: Move BroadcastChannel browser code from components/ to content/browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/storage_partition_impl.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/storage_partition_impl.cc
diff --git a/content/browser/storage_partition_impl.cc b/content/browser/storage_partition_impl.cc
index 3bc3b52e6b38d674a14edfcb1df04908aebbd1ac..5088f2bb4d392a859dcc0383ecba14730505ec63 100644
--- a/content/browser/storage_partition_impl.cc
+++ b/content/browser/storage_partition_impl.cc
@@ -374,8 +374,7 @@ StoragePartitionImpl::StoragePartitionImpl(
HostZoomLevelContext* host_zoom_level_context,
PlatformNotificationContextImpl* platform_notification_context,
BackgroundSyncContext* background_sync_context,
- scoped_refptr<webmessaging::BroadcastChannelProvider>
- broadcast_channel_provider)
+ scoped_refptr<BroadcastChannelProvider> broadcast_channel_provider)
: partition_path_(partition_path),
quota_manager_(quota_manager),
appcache_service_(appcache_service),
@@ -510,8 +509,8 @@ StoragePartitionImpl* StoragePartitionImpl::Create(
new BackgroundSyncContext();
background_sync_context->Init(service_worker_context);
- scoped_refptr<webmessaging::BroadcastChannelProvider>
- broadcast_channel_provider = new webmessaging::BroadcastChannelProvider();
+ scoped_refptr<BroadcastChannelProvider>
+ broadcast_channel_provider = new BroadcastChannelProvider();
StoragePartitionImpl* storage_partition = new StoragePartitionImpl(
context, partition_path, quota_manager.get(), appcache_service.get(),
@@ -595,8 +594,7 @@ BackgroundSyncContext* StoragePartitionImpl::GetBackgroundSyncContext() {
return background_sync_context_.get();
}
-webmessaging::BroadcastChannelProvider*
-StoragePartitionImpl::GetBroadcastChannelProvider() {
+BroadcastChannelProvider* StoragePartitionImpl::GetBroadcastChannelProvider() {
return broadcast_channel_provider_.get();
}
« no previous file with comments | « content/browser/storage_partition_impl.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698