| 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 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 scoped_refptr<PlatformNotificationContextImpl> platform_notification_context = | 509 scoped_refptr<PlatformNotificationContextImpl> platform_notification_context = |
| 510 new PlatformNotificationContextImpl(path, context, | 510 new PlatformNotificationContextImpl(path, context, |
| 511 service_worker_context); | 511 service_worker_context); |
| 512 platform_notification_context->Initialize(); | 512 platform_notification_context->Initialize(); |
| 513 | 513 |
| 514 scoped_refptr<BackgroundSyncContext> background_sync_context = | 514 scoped_refptr<BackgroundSyncContext> background_sync_context = |
| 515 new BackgroundSyncContext(); | 515 new BackgroundSyncContext(); |
| 516 background_sync_context->Init(service_worker_context); | 516 background_sync_context->Init(service_worker_context); |
| 517 | 517 |
| 518 scoped_refptr<PaymentAppContextImpl> payment_app_context = | 518 scoped_refptr<PaymentAppContextImpl> payment_app_context = |
| 519 new PaymentAppContextImpl(service_worker_context); | 519 new PaymentAppContextImpl(); |
| 520 payment_app_context->Init(service_worker_context); |
| 520 | 521 |
| 521 scoped_refptr<BroadcastChannelProvider> | 522 scoped_refptr<BroadcastChannelProvider> |
| 522 broadcast_channel_provider = new BroadcastChannelProvider(); | 523 broadcast_channel_provider = new BroadcastChannelProvider(); |
| 523 | 524 |
| 524 std::unique_ptr<StoragePartitionImpl> storage_partition( | 525 std::unique_ptr<StoragePartitionImpl> storage_partition( |
| 525 new StoragePartitionImpl( | 526 new StoragePartitionImpl( |
| 526 context, partition_path, quota_manager.get(), appcache_service.get(), | 527 context, partition_path, quota_manager.get(), appcache_service.get(), |
| 527 filesystem_context.get(), database_tracker.get(), | 528 filesystem_context.get(), database_tracker.get(), |
| 528 dom_storage_context.get(), indexed_db_context.get(), | 529 dom_storage_context.get(), indexed_db_context.get(), |
| 529 cache_storage_context.get(), service_worker_context.get(), | 530 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) { | 929 net::URLRequestContextGetter* url_request_context) { |
| 929 url_request_context_ = url_request_context; | 930 url_request_context_ = url_request_context; |
| 930 } | 931 } |
| 931 | 932 |
| 932 void StoragePartitionImpl::SetMediaURLRequestContext( | 933 void StoragePartitionImpl::SetMediaURLRequestContext( |
| 933 net::URLRequestContextGetter* media_url_request_context) { | 934 net::URLRequestContextGetter* media_url_request_context) { |
| 934 media_url_request_context_ = media_url_request_context; | 935 media_url_request_context_ = media_url_request_context; |
| 935 } | 936 } |
| 936 | 937 |
| 937 } // namespace content | 938 } // namespace content |
| OLD | NEW |