summaryrefslogtreecommitdiff
path: root/chromium/third_party/libaddressinput
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-01-23 17:21:03 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-01-23 16:25:15 +0000
commitc551f43206405019121bd2b2c93714319a0a3300 (patch)
tree1f48c30631c421fd4bbb3c36da20183c8a2ed7d7 /chromium/third_party/libaddressinput
parent7961cea6d1041e3e454dae6a1da660b453efd238 (diff)
downloadqtwebengine-chromium-c551f43206405019121bd2b2c93714319a0a3300.tar.gz
BASELINE: Update Chromium to 79.0.3945.139
Change-Id: I336b7182fab9bca80b709682489c07db112eaca5 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/third_party/libaddressinput')
-rw-r--r--chromium/third_party/libaddressinput/chromium/chrome_address_validator.cc5
-rw-r--r--chromium/third_party/libaddressinput/chromium/chrome_address_validator_unittest.cc2
-rw-r--r--chromium/third_party/libaddressinput/chromium/chrome_metadata_source_unittest.cc2
-rw-r--r--chromium/third_party/libaddressinput/chromium/chrome_storage_impl.cc3
-rw-r--r--chromium/third_party/libaddressinput/chromium/chrome_storage_impl.h2
-rw-r--r--chromium/third_party/libaddressinput/chromium/resources/address_input_strings_vi.xtb2
6 files changed, 8 insertions, 8 deletions
diff --git a/chromium/third_party/libaddressinput/chromium/chrome_address_validator.cc b/chromium/third_party/libaddressinput/chromium/chrome_address_validator.cc
index 31cadf57c4c..65a4db8fe6e 100644
--- a/chromium/third_party/libaddressinput/chromium/chrome_address_validator.cc
+++ b/chromium/third_party/libaddressinput/chromium/chrome_address_validator.cc
@@ -183,8 +183,9 @@ void AddressValidator::RulesLoaded(bool success,
return;
base::ThreadTaskRunnerHandle::Get()->PostDelayedTask(
- FROM_HERE, base::Bind(&AddressValidator::RetryLoadRules,
- weak_factory_.GetWeakPtr(), region_code),
+ FROM_HERE,
+ base::BindOnce(&AddressValidator::RetryLoadRules,
+ weak_factory_.GetWeakPtr(), region_code),
GetBaseRetryPeriod() * pow(2, attempts_number_[region_code]++));
}
diff --git a/chromium/third_party/libaddressinput/chromium/chrome_address_validator_unittest.cc b/chromium/third_party/libaddressinput/chromium/chrome_address_validator_unittest.cc
index 8bc5b64b674..b1232f1cea1 100644
--- a/chromium/third_party/libaddressinput/chromium/chrome_address_validator_unittest.cc
+++ b/chromium/third_party/libaddressinput/chromium/chrome_address_validator_unittest.cc
@@ -922,7 +922,7 @@ class FailingAddressValidatorTest : public testing::Test, LoadRulesListener {
load_rules_success_ = success;
}
- base::test::ScopedTaskEnvironment scoped_task_environment_;
+ base::test::TaskEnvironment task_environment_;
DISALLOW_COPY_AND_ASSIGN(FailingAddressValidatorTest);
};
diff --git a/chromium/third_party/libaddressinput/chromium/chrome_metadata_source_unittest.cc b/chromium/third_party/libaddressinput/chromium/chrome_metadata_source_unittest.cc
index f1cfbff214d..b15e721912b 100644
--- a/chromium/third_party/libaddressinput/chromium/chrome_metadata_source_unittest.cc
+++ b/chromium/third_party/libaddressinput/chromium/chrome_metadata_source_unittest.cc
@@ -64,7 +64,7 @@ class ChromeMetadataSourceTest : public testing::Test {
data_.reset(data);
}
- base::test::ScopedTaskEnvironment scoped_task_environment_;
+ base::test::TaskEnvironment task_environment_;
network::TestURLLoaderFactory test_url_loader_factory_;
scoped_refptr<network::SharedURLLoaderFactory> test_shared_loader_factory_;
GURL url_;
diff --git a/chromium/third_party/libaddressinput/chromium/chrome_storage_impl.cc b/chromium/third_party/libaddressinput/chromium/chrome_storage_impl.cc
index 60ab801265f..62ff5bc2ced 100644
--- a/chromium/third_party/libaddressinput/chromium/chrome_storage_impl.cc
+++ b/chromium/third_party/libaddressinput/chromium/chrome_storage_impl.cc
@@ -14,8 +14,7 @@
namespace autofill {
ChromeStorageImpl::ChromeStorageImpl(WriteablePrefStore* store)
- : backing_store_(store),
- scoped_observer_(this) {
+ : backing_store_(store) {
scoped_observer_.Add(backing_store_);
}
diff --git a/chromium/third_party/libaddressinput/chromium/chrome_storage_impl.h b/chromium/third_party/libaddressinput/chromium/chrome_storage_impl.h
index 328784d57bb..68c234afad5 100644
--- a/chromium/third_party/libaddressinput/chromium/chrome_storage_impl.h
+++ b/chromium/third_party/libaddressinput/chromium/chrome_storage_impl.h
@@ -53,7 +53,7 @@ class ChromeStorageImpl : public ::i18n::addressinput::Storage,
// Get requests that haven't yet been serviced.
std::vector<std::unique_ptr<Request>> outstanding_requests_;
- ScopedObserver<PrefStore, ChromeStorageImpl> scoped_observer_;
+ ScopedObserver<PrefStore, PrefStore::Observer> scoped_observer_{this};
DISALLOW_COPY_AND_ASSIGN(ChromeStorageImpl);
};
diff --git a/chromium/third_party/libaddressinput/chromium/resources/address_input_strings_vi.xtb b/chromium/third_party/libaddressinput/chromium/resources/address_input_strings_vi.xtb
index f26d5dba72c..6fd72b37d23 100644
--- a/chromium/third_party/libaddressinput/chromium/resources/address_input_strings_vi.xtb
+++ b/chromium/third_party/libaddressinput/chromium/resources/address_input_strings_vi.xtb
@@ -11,7 +11,7 @@
<translation id="3882422586004212847">Định dạng mã bưu chính này không được nhận dạng. Ví dụ về mã bưu chính hợp lệ: <ph name="EXAMPLE" />.</translation>
<translation id="3885155851504623709">Giáo xứ</translation>
<translation id="43113324827158664">Bạn không được để trống trường này.</translation>
-<translation id="4376888869070172068">Định dạng mã bưu điện này không được nhận dạng.</translation>
+<translation id="4376888869070172068">Định dạng mã bưu chính này không được nhận dạng.</translation>
<translation id="4518701284698680367">Bạn phải cung cấp mã ZIP, ví dụ: <ph name="EXAMPLE" />. Bạn không biết mã ZIP của mình? Hãy tìm <ph name="BEGIN_LINK" />tại đây<ph name="END_LINK" />.</translation>
<translation id="5089810972385038852">Tỉnh</translation>
<translation id="5095208057601539847">Tỉnh</translation>