| Index: content/browser/gamepad/gamepad_test_helpers.h
|
| diff --git a/content/browser/gamepad/gamepad_test_helpers.h b/content/browser/gamepad/gamepad_test_helpers.h
|
| index 2aad5753b27259ca02ba5b6d051d48cb9d45dedd..bf882589f67cb99a1338168e36d7b3931e07f46b 100644
|
| --- a/content/browser/gamepad/gamepad_test_helpers.h
|
| +++ b/content/browser/gamepad/gamepad_test_helpers.h
|
| @@ -33,6 +33,11 @@ class MockGamepadDataFetcher : public GamepadDataFetcher {
|
| // fetcher on the background thread.
|
| void WaitForDataRead();
|
|
|
| + // Blocks the current thread until the GamepadProvider reads from this
|
| + // fetcher on the background thread and issued all callbacks related to the
|
| + // read on the client's thread.
|
| + void WaitForDataReadAndCallbacksIssued();
|
| +
|
| // Updates the test data.
|
| void SetTestData(const blink::WebGamepads& new_data);
|
|
|
|
|