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

Unified Diff: components/payments/core/features.h

Issue 2967273002: [Payments] Add an entry for Payment Request to chrome://flags on iOS (Closed)
Patch Set: deps fix Created 3 years, 5 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 | « components/payments/core/BUILD.gn ('k') | components/payments/core/features.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/payments/core/features.h
diff --git a/components/payments/core/features.h b/components/payments/core/features.h
new file mode 100644
index 0000000000000000000000000000000000000000..ba5d7021ad26935eb79ece7e6e88fe9bf7fdf1ef
--- /dev/null
+++ b/components/payments/core/features.h
@@ -0,0 +1,22 @@
+// Copyright 2017 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 COMPONENTS_PAYMENTS_CORE_FEATURES_H_
+#define COMPONENTS_PAYMENTS_CORE_FEATURES_H_
+
+#include "base/feature_list.h"
+#include "build/build_config.h"
+
+namespace payments {
+namespace features {
+
+#if defined(OS_IOS)
+// Used to control the state of the Payment Request API feature.
+extern const base::Feature kWebPayments;
+#endif
+
+} // namespace features
+} // namespace payments
+
+#endif // COMPONENTS_PAYMENTS_CORE_FEATURES_H_
« no previous file with comments | « components/payments/core/BUILD.gn ('k') | components/payments/core/features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698