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

Unified Diff: chrome/browser/autofill/android/personal_data_manager_android.h

Issue 2708933003: [Payments] Add timeout to the address_normalizer. (Closed)
Patch Set: 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: chrome/browser/autofill/android/personal_data_manager_android.h
diff --git a/chrome/browser/autofill/android/personal_data_manager_android.h b/chrome/browser/autofill/android/personal_data_manager_android.h
index 10c7b1214283596d8a6a0e3e6dba8df2248d8726..fa09e30b33d4cdc4a36ce1144d7bdd340eddb41e 100644
--- a/chrome/browser/autofill/android/personal_data_manager_android.h
+++ b/chrome/browser/autofill/android/personal_data_manager_android.h
@@ -292,13 +292,15 @@ class PersonalDataManagerAndroid : public PersonalDataManagerObserver {
// Normalizes the address of the profile associated with the |jguid|
// synchronously if the |jregion_code| rules have finished loading. Otherwise
// sets up the task to start the address normalization when the rules have
- // finished loading. In either case, sends the normalized profile to the
- // |jdelegate|.
+ // finished loading. Also defines a time limit for the normalization, in which
+ // case the the |jdelagate| will be notified. If the rules are loaded before
Mathieu 2017/02/21 17:40:43 jdelegate
sebsg 2017/02/21 18:30:59 Done.
+ // the timeout, |jdelegate| will receive the normalized profile.
void StartAddressNormalization(
JNIEnv* env,
const base::android::JavaParamRef<jobject>& unused_obj,
const base::android::JavaParamRef<jstring>& jguid,
const base::android::JavaParamRef<jstring>& jregion_code,
+ jint jtimeout_seconds,
const base::android::JavaParamRef<jobject>& jdelegate);
// Checks whether the Autofill PersonalDataManager has profiles.

Powered by Google App Engine
This is Rietveld 408576698