Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(708)

Unified Diff: components/password_manager/core/browser/password_generation_manager.h

Issue 2073143002: [Password Generation] Run the form classifier only if AutofillMetadata is enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pg_classifier_votes
Patch Set: Removed unnecessary ';' Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/password_manager/core/browser/password_generation_manager.h
diff --git a/components/password_manager/core/browser/password_generation_manager.h b/components/password_manager/core/browser/password_generation_manager.h
index 6f2fe47efe51610f0dac642784c7c4611fcb2b71..c683b1865bad1a27f49918bb985f18037fee8a36 100644
--- a/components/password_manager/core/browser/password_generation_manager.h
+++ b/components/password_manager/core/browser/password_generation_manager.h
@@ -46,6 +46,12 @@ class PasswordGenerationManager {
// Determines current state of password generation
bool IsGenerationEnabled() const;
+ // Determine if the form classifier should run. If yes, sends a message to the
+ // renderer.
+ // TODO(crbug.com/621442): Remove client-side form classifier when server-side
+ // classifier is ready.
+ void CheckIfFormClassifierShouldRun();
+
private:
friend class PasswordGenerationManagerTest;

Powered by Google App Engine
This is Rietveld 408576698