| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 #ifndef WebAppBannerPromptResult_h | |
| 6 #define WebAppBannerPromptResult_h | |
| 7 | |
| 8 #include "public/platform/WebString.h" | |
| 9 | |
| 10 namespace blink { | |
| 11 | |
| 12 struct WebAppBannerPromptResult { | |
| 13 enum class Outcome { Accepted, Dismissed }; | |
| 14 | |
| 15 WebAppBannerPromptResult(const WebString& platform, Outcome outcome) | |
| 16 : platform(platform), outcome(outcome) {} | |
| 17 | |
| 18 WebString platform; | |
| 19 Outcome outcome; | |
| 20 }; | |
| 21 | |
| 22 } // namespace blink | |
| 23 | |
| 24 #endif // WebAppBannerPromptResult_h | |
| OLD | NEW |