1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
content / public / test / system_media_controls_bridge_test_utils.h [blame]
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_PUBLIC_TEST_SYSTEM_MEDIA_CONTROLS_BRIDGE_TEST_UTILS_H_
#define CONTENT_PUBLIC_TEST_SYSTEM_MEDIA_CONTROLS_BRIDGE_TEST_UTILS_H_
#include "base/functional/callback.h"
namespace content {
// Tests that want to know when SystemMediaControlsBridge objects have
// been created in the app shim process should set this.
void SetOnSystemMediaControlsBridgeCreatedCallbackForTesting(
base::RepeatingCallback<void()> callback);
// Tests that want to know when the SystemMediaControlsBridge object
// has been created in the browser process should set this.
void SetOnBrowserSystemMediaControlsBridgeCreatedCallbackForTesting(
base::RepeatingCallback<void()> callback);
} // namespace content
#endif // CONTENT_PUBLIC_TEST_SYSTEM_MEDIA_CONTROLS_BRIDGE_TEST_UTILS_H_