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

Unified Diff: components/payments/core/address_normalizer.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/core/address_normalizer.cc
diff --git a/components/payments/address_normalizer.cc b/components/payments/core/address_normalizer.cc
similarity index 94%
rename from components/payments/address_normalizer.cc
rename to components/payments/core/address_normalizer.cc
index 48866dd3fdf6ed930ef2912d906e2fbc7bc6362c..3114c5a89229cfc2a60ca2e02ebaf7f9b13819c1 100644
--- a/components/payments/address_normalizer.cc
+++ b/components/payments/core/address_normalizer.cc
@@ -2,29 +2,33 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/payments/address_normalizer.h"
+#include "components/payments/core/address_normalizer.h"
-#include <memory>
+#include <stddef.h>
#include <utility>
+#include "base/bind.h"
+#include "base/bind_helpers.h"
#include "base/cancelable_callback.h"
+#include "base/location.h"
+#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/threading/sequenced_task_runner_handle.h"
+#include "base/time/time.h"
#include "components/autofill/core/browser/address_i18n.h"
+#include "components/autofill/core/browser/autofill_profile.h"
#include "third_party/libaddressinput/chromium/chrome_address_validator.h"
#include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_data.h"
#include "third_party/libaddressinput/src/cpp/include/libaddressinput/source.h"
#include "third_party/libaddressinput/src/cpp/include/libaddressinput/storage.h"
+namespace payments {
namespace {
+
+using ::autofill::AutofillProfile;
using ::i18n::addressinput::Source;
using ::i18n::addressinput::Storage;
-} // namespace
-
-namespace payments {
-
-namespace {
class AddressNormalizationRequest : public AddressNormalizer::Request {
public:
« no previous file with comments | « components/payments/core/address_normalizer.h ('k') | components/payments/core/address_normalizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698