#ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_FORM_AUTOFILL_ISSUES_H_
#define COMPONENTS_AUTOFILL_CONTENT_RENDERER_FORM_AUTOFILL_ISSUES_H_
#include <vector>
#include "components/autofill/core/common/form_field_data.h"
#include "third_party/blink/public/mojom/devtools/inspector_issue.mojom.h"
#include "third_party/blink/public/platform/web_string.h"
#include "third_party/blink/public/platform/web_vector.h"
namespace blink {
class WebFormControlElement;
class WebDocument;
class WebLocalFrame;
}
namespace autofill::form_issues {
struct FormIssue { … };
void MaybeEmitFormIssuesToDevtools(blink::WebLocalFrame& web_local_frame,
base::span<const FormData> forms);
std::vector<FormIssue> GetFormIssuesForTesting(
const blink::WebVector<blink::WebFormControlElement>& control_elements,
std::vector<FormIssue> form_issues);
std::vector<FormIssue> CheckForLabelsWithIncorrectForAttributeForTesting(
const blink::WebDocument& document,
const std::vector<FormFieldData>& fields,
std::vector<FormIssue> form_issues);
}
#endif