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

Unified Diff: content/browser/payments/payment_app_context_impl.h

Issue 2609103002: PaymentApp: Add PaymentAppProvider class. (Closed)
Patch Set: Remove override keyword 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/payments/payment_app_context_impl.h
diff --git a/content/browser/payments/payment_app_context_impl.h b/content/browser/payments/payment_app_context_impl.h
index 8785bbcc8bd9945f3cba74bb5bb05876e2cefde6..4b9ba420ffd143582c10178fdc355df978349db1 100644
--- a/content/browser/payments/payment_app_context_impl.h
+++ b/content/browser/payments/payment_app_context_impl.h
@@ -13,7 +13,6 @@
#include "components/payments/payment_app.mojom.h"
#include "content/browser/payments/payment_app_database.h"
#include "content/common/content_export.h"
-#include "content/public/browser/payment_app_context.h"
namespace content {
@@ -42,8 +41,7 @@ class ServiceWorkerContextWrapper;
// 4) Shutdown()
// 5) Destructor
class CONTENT_EXPORT PaymentAppContextImpl
- : public base::RefCountedThreadSafe<PaymentAppContextImpl>,
- NON_EXPORTED_BASE(public PaymentAppContext) {
+ : public base::RefCountedThreadSafe<PaymentAppContextImpl> {
public:
PaymentAppContextImpl();
@@ -66,14 +64,10 @@ class CONTENT_EXPORT PaymentAppContextImpl
// Should be accessed only on the IO thread.
PaymentAppDatabase* payment_app_database() const;
- // PaymentAppContext implementation:
- // Should be accessed only on the UI thread.
- void GetAllManifests(const GetAllManifestsCallback& callback) override;
-
private:
friend class PaymentAppContentUnitTestBase;
friend class base::RefCountedThreadSafe<PaymentAppContextImpl>;
- ~PaymentAppContextImpl() override;
+ ~PaymentAppContextImpl();
void CreatePaymentAppDatabaseOnIO(
scoped_refptr<ServiceWorkerContextWrapper> service_worker_context);
@@ -84,10 +78,6 @@ class CONTENT_EXPORT PaymentAppContextImpl
void ShutdownOnIO();
void DidShutdown();
- void GetAllManifestsOnIO(const GetAllManifestsCallback& callback);
- void DidGetAllManifestsOnIO(const GetAllManifestsCallback& callback,
- PaymentAppDatabase::Manifests manifests);
-
// Only accessed on the IO thread.
std::unique_ptr<PaymentAppDatabase> payment_app_database_;
« no previous file with comments | « content/browser/payments/payment_app_content_unittest_base.cc ('k') | content/browser/payments/payment_app_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698