#include "components/autofill/core/browser/geo/subkey_requester.h"
#include <utility>
#include "base/base_paths.h"
#include "base/files/file_path.h"
#include "base/functional/bind.h"
#include "base/path_service.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/libaddressinput/src/cpp/include/libaddressinput/null_storage.h"
#include "third_party/libaddressinput/src/cpp/include/libaddressinput/source.h"
#include "third_party/libaddressinput/src/cpp/include/libaddressinput/storage.h"
#include "third_party/libaddressinput/src/cpp/test/testdata_source.h"
namespace autofill {
namespace {
NullStorage;
Source;
Storage;
TestdataSource;
const char kLocale[] = …;
const char kLanguage[] = …;
const int kInvalidSize = …;
const int kExpectedSubkeySize = …;
const int kEmptySize = …;
class SubKeyReceiver : public base::RefCountedThreadSafe<SubKeyReceiver> { … };
class TestSubKeyRequester : public SubKeyRequester { … };
}
class SubKeyRequesterTest : public testing::Test { … };
TEST_F(SubKeyRequesterTest, AreRulesLoadedForRegion_NotLoaded) { … }
TEST_F(SubKeyRequesterTest, AreRulesLoadedForRegion_Loaded) { … }
TEST_F(SubKeyRequesterTest, StartRequest_RulesLoaded) { … }
TEST_F(SubKeyRequesterTest, StartRequest_RulesNotLoaded_WillNotLoad) { … }
TEST_F(SubKeyRequesterTest, StartRequest_RulesNotLoaded_WillLoad) { … }
}