Chromium Code Reviews| 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. |