blob: 2ce96c3c3f2b9f44702715e5c6ba84498ddf5423 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/WebKit/public/web/WebFormElement.h"
namespace autofill {
// Checks if |form| is eligible for password generation. If yes, sets the name
// of the generation field to |generation_field| and returns true. Otherwise,
// returns false (w/o any changes of |generation_field|).
bool ClassifyFormAndFindGenerationField(const blink::WebFormElement& form,
base::string16* generation_field);
}