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

Unified Diff: third_party/WebKit/Source/modules/app_banner/AppBannerCallbacks.cpp

Issue 2393513004: Convert app banners to use Mojo. (Closed)
Patch Set: Add TODO Created 4 years, 2 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: third_party/WebKit/Source/modules/app_banner/AppBannerCallbacks.cpp
diff --git a/third_party/WebKit/Source/modules/app_banner/AppBannerCallbacks.cpp b/third_party/WebKit/Source/modules/app_banner/AppBannerCallbacks.cpp
deleted file mode 100644
index ae679a0040a079f38116c0df72b4de0101c83408..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/modules/app_banner/AppBannerCallbacks.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "modules/app_banner/AppBannerCallbacks.h"
-
-namespace blink {
-
-AppBannerCallbacks::AppBannerCallbacks(UserChoiceProperty* userChoice)
- : m_userChoice(userChoice) {}
-
-void AppBannerCallbacks::onSuccess(const WebAppBannerPromptResult& result) {
- m_userChoice->resolve(
- AppBannerPromptResult::create(result.platform, result.outcome));
-}
-
-} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698