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

Unified Diff: components/autofill/core/browser/autofill_manager.h

Issue 512933004: mac: Don't show "Access Address Book" prompt if Autofill is disabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Require forms be autofillable. Created 6 years, 4 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: components/autofill/core/browser/autofill_manager.h
diff --git a/components/autofill/core/browser/autofill_manager.h b/components/autofill/core/browser/autofill_manager.h
index 72454ed22bb4a9d355774c2213c8fcab3f2788c0..43668bba0d5376393c62c13d2cc785b404b3ad7e 100644
--- a/components/autofill/core/browser/autofill_manager.h
+++ b/components/autofill/core/browser/autofill_manager.h
@@ -237,8 +237,9 @@ class AutofillManager : public AutofillDownloadManager::Observer {
// Fills |form_structure| and |autofill_field| with the cached elements
// corresponding to |form| and |field|. This might have the side-effect of
- // updating the cache. Returns false if the |form| is not autofillable, or if
- // it is not already present in the cache and the cache is full.
+ // updating the cache. Returns false if the |form| has no autofillable
+ // fields, or if it is not already present in the cache and the cache is
+ // full.
bool GetCachedFormAndField(const FormData& form,
const FormFieldData& field,
FormStructure** form_structure,

Powered by Google App Engine
This is Rietveld 408576698