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

Unified Diff: content/browser/storage_partition_impl.cc

Issue 2560293002: PaymentApp: Introduce PaymentAppDatabase class. (Closed)
Patch Set: PaymentApp: Introduce PaymentAppDatabase class. Created 4 years 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/storage_partition_impl.h ('k') | content/public/browser/payment_app_context.h » ('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 0640453289ffc9f89ed3a80bb8b3ac70f98aab16..9e17b4e2b50c8e8ecaaf18499582867012461435 100644
--- a/content/browser/storage_partition_impl.cc
+++ b/content/browser/storage_partition_impl.cc
@@ -375,7 +375,7 @@ StoragePartitionImpl::StoragePartitionImpl(
HostZoomLevelContext* host_zoom_level_context,
PlatformNotificationContextImpl* platform_notification_context,
BackgroundSyncContext* background_sync_context,
- PaymentAppContext* payment_app_context,
+ PaymentAppContextImpl* payment_app_context,
scoped_refptr<BroadcastChannelProvider> broadcast_channel_provider)
: partition_path_(partition_path),
quota_manager_(quota_manager),
@@ -515,8 +515,9 @@ std::unique_ptr<StoragePartitionImpl> StoragePartitionImpl::Create(
new BackgroundSyncContext();
background_sync_context->Init(service_worker_context);
- scoped_refptr<PaymentAppContext> payment_app_context =
- new PaymentAppContext(service_worker_context);
+ scoped_refptr<PaymentAppContextImpl> payment_app_context =
+ new PaymentAppContextImpl();
+ payment_app_context->Init(service_worker_context);
scoped_refptr<BroadcastChannelProvider>
broadcast_channel_provider = new BroadcastChannelProvider();
@@ -605,7 +606,7 @@ BackgroundSyncContext* StoragePartitionImpl::GetBackgroundSyncContext() {
return background_sync_context_.get();
}
-PaymentAppContext* StoragePartitionImpl::GetPaymentAppContext() {
+PaymentAppContextImpl* StoragePartitionImpl::GetPaymentAppContext() {
return payment_app_context_.get();
}
« no previous file with comments | « content/browser/storage_partition_impl.h ('k') | content/public/browser/payment_app_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698