Chromium Code Reviews| Index: content/public/renderer/document_state.h |
| diff --git a/content/public/renderer/document_state.h b/content/public/renderer/document_state.h |
| index 3168776091b29b201cc96eb423520d007bce50b2..075cda010e98cc31e9e2125cb7ab148e1c227f62 100644 |
| --- a/content/public/renderer/document_state.h |
| +++ b/content/public/renderer/document_state.h |
| @@ -169,6 +169,10 @@ class DocumentState : public WebKit::WebDataSource::ExtraData { |
| searchable_form_encoding_ = encoding; |
| } |
| + // If set, contains the PasswordForm that we believe triggered the current |
| + // navigation (there is some ambiguity in the case of javascript initiated |
|
Charlie Reis
2013/03/23 01:00:26
I really appreciate this comment.
However, it's a
Garrett Casto
2013/03/26 00:00:27
I'm not sure what you mean by sending here. If you
|
| + // navigations). This information is used by the PasswordManager to determine |
| + // if the user should be prompted to save their password. |
| PasswordForm* password_form_data() const { |
| return password_form_data_.get(); |
| } |