blob: 00ac6dde29823c53429c69950aabd261038d987c [file] [log] [blame]
// Copyright 2017 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/signin/core/browser/account_reconcilor_delegate.h"
#include "base/time/time.h"
#include "google_apis/gaia/google_service_auth_error.h"
namespace signin {
bool AccountReconcilorDelegate::IsReconcileEnabled() const {
return false;
}
bool AccountReconcilorDelegate::IsAccountConsistencyEnforced() const {
return false;
}
bool AccountReconcilorDelegate::ShouldAbortReconcileIfPrimaryHasError() const {
return false;
}
std::string AccountReconcilorDelegate::GetFirstGaiaAccountForReconcile(
const std::vector<std::string>& chrome_accounts,
const std::vector<gaia::ListedAccount>& gaia_accounts,
const std::string& primary_account,
bool first_execution) const {
return std::string();
}
AccountReconcilorDelegate::RevokeTokenOption
AccountReconcilorDelegate::ShouldRevokeSecondaryTokensBeforeReconcile(
const std::vector<gaia::ListedAccount>& gaia_accounts) {
return RevokeTokenOption::kDoNotRevoke;
}
base::TimeDelta AccountReconcilorDelegate::GetReconcileTimeout() const {
return base::TimeDelta::Max();
}
void AccountReconcilorDelegate::OnReconcileError(
const GoogleServiceAuthError& error) {}
} // namespace signin