blob: d8c09542329ce3d3908af8c8c1265b12dc90d926 [file] [log] [blame]
// Copyright (c) 2018 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.
#ifndef COMPONENTS_PASSWORD_MANAGER_IOS_TEST_HELPERS_H_
#define COMPONENTS_PASSWORD_MANAGER_IOS_TEST_HELPERS_H_
#include <string>
namespace autofill {
struct PasswordFormFillData;
} // namespace autofill
namespace password_manager {
struct FillData;
} // namespace password_manager
namespace test_helpers {
// Populates |form_data| with test values.
void SetPasswordFormFillData(const std::string& origin,
const std::string& action,
const char* username_field,
const char* username_value,
const char* password_field,
const char* password_value,
const char* additional_username,
const char* additional_password,
bool wait_for_username,
autofill::PasswordFormFillData* form_data);
// Populates |fill_data| with test values.
void SetFillData(const std::string& origin,
const std::string& action,
const char* username_field,
const char* username_value,
const char* password_field,
const char* password_value,
password_manager::FillData* fill_data);
} // namespace test_helpers
#endif // COMPONENTS_PASSWORD_MANAGER_IOS_TEST_HELPERS_H_