Index: components/autofill/content/renderer/password_generation_agent.h |
diff --git a/components/autofill/content/renderer/password_generation_agent.h b/components/autofill/content/renderer/password_generation_agent.h |
index bf632aef9f6c59078bafc908147647cd8ea27e6c..2d75af0376d36170c0bbedf8abe908de4089f279 100644 |
--- a/components/autofill/content/renderer/password_generation_agent.h |
+++ b/components/autofill/content/renderer/password_generation_agent.h |
@@ -39,6 +39,9 @@ class PasswordGenerationAgent : public content::RenderViewObserver { |
// Returns true if the newly focused node caused the generation UI to show. |
bool FocusedNodeHasChanged(const blink::WebNode& node); |
+ // The length that a password can be before the UI is hidden. |
+ static const size_t kMaximumOfferSize = 5; |
+ |
protected: |
// Returns true if this document is one that we should consider analyzing. |
// Virtual so that it can be overriden during testing. |