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 |
#endif // COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_UTIL_H_ |