blob: 7d8cafa2a6147a276e26010b528b77ea145ed0f8 [file] [log] [blame]
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/sync/test/integration/sync_signin_delegate.h"
#include <memory>
#include "build/build_config.h"
#if BUILDFLAG(IS_ANDROID)
#include "chrome/browser/sync/test/integration/sync_signin_delegate_android.h"
#else
#include "chrome/browser/sync/test/integration/sync_signin_delegate_desktop.h"
#endif
std::unique_ptr<SyncSigninDelegate> CreateSyncSigninDelegate() {
#if BUILDFLAG(IS_ANDROID)
return std::make_unique<SyncSigninDelegateAndroid>();
#else
return std::make_unique<SyncSigninDelegateDesktop>();
#endif
}