Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1003)

Unified Diff: components/test_runner/app_banner_client.h

Issue 1807643002: Make test_runner::AppBannerClient an internal detail of components/test_runner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self-review... Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/test_runner/test_runner.cc » ('j') | components/test_runner/test_runner.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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'.
Łukasz Anforowicz 2016/03/15 21:57:28 The comment is moved here from web_test_delegate.h
void ResolvePromise(int request_id, const std::string& platform);
private:
« no previous file with comments | « no previous file | components/test_runner/test_runner.cc » ('j') | components/test_runner/test_runner.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698