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

Unified Diff: Source/modules/app_banner/AppBannerPromptResult.h

Issue 1257823003: Revert of Refactor BeforeInstallPromptEvent to use ScriptPromiseProperty (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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
Index: Source/modules/app_banner/AppBannerPromptResult.h
diff --git a/Source/modules/app_banner/AppBannerPromptResult.h b/Source/modules/app_banner/AppBannerPromptResult.h
index 3ef287620e8e8efa53fb3f2824344e11a7f8a019..a949c7d086ae61e457d92f1a613c8417b724ee16 100644
--- a/Source/modules/app_banner/AppBannerPromptResult.h
+++ b/Source/modules/app_banner/AppBannerPromptResult.h
@@ -19,7 +19,9 @@
DEFINE_WRAPPERTYPEINFO();
WTF_MAKE_NONCOPYABLE(AppBannerPromptResult);
public:
- static AppBannerPromptResult* take(PassOwnPtr<WebAppBannerPromptResult> webInstance);
+ // Support for CallbackPromiseAdapter:
+ typedef blink::WebAppBannerPromptResult WebType;
+ static AppBannerPromptResult* take(ScriptPromiseResolver*, PassOwnPtr<WebAppBannerPromptResult> webInstance);
static AppBannerPromptResult* create(const AtomicString& platform, WebAppBannerPromptResult::Outcome outcome)
{
« no previous file with comments | « Source/modules/app_banner/AppBannerController.cpp ('k') | Source/modules/app_banner/AppBannerPromptResult.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698