OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/browser/storage_partition_impl.h" | 5 #include "content/browser/storage_partition_impl.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <vector> | 10 #include <vector> |
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 scoped_refptr<PlatformNotificationContextImpl> platform_notification_context = | 508 scoped_refptr<PlatformNotificationContextImpl> platform_notification_context = |
509 new PlatformNotificationContextImpl(path, context, | 509 new PlatformNotificationContextImpl(path, context, |
510 service_worker_context); | 510 service_worker_context); |
511 platform_notification_context->Initialize(); | 511 platform_notification_context->Initialize(); |
512 | 512 |
513 scoped_refptr<BackgroundSyncContext> background_sync_context = | 513 scoped_refptr<BackgroundSyncContext> background_sync_context = |
514 new BackgroundSyncContext(); | 514 new BackgroundSyncContext(); |
515 background_sync_context->Init(service_worker_context); | 515 background_sync_context->Init(service_worker_context); |
516 | 516 |
517 scoped_refptr<PaymentAppContext> payment_app_context = | 517 scoped_refptr<PaymentAppContext> payment_app_context = |
518 new PaymentAppContext(); | 518 new PaymentAppContext(service_worker_context); |
519 payment_app_context->Init(service_worker_context); | |
520 | 519 |
521 scoped_refptr<BroadcastChannelProvider> | 520 scoped_refptr<BroadcastChannelProvider> |
522 broadcast_channel_provider = new BroadcastChannelProvider(); | 521 broadcast_channel_provider = new BroadcastChannelProvider(); |
523 | 522 |
524 std::unique_ptr<StoragePartitionImpl> storage_partition( | 523 std::unique_ptr<StoragePartitionImpl> storage_partition( |
525 new StoragePartitionImpl( | 524 new StoragePartitionImpl( |
526 context, partition_path, quota_manager.get(), appcache_service.get(), | 525 context, partition_path, quota_manager.get(), appcache_service.get(), |
527 filesystem_context.get(), database_tracker.get(), | 526 filesystem_context.get(), database_tracker.get(), |
528 dom_storage_context.get(), indexed_db_context.get(), | 527 dom_storage_context.get(), indexed_db_context.get(), |
529 cache_storage_context.get(), service_worker_context.get(), | 528 cache_storage_context.get(), service_worker_context.get(), |
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
928 net::URLRequestContextGetter* url_request_context) { | 927 net::URLRequestContextGetter* url_request_context) { |
929 url_request_context_ = url_request_context; | 928 url_request_context_ = url_request_context; |
930 } | 929 } |
931 | 930 |
932 void StoragePartitionImpl::SetMediaURLRequestContext( | 931 void StoragePartitionImpl::SetMediaURLRequestContext( |
933 net::URLRequestContextGetter* media_url_request_context) { | 932 net::URLRequestContextGetter* media_url_request_context) { |
934 media_url_request_context_ = media_url_request_context; | 933 media_url_request_context_ = media_url_request_context; |
935 } | 934 } |
936 | 935 |
937 } // namespace content | 936 } // namespace content |
OLD | NEW |