blob: 453a9082e787121ef536305130090962e7e05e23 [file]
// 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 "chrome/browser/sync/test/integration/sync_signin_delegate.h"
#include <memory>
#include "build/build_config.h"
#if defined(OS_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 defined(OS_ANDROID)
return std::make_unique<SyncSigninDelegateAndroid>();
#else
return std::make_unique<SyncSigninDelegateDesktop>();
#endif
}