OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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 ASH_SYSTEM_TOAST_TOAST_DATA_H_ |
| 6 #define ASH_SYSTEM_TOAST_TOAST_DATA_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "ash/ash_export.h" |
| 11 |
| 12 namespace ash { |
| 13 |
| 14 struct ASH_EXPORT ToastData { |
| 15 ToastData(const std::string& id, |
| 16 const std::string& text, |
| 17 uint64_t duration_ms) |
| 18 : id(id), text(text), duration_ms(duration_ms) {} |
| 19 |
| 20 std::string id; |
| 21 std::string text; |
| 22 uint64_t duration_ms; |
| 23 }; |
| 24 |
| 25 } // namespace ash |
| 26 |
| 27 #endif // ASH_SYSTEM_TOAST_TOAST_DATA_H_ |
OLD | NEW |