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

Side by Side Diff: content/browser/payments/payment_app_provider_impl.cc

Issue 2615063002: PaymentApp: Add interfaces for implementing InvokePaymentApp(). (Closed)
Patch Set: PaymentApp: Add interfaces for implementing InvokePaymentApp(). Created 3 years, 11 months 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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/payments/payment_app_provider_impl.h" 5 #include "content/browser/payments/payment_app_provider_impl.h"
6 6
7 #include "content/browser/payments/payment_app_context_impl.h" 7 #include "content/browser/payments/payment_app_context_impl.h"
8 #include "content/browser/storage_partition_impl.h" 8 #include "content/browser/storage_partition_impl.h"
9 #include "content/public/browser/browser_context.h" 9 #include "content/public/browser/browser_context.h"
10 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 StoragePartitionImpl* partition = static_cast<StoragePartitionImpl*>( 50 StoragePartitionImpl* partition = static_cast<StoragePartitionImpl*>(
51 BrowserContext::GetDefaultStoragePartition(browser_context)); 51 BrowserContext::GetDefaultStoragePartition(browser_context));
52 scoped_refptr<PaymentAppContextImpl> payment_app_context = 52 scoped_refptr<PaymentAppContextImpl> payment_app_context =
53 partition->GetPaymentAppContext(); 53 partition->GetPaymentAppContext();
54 54
55 BrowserThread::PostTask( 55 BrowserThread::PostTask(
56 BrowserThread::IO, FROM_HERE, 56 BrowserThread::IO, FROM_HERE,
57 base::Bind(&GetAllManifestsOnIO, payment_app_context, callback)); 57 base::Bind(&GetAllManifestsOnIO, payment_app_context, callback));
58 } 58 }
59 59
60 void PaymentAppProviderImpl::InvokePaymentApp(
61 BrowserContext* browser_context,
62 int64_t registration_id,
63 payments::mojom::PaymentAppRequestDataPtr data) {
64 NOTIMPLEMENTED();
65 }
66
60 PaymentAppProviderImpl::PaymentAppProviderImpl() {} 67 PaymentAppProviderImpl::PaymentAppProviderImpl() {}
61 68
62 PaymentAppProviderImpl::~PaymentAppProviderImpl() {} 69 PaymentAppProviderImpl::~PaymentAppProviderImpl() {}
63 70
64 } // namespace content 71 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/payments/payment_app_provider_impl.h ('k') | content/browser/service_worker/embedded_worker_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698