#ifndef CONTENT_PUBLIC_BROWSER_SERVICE_PROCESS_HOST_PASSKEYS_H_
#define CONTENT_PUBLIC_BROWSER_SERVICE_PROCESS_HOST_PASSKEYS_H_
#include "base/gtest_prod_util.h"
#include "base/types/pass_key.h"
namespace shape_detection::mojom {
class ShapeDetectionService;
}
namespace screen_ai {
class ScreenAIServiceHandlerBase;
}
namespace on_device_translation {
class OnDeviceTranslationServiceController;
}
namespace content {
class VideoCaptureServiceLauncher;
shape_detection::mojom::ShapeDetectionService* GetShapeDetectionService();
class ServiceProcessHostPreloadLibraries {
public:
using PassKey = base::PassKey<ServiceProcessHostPreloadLibraries>;
private:
static PassKey GetPassKey() { return PassKey(); }
friend class screen_ai::ScreenAIServiceHandlerBase;
friend class on_device_translation::OnDeviceTranslationServiceController;
friend shape_detection::mojom::ShapeDetectionService*
content::GetShapeDetectionService();
FRIEND_TEST_ALL_PREFIXES(ServiceProcessHostBrowserTest,
PreloadLibraryPreloaded);
FRIEND_TEST_ALL_PREFIXES(ServiceProcessHostBrowserTest,
PreloadLibraryMultiple);
FRIEND_TEST_ALL_PREFIXES(ServiceProcessHostBrowserTest,
PreloadLibraryModName);
FRIEND_TEST_ALL_PREFIXES(ServiceProcessHostBrowserTest,
PreloadLibraryBadPath);
};
class ServiceProcessHostGpuClient {
public:
using PassKey = base::PassKey<ServiceProcessHostGpuClient>;
private:
static PassKey GetPassKey() { return PassKey(); }
friend class content::VideoCaptureServiceLauncher;
};
}
#endif