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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
481 context->CreateZoomLevelDelegate(partition_path)); | 481 context->CreateZoomLevelDelegate(partition_path)); |
482 | 482 |
483 partition->platform_notification_context_ = | 483 partition->platform_notification_context_ = |
484 new PlatformNotificationContextImpl(path, context, | 484 new PlatformNotificationContextImpl(path, context, |
485 partition->service_worker_context_); | 485 partition->service_worker_context_); |
486 partition->platform_notification_context_->Initialize(); | 486 partition->platform_notification_context_->Initialize(); |
487 | 487 |
488 partition->background_sync_context_ = new BackgroundSyncContext(); | 488 partition->background_sync_context_ = new BackgroundSyncContext(); |
489 partition->background_sync_context_->Init(partition->service_worker_context_); | 489 partition->background_sync_context_->Init(partition->service_worker_context_); |
490 | 490 |
491 partition->payment_app_context_ = new PaymentAppContextImpl( | 491 partition->payment_app_context_ = new PaymentAppContextImpl(); |
492 partition->service_worker_context_); | 492 partition->payment_app_context_->Init(partition->service_worker_context_); |
493 | 493 |
494 partition->broadcast_channel_provider_ = new BroadcastChannelProvider(); | 494 partition->broadcast_channel_provider_ = new BroadcastChannelProvider(); |
495 | 495 |
496 return partition; | 496 return partition; |
497 } | 497 } |
498 | 498 |
499 base::FilePath StoragePartitionImpl::GetPath() { | 499 base::FilePath StoragePartitionImpl::GetPath() { |
500 return partition_path_; | 500 return partition_path_; |
501 } | 501 } |
502 | 502 |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
893 media_url_request_context_ = media_url_request_context; | 893 media_url_request_context_ = media_url_request_context; |
894 } | 894 } |
895 | 895 |
896 void StoragePartitionImpl::GetQuotaSettings( | 896 void StoragePartitionImpl::GetQuotaSettings( |
897 const storage::OptionalQuotaSettingsCallback& callback) { | 897 const storage::OptionalQuotaSettingsCallback& callback) { |
898 GetContentClient()->browser()->GetQuotaSettings(browser_context_, this, | 898 GetContentClient()->browser()->GetQuotaSettings(browser_context_, this, |
899 callback); | 899 callback); |
900 } | 900 } |
901 | 901 |
902 } // namespace content | 902 } // namespace content |
OLD | NEW |