// Copyright 2017 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_CONTENT_RENDERER_PAGE_PASSWORDS_ANALYSER_H_ #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PAGE_PASSWORDS_ANALYSER_H_ #include <set> #include "components/autofill/core/common/unique_ids.h" #include "third_party/blink/public/web/web_console_message.h" #include "third_party/blink/public/web/web_local_frame.h" namespace autofill { class PageFormAnalyserLogger; // This class provides feedback to web developers about the password forms on // their webpages, in order to increase the accessibility of web forms to the // Password Manager. This is achieved by crawling the DOM whenever new forms are // added to the page and checking for common mistakes, or ways in which the form // could be improved (for example, with autocomplete attributes). See // |AnalyseDocumentDOM| for more specific information about these warnings. class PagePasswordsAnalyser { … }; } // namespace autofill #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PAGE_PASSWORDS_ANALYSER_H_