chromium/components/plus_addresses/fake_plus_address_service.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/plus_addresses/fake_plus_address_service.h"

#include <optional>
#include <string>
#include <utility>

#include "base/feature_list.h"
#include "base/functional/callback.h"
#include "components/plus_addresses/mock_plus_address_http_client.h"
#include "components/plus_addresses/plus_address_types.h"
#include "testing/gmock/include/gmock/gmock.h"

namespace plus_addresses {
namespace {
FacetURI;
}

FakePlusAddressService::FakePlusAddressService(
    PrefService* pref_service,
    signin::IdentityManager* identity_manager,
    PlusAddressSettingService* setting_service)
    :{}

FakePlusAddressService::~FakePlusAddressService() = default;

bool FakePlusAddressService::IsPlusAddressFillingEnabled(
    const url::Origin& origin) const {}

bool FakePlusAddressService::IsPlusAddressCreationEnabled(
    const url::Origin& origin,
    bool is_off_the_record) const {}

bool FakePlusAddressService::IsPlusAddress(
    const std::string& potential_plus_address) const {}

void FakePlusAddressService::GetAffiliatedPlusProfiles(
    const url::Origin& origin,
    GetPlusProfilesCallback callback) {}

void FakePlusAddressService::ReservePlusAddress(
    const url::Origin& origin,
    PlusAddressRequestCallback on_completed) {}

void FakePlusAddressService::ConfirmPlusAddress(
    const url::Origin& origin,
    const PlusAddress& plus_address,
    PlusAddressRequestCallback on_completed) {}

void FakePlusAddressService::RefreshPlusAddress(
    const url::Origin& origin,
    PlusAddressRequestCallback on_completed) {}

std::optional<std::string> FakePlusAddressService::GetPrimaryEmail() {}

base::span<const PlusProfile> FakePlusAddressService::GetPlusProfiles() const {}

}  // namespace plus_addresses