blob: 2ad70a3b0398c757e1564f43ba8b2f590c4b0901 [file] [log] [blame]
// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_AUTOFILL_IOS_COMMON_CONSTANTS_H_
#define COMPONENTS_AUTOFILL_IOS_COMMON_CONSTANTS_H_
// Represent the type of counted form submission that was reported by the
// renderer.
enum class CountedSubmissionType {
// Form submission detected via a form "submit" event.
kHtmlEvent,
// Form submission detected via the `form.submit()` call wrapper.
kProgrammatic,
// Can't parse the form submission count report received from the renderer.
// This can happen if one of the keys in the message body was corrupted.
kCantParse,
kMaxValue = kCantParse,
};
#endif // COMPONENTS_AUTOFILL_IOS_COMMON_CONSTANTS_H_