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

Side by Side Diff: content/browser/storage_partition_impl.cc

Issue 2572183002: PaymentApp: Introduce PaymentAppDatabase class. (Closed)
Patch Set: rebase 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 unified diff | Download patch
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698