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

Unified Diff: trunk/src/chrome/browser/ui/autofill/mock_address_validator.h

Issue 387123004: Revert 282726 "Reland "Use upstream libaddressinput in Chrome."" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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 | « trunk/src/chrome/browser/ui/autofill/data_model_wrapper.cc ('k') | trunk/src/chrome/browser/ui/webui/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/ui/autofill/mock_address_validator.h
===================================================================
--- trunk/src/chrome/browser/ui/autofill/mock_address_validator.h (revision 282731)
+++ trunk/src/chrome/browser/ui/autofill/mock_address_validator.h (working copy)
@@ -7,8 +7,8 @@
#include "base/basictypes.h"
#include "testing/gmock/include/gmock/gmock.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/chromium/cpp/include/libaddressinput/address_data.h"
+#include "third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_validator.h"
namespace autofill {
@@ -17,7 +17,7 @@
return arg.region_code == country_code;
}
-class MockAddressValidator : public AddressValidator {
+class MockAddressValidator : public ::i18n::addressinput::AddressValidator {
public:
MockAddressValidator();
virtual ~MockAddressValidator();
@@ -25,13 +25,13 @@
MOCK_METHOD1(LoadRules, void(const std::string& country_code));
MOCK_CONST_METHOD3(ValidateAddress,
- AddressValidator::Status(
+ ::i18n::addressinput::AddressValidator::Status(
const ::i18n::addressinput::AddressData& address,
- const ::i18n::addressinput::FieldProblemMap* filter,
- ::i18n::addressinput::FieldProblemMap* problems));
+ const ::i18n::addressinput::AddressProblemFilter& filter,
+ ::i18n::addressinput::AddressProblems* problems));
MOCK_CONST_METHOD4(GetSuggestions,
- AddressValidator::Status(
+ ::i18n::addressinput::AddressValidator::Status(
const ::i18n::addressinput::AddressData& user_input,
::i18n::addressinput::AddressField focused_field,
size_t suggestions_limit,
« no previous file with comments | « trunk/src/chrome/browser/ui/autofill/data_model_wrapper.cc ('k') | trunk/src/chrome/browser/ui/webui/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698