blob: 65dd43abe6bd42f0c48deedaef32b301e08f3fab [file] [log] [blame]
// 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 "chromeos/components/account_manager/account_manager_facade_ash.h"
#include "chromeos/components/account_manager/account_manager.h"
namespace chromeos {
AccountManagerFacadeAsh::AccountManagerFacadeAsh(
AccountManager* account_manager)
: account_manager_(account_manager) {}
AccountManagerFacadeAsh::~AccountManagerFacadeAsh() = default;
bool AccountManagerFacadeAsh::IsInitialized() {
return account_manager_->IsInitialized();
}
void AccountManagerFacadeAsh::ShowAddAccountDialog(
const AccountAdditionSource& source,
base::OnceCallback<void(const AccountAdditionResult& result)> callback) {
// TODO(crbug.com/1140469): implement this.
}
void AccountManagerFacadeAsh::ShowReauthAccountDialog(
const AccountAdditionSource& source,
const std::string& email) {
// TODO(crbug.com/1140469): implement this.
}
} // namespace chromeos