blob: 3e2a9f4f7f9af42bad1305d72f8b83bdf7b58554 [file] [log] [blame]
Avi Drissman4e1b7bc32022-09-15 14:03:501// Copyright 2019 The Chromium Authors
Ken Rockot53077772019-06-26 21:50:322// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CONTENT_UTILITY_SERVICES_H_
6#define CONTENT_UTILITY_SERVICES_H_
7
Yoichi Osatobbdfbcdc2022-12-12 16:50:358#include "content/common/content_export.h"
9#include "services/service_manager/public/cpp/binder_registry.h"
10
Ken Rockotc18bc462020-10-28 19:35:4511namespace mojo {
12class ServiceFactory;
13}
Ken Rockot53077772019-06-26 21:50:3214
15namespace content {
Yoichi Osatobbdfbcdc2022-12-12 16:50:3516using NetworkBinderCreationCallback =
17 base::OnceCallback<void(service_manager::BinderRegistry*)>;
18CONTENT_EXPORT void SetNetworkBinderCreationCallbackForTesting( // IN-TEST
19 NetworkBinderCreationCallback callback);
Ken Rockot53077772019-06-26 21:50:3220
Ken Rockotc18bc462020-10-28 19:35:4521void RegisterIOThreadServices(mojo::ServiceFactory& services);
22void RegisterMainThreadServices(mojo::ServiceFactory& services);
Ken Rockot53077772019-06-26 21:50:3223
24} // namespace content
25
26#endif // CONTENT_UTILITY_SERVICES_H_