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

Unified Diff: content/public/browser/payment_app_context.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
« no previous file with comments | « content/public/browser/BUILD.gn ('k') | content/public/browser/payment_app_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/payment_app_context.h
diff --git a/content/public/browser/payment_app_context.h b/content/public/browser/payment_app_context.h
deleted file mode 100644
index 3440131897afb36c6cec9451f54fce43756d53c4..0000000000000000000000000000000000000000
--- a/content/public/browser/payment_app_context.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_PUBLIC_BROWSER_PAYMENT_APP_CONTEXT_H_
-#define CONTENT_PUBLIC_BROWSER_PAYMENT_APP_CONTEXT_H_
-
-#include <utility>
-#include <vector>
-
-#include "base/callback_forward.h"
-
-namespace content {
-
-class PaymentAppContext {
- public:
- virtual ~PaymentAppContext() {}
-
- // The ManifestWithID is a pair of the service worker registration id and
- // the payment app manifest data associated with it.
- using ManifestWithID =
- std::pair<int64_t, payments::mojom::PaymentAppManifestPtr>;
- using Manifests = std::vector<ManifestWithID>;
- using GetAllManifestsCallback = base::Callback<void(Manifests)>;
-
- virtual void GetAllManifests(const GetAllManifestsCallback& callback) = 0;
-};
-
-} // namespace content
-
-#endif // CONTENT_PUBLIC_BROWSER_PAYMENT_APP_CONTEXT_H_
« no previous file with comments | « content/public/browser/BUILD.gn ('k') | content/public/browser/payment_app_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698