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

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

Issue 2506093002: PaymentApp: Implement PaymentAppManager.getManifest(). (Closed)
Patch Set: PaymentApp: Implement PaymentAppManager.getManifest(). Created 4 years, 1 month 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_manager.h
diff --git a/content/browser/payments/payment_app_manager.h b/content/browser/payments/payment_app_manager.h
index 95168319f5d2227805110aa4da56e21c9f44bec4..86235bd1b20419e42031e2a4833f99181e5d0cb3 100644
--- a/content/browser/payments/payment_app_manager.h
+++ b/content/browser/payments/payment_app_manager.h
@@ -30,6 +30,7 @@ class CONTENT_EXPORT PaymentAppManager
private:
friend class PaymentAppManagerTest;
+
// payments::mojom::PaymentAppManager methods:
void SetManifest(const std::string& scope,
payments::mojom::PaymentAppManifestPtr manifest,
@@ -42,6 +43,16 @@ class CONTENT_EXPORT PaymentAppManager
void DidSetManifest(const SetManifestCallback& callback,
ServiceWorkerStatusCode status);
+ void GetManifest(const std::string& scope,
+ const GetManifestCallback& callback) override;
please use gerrit instead 2016/11/21 22:02:13 Please put only SetManifest() and GetManifest() in
zino 2016/11/21 23:48:40 Done.
+ void DidFindRegistrationToGetManifest(
+ const GetManifestCallback& callback,
+ ServiceWorkerStatusCode status,
+ scoped_refptr<ServiceWorkerRegistration> registration);
+ void DidGetManifest(const GetManifestCallback& callback,
+ const std::vector<std::string>& data,
+ ServiceWorkerStatusCode status);
+
// Called when an error is detected on binding_.
void OnConnectionError();

Powered by Google App Engine
This is Rietveld 408576698