#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_GEO_ALTERNATIVE_STATE_NAME_MAP_TEST_UTILS_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_GEO_ALTERNATIVE_STATE_NAME_MAP_TEST_UTILS_H_
#include "components/autofill/core/browser/geo/alternative_state_name_map.h"
#include "components/autofill/core/browser/proto/states.pb.h"
namespace autofill {
namespace test {
namespace internal {
template <typename = void>
struct TestStateEntry { … };
}
TestStateEntry;
void PopulateStateEntry(const TestStateEntry& test_state_entry,
StateEntry* state_entry);
void ClearAlternativeStateNameMapForTesting();
AlternativeStateNameMap::StateName NormalizeAndConvertToUTF16(
const std::string& text);
void PopulateAlternativeStateNameMapForTesting(
const std::string& country_code = "DE",
const std::string& key = "Bavaria",
const std::vector<TestStateEntry>& test_state_entries = {TestStateEntry()});
std::string CreateStatesProtoAsString(
const std::string& country_code = "DE",
const TestStateEntry& test_state_entry = TestStateEntry());
}
}
#endif