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

Unified Diff: components/payments/content/android/currency_formatter_android.cc

Issue 2713033004: Layered component for web payments (Closed)
Patch Set: Rebase Created 3 years, 10 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/payments/content/android/currency_formatter_android.cc
diff --git a/components/payments/android/currency_formatter_android.cc b/components/payments/content/android/currency_formatter_android.cc
similarity index 90%
rename from components/payments/android/currency_formatter_android.cc
rename to components/payments/content/android/currency_formatter_android.cc
index e1ea023e21036e4575386068497b790a0e7b57b2..0ea0f91203346dfe2d267d5b63aadfb12459b640 100644
--- a/components/payments/android/currency_formatter_android.cc
+++ b/components/payments/content/android/currency_formatter_android.cc
@@ -2,18 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/payments/android/currency_formatter_android.h"
+#include "components/payments/content/android/currency_formatter_android.h"
#include "base/android/jni_string.h"
-#include "base/optional.h"
#include "base/strings/string16.h"
-#include "components/payments/currency_formatter.h"
+#include "components/payments/core/currency_formatter.h"
#include "jni/CurrencyFormatter_jni.h"
-using base::android::JavaParamRef;
-using base::android::ConvertJavaStringToUTF8;
-
namespace payments {
+namespace {
+
+using ::base::android::JavaParamRef;
+using ::base::android::ConvertJavaStringToUTF8;
+
+} // namespace
CurrencyFormatterAndroid::CurrencyFormatterAndroid(
JNIEnv* env,

Powered by Google App Engine
This is Rietveld 408576698