Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / public / platform / modules / app_banner / WebAppBannerPromptResult.h
blobef261cd22cc1fe17da098742598fa7580f7c6ea3
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef WebAppBannerPromptResult_h
6 #define WebAppBannerPromptResult_h
8 #include "public/platform/WebString.h"
10 namespace blink {
12 struct WebAppBannerPromptResult {
13 enum class Outcome { Accepted, Dismissed };
15 WebAppBannerPromptResult(const WebString& platform, Outcome outcome)
16 : platform(platform)
17 , outcome(outcome)
21 WebString platform;
22 Outcome outcome;
25 } // namespace blink
27 #endif // WebAppBannerPromptResult_h