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

Unified Diff: components/webdata_services/web_data_service_wrapper.h

Issue 2838433002: [Payments] Cache payment manifests. (Closed)
Patch Set: rebase Created 3 years, 8 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: components/webdata_services/web_data_service_wrapper.h
diff --git a/components/webdata_services/web_data_service_wrapper.h b/components/webdata_services/web_data_service_wrapper.h
index 3ae4af85a36a4ef9713127189ba8c06b88974a37..c1096ad98410d5f066ab427e4f6e4391d49e592c 100644
--- a/components/webdata_services/web_data_service_wrapper.h
+++ b/components/webdata_services/web_data_service_wrapper.h
@@ -23,6 +23,12 @@ class WebDatabaseService;
class PasswordWebDataService;
#endif
+#if defined(OS_ANDROID)
+namespace payments {
+class PaymentManifestWebDataService;
+} // namespace payments
+#endif
+
namespace autofill {
class AutofillWebDataService;
} // namespace autofill
@@ -42,6 +48,7 @@ class WebDataServiceWrapper : public KeyedService {
ERROR_LOADING_KEYWORD,
ERROR_LOADING_TOKEN,
ERROR_LOADING_PASSWORD,
+ ERROR_LOADING_PAYMENT_MANIFEST,
};
// Shows an error message if a loading error occurs.
@@ -79,6 +86,10 @@ class WebDataServiceWrapper : public KeyedService {
#if defined(OS_WIN)
virtual scoped_refptr<PasswordWebDataService> GetPasswordWebData();
#endif
+#if defined(OS_ANDROID)
+ virtual scoped_refptr<payments::PaymentManifestWebDataService>
+ GetPaymentManifestWebData();
+#endif
protected:
// For testing.
@@ -95,6 +106,11 @@ class WebDataServiceWrapper : public KeyedService {
scoped_refptr<PasswordWebDataService> password_web_data_;
#endif
+#if defined(OS_ANDROID)
+ scoped_refptr<payments::PaymentManifestWebDataService>
+ payment_manifest_web_data_;
+#endif
+
DISALLOW_COPY_AND_ASSIGN(WebDataServiceWrapper);
};
« no previous file with comments | « components/webdata/common/web_data_results.h ('k') | components/webdata_services/web_data_service_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698