Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "third_party/WebKit/public/web/WebFormElement.h" | |
| 6 | |
| 7 namespace autofill { | |
| 8 | |
| 9 // Checks if |form| is eligible for password generation. If yes, sets the name | |
| 10 // of the generation field to |generation_field| and returns true. Otherwise, | |
|
vabr (Chromium)
2016/06/10 13:22:12
nit: It might not be completely clear what a "gene
| |
| 11 // returns false (w/o any changes of |generation_field|). | |
|
vabr (Chromium)
2016/06/10 13:22:12
nit: changes of -> changes to
| |
| 12 bool ClassifyFormAndFindGenerationField(const blink::WebFormElement& form, | |
|
vabr (Chromium)
2016/06/10 13:22:12
You should just forward-declare blink::WebFormElem
| |
| 13 base::string16* generation_field); | |
| 14 } | |
| OLD | NEW |