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..75f05c4ea2aa4918deb807920120bc0174e851f9 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 the chromium instance runs on desktop. Any platform that is |
+// not Android or iOS is considered desktop. |
+bool IsOnDesktop(); |
+ |
} // namespace autofill |
#endif // COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_UTIL_H_ |