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, |
| 11 // returns false (w/o any changes of |generation_field|). |
| 12 bool ClassifyFormAndFindGenerationField(const blink::WebFormElement& form, |
| 13 base::string16* generation_field); |
| 14 } |
OLD | NEW |