Index: content/browser/payments/payment_app_manager.h |
diff --git a/content/browser/payments/payment_app_manager.h b/content/browser/payments/payment_app_manager.h |
index 7316c217e4774337eb23acabff79a8ce97dd1389..95168319f5d2227805110aa4da56e21c9f44bec4 100644 |
--- a/content/browser/payments/payment_app_manager.h |
+++ b/content/browser/payments/payment_app_manager.h |
@@ -11,11 +11,13 @@ |
#include "base/memory/weak_ptr.h" |
#include "components/payments/payment_app.mojom.h" |
#include "content/common/content_export.h" |
+#include "content/common/service_worker/service_worker_status_code.h" |
#include "mojo/public/cpp/bindings/binding.h" |
namespace content { |
class PaymentAppContext; |
+class ServiceWorkerRegistration; |
class CONTENT_EXPORT PaymentAppManager |
: public NON_EXPORTED_BASE(payments::mojom::PaymentAppManager) { |
@@ -27,10 +29,18 @@ class CONTENT_EXPORT PaymentAppManager |
~PaymentAppManager() override; |
private: |
+ friend class PaymentAppManagerTest; |
// payments::mojom::PaymentAppManager methods: |
void SetManifest(const std::string& scope, |
payments::mojom::PaymentAppManifestPtr manifest, |
const SetManifestCallback& callback) override; |
+ void DidFindRegistrationToSetManifest( |
+ payments::mojom::PaymentAppManifestPtr manifest, |
+ const SetManifestCallback& callback, |
+ ServiceWorkerStatusCode status, |
+ scoped_refptr<ServiceWorkerRegistration> registration); |
+ void DidSetManifest(const SetManifestCallback& callback, |
+ ServiceWorkerStatusCode status); |
// Called when an error is detected on binding_. |
void OnConnectionError(); |