| Index: components/test_runner/app_banner_client.h
|
| diff --git a/components/test_runner/app_banner_client.h b/components/test_runner/app_banner_client.h
|
| index 0439baf8e42ae4810d8589f7242b875e4ad59081..dfd7798726669a58c97b25563bc418dced849e2e 100644
|
| --- a/components/test_runner/app_banner_client.h
|
| +++ b/components/test_runner/app_banner_client.h
|
| @@ -26,6 +26,10 @@ class TEST_RUNNER_EXPORT AppBannerClient
|
| int requestId,
|
| blink::WebAppBannerCallbacks* callbacks) override;
|
|
|
| + // Resolve the promise associated with the beforeinstallprompt event with the
|
| + // given |request_id|. The promise is resolved with a result.platform set to
|
| + // |platform|. If |platform| is not empty, result.outcome will be 'accepted',
|
| + // otherwise it will be 'dismissed'.
|
| void ResolvePromise(int request_id, const std::string& platform);
|
|
|
| private:
|
|
|