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

Unified Diff: content/browser/storage_partition_impl.cc

Issue 1224263007: Refactor browser side navigator.connect code to not use MessagePortService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@serviceport-serviceside
Patch Set: fix merge conflict Created 5 years, 4 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/navigator_connect/service_port_service_impl.cc ('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 93cc4d15290fb9cee1ada0ba51ea9ef6f3582f70..41ea89e0e514b885b5adcd6574303a3d732a9b65 100644
--- a/content/browser/storage_partition_impl.cc
+++ b/content/browser/storage_partition_impl.cc
@@ -17,7 +17,6 @@
#include "content/browser/gpu/shader_disk_cache.h"
#include "content/browser/host_zoom_map_impl.h"
#include "content/browser/navigator_connect/navigator_connect_context_impl.h"
-#include "content/browser/navigator_connect/navigator_connect_service_worker_service_factory.h"
#include "content/browser/notifications/platform_notification_context_impl.h"
#include "content/common/dom_storage/dom_storage_types.h"
#include "content/public/browser/browser_context.h"
@@ -520,9 +519,7 @@ StoragePartitionImpl* StoragePartitionImpl::Create(
context->CreateZoomLevelDelegate(partition_path)));
scoped_refptr<NavigatorConnectContextImpl> navigator_connect_context =
- new NavigatorConnectContextImpl();
- navigator_connect_context->AddFactory(make_scoped_ptr(
- new NavigatorConnectServiceWorkerServiceFactory(service_worker_context)));
+ new NavigatorConnectContextImpl(service_worker_context);
scoped_refptr<PlatformNotificationContextImpl> platform_notification_context =
new PlatformNotificationContextImpl(path, context,
« no previous file with comments | « content/browser/navigator_connect/service_port_service_impl.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698