12345678910111213141516 |
- // Copyright 2020 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 "components/account_manager_core/account_manager_test_util.h"
- #include "components/account_manager_core/account.h"
- namespace account_manager {
- Account CreateTestGaiaAccount(const std::string& raw_email) {
- // TODO(https://crbug.com/1150770): Use signin::GetTestGaiaIdForEmail here.
- AccountKey key(std::string("gaia_id_for_") + raw_email, AccountType::kGaia);
- return {key, raw_email};
- }
- } // namespace account_manager
|