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

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

Issue 955443004: Only show local addresses in Android Autofill options page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | chrome/browser/autofill/android/personal_data_manager_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ed818a315dc48671354e91f76a0a79fc3684462a..66fcf2aa460a4c4e5ccc09185f554686d854a041 100644
--- a/chrome/browser/autofill/android/personal_data_manager_android.h
+++ b/chrome/browser/autofill/android/personal_data_manager_android.h
@@ -19,7 +19,7 @@ class PersonalDataManagerAndroid : public PersonalDataManagerObserver {
public:
PersonalDataManagerAndroid(JNIEnv* env, jobject obj);
- // Regular Autofill Profiles
+ // These functions act on "web profiles" aka "LOCAL_PROFILE" profiles.
// -------------------------
// Returns the number of web and auxiliary profiles.
@@ -47,7 +47,13 @@ class PersonalDataManagerAndroid : public PersonalDataManagerObserver {
jobject unused_obj,
jobject jprofile);
- // Credit Card Profiles
+ // Gets the labels for all known profiles. These labels are useful for
+ // distinguishing the profiles from one another.
+ base::android::ScopedJavaLocalRef<jobjectArray> GetProfileLabels(
+ JNIEnv* env,
+ jobject unused_obj);
+
+ // These functions act on local credit cards.
// --------------------
// Returns the number of credit cards.
@@ -75,12 +81,6 @@ class PersonalDataManagerAndroid : public PersonalDataManagerObserver {
jobject unused_obj,
jobject jcard);
- // Gets the labels for all known profiles. These labels are useful for
- // distinguishing the profiles from one another.
- base::android::ScopedJavaLocalRef<jobjectArray> GetProfileLabels(
- JNIEnv* env,
- jobject unused_obj);
-
// Removes the profile or credit card represented by |jguid|.
void RemoveByGUID(JNIEnv* env, jobject unused_obj, jstring jguid);
« no previous file with comments | « no previous file | chrome/browser/autofill/android/personal_data_manager_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698