#include "chrome/browser/password_manager/password_manager_interactive_test_base.h"
#include "base/ranges/algorithm.h"
#include "base/strings/stringprintf.h"
#include "chrome/browser/password_manager/passwords_navigation_observer.h"
#include "content/public/test/browser_test_utils.h"
#include "ui/events/keycodes/dom_us_layout_data.h"
#include "ui/events/keycodes/keyboard_code_conversion.h"
namespace {
enum ReturnCodes { … };
}
PasswordManagerInteractiveTestBase::PasswordManagerInteractiveTestBase() =
default;
PasswordManagerInteractiveTestBase::~PasswordManagerInteractiveTestBase() =
default;
void PasswordManagerInteractiveTestBase::FillElementWithValue(
const std::string& element_id,
const std::string& value,
const std::string& expected_value) { … }
void PasswordManagerInteractiveTestBase::FillElementWithValue(
const std::string& element_id,
const std::string& value) { … }
void PasswordManagerInteractiveTestBase::WaitForElementValue(
const std::string& element_id,
const std::string& expected_value) { … }
void PasswordManagerInteractiveTestBase::VerifyPasswordIsSavedAndFilled(
const std::string& filename,
const std::string& username_id,
const std::string& password_id,
const std::string& submission_script) { … }
void PasswordManagerInteractiveTestBase::SimulateUserDeletingFieldContent(
const std::string& field_id) { … }