Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: components/autofill/core/common/autofill_util.h

Issue 1473733008: [Autofill] Respect the autocomplete=off attribute. (Closed) Base URL:
Patch Set: Rebase Created 5 years 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/common/autofill_util.h
diff --git a/components/autofill/core/common/autofill_util.h b/components/autofill/core/common/autofill_util.h
index 81c306222cdb2dc3cd5fa8ba00f48de1b95e115e..e29318d0e5064e6b4d4803c5843331e46c976b65 100644
--- a/components/autofill/core/common/autofill_util.h
+++ b/components/autofill/core/common/autofill_util.h
@@ -36,6 +36,10 @@ size_t GetTextSelectionStart(const base::string16& suggestion,
const base::string16& field_contents,
bool case_sensitive);
+// Returns true if running on a desktop platform. Any platform that is not
+// Android or iOS is considered desktop.
+bool IsDesktopPlatform();
} // namespace autofill
« no previous file with comments | « components/autofill/core/browser/ ('k') | components/autofill/core/common/ » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698