| Index: content/browser/storage_partition_impl.cc
|
| diff --git a/content/browser/storage_partition_impl.cc b/content/browser/storage_partition_impl.cc
|
| index e6a556197310c47e1785b2bb5ae6e0955367495e..9216fb9dabcb8565a6cf193bb25797fecf863490 100644
|
| --- a/content/browser/storage_partition_impl.cc
|
| +++ b/content/browser/storage_partition_impl.cc
|
| @@ -11,7 +11,8 @@
|
| #include "content/browser/geofencing/geofencing_manager.h"
|
| #include "content/browser/gpu/shader_disk_cache.h"
|
| #include "content/browser/host_zoom_map_impl.h"
|
| -#include "content/browser/navigator_connect/navigator_connect_context.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/common/dom_storage/dom_storage_types.h"
|
| #include "content/public/browser/browser_context.h"
|
| #include "content/public/browser/browser_thread.h"
|
| @@ -491,7 +492,9 @@ StoragePartitionImpl* StoragePartitionImpl::Create(
|
| context->CreateZoomLevelDelegate(partition_path)));
|
|
|
| scoped_refptr<NavigatorConnectContext> navigator_connect_context =
|
| - new NavigatorConnectContext(service_worker_context);
|
| + new NavigatorConnectContextImpl();
|
| + navigator_connect_context->AddFactory(make_scoped_ptr(
|
| + new NavigatorConnectServiceWorkerServiceFactory(service_worker_context)));
|
|
|
| StoragePartitionImpl* storage_partition = new StoragePartitionImpl(
|
| context, partition_path, quota_manager.get(), appcache_service.get(),
|
|
|