chromium/chrome/browser/apps/app_service/app_service_proxy_forward.h

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

#ifndef CHROME_BROWSER_APPS_APP_SERVICE_APP_SERVICE_PROXY_FORWARD_H_
#define CHROME_BROWSER_APPS_APP_SERVICE_APP_SERVICE_PROXY_FORWARD_H_

#include "build/chromeos_buildflags.h"

namespace apps {

// Include this header to forward-declare AppServiceProxy in a way that is
// compatible across all platforms.
#if BUILDFLAG(IS_CHROMEOS_ASH)
class AppServiceProxyAsh;
using AppServiceProxy = AppServiceProxyAsh;
#elif BUILDFLAG(IS_CHROMEOS_LACROS)
class AppServiceProxyLacros;
using AppServiceProxy = AppServiceProxyLacros;
#else
class AppServiceProxy;
#endif

}  // namespace apps

#endif  // CHROME_BROWSER_APPS_APP_SERVICE_APP_SERVICE_PROXY_FORWARD_H_