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

Unified Diff: ash/system/toast/toast_data.h

Issue 1978313002: Support cancelling toast (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use std::deque instead of vector Created 4 years, 7 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
« no previous file with comments | « no previous file | ash/system/toast/toast_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/toast/toast_data.h
diff --git a/ash/system/toast/toast_data.h b/ash/system/toast/toast_data.h
new file mode 100644
index 0000000000000000000000000000000000000000..1408712e89f6ea29a4ef6567a2c302680869c862
--- /dev/null
+++ b/ash/system/toast/toast_data.h
@@ -0,0 +1,27 @@
+// Copyright 2016 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.
+
+#ifndef ASH_SYSTEM_TOAST_TOAST_DATA_H_
+#define ASH_SYSTEM_TOAST_TOAST_DATA_H_
+
+#include <string>
+
+#include "ash/ash_export.h"
+
+namespace ash {
+
+struct ASH_EXPORT ToastData {
+ ToastData(const std::string& id,
+ const std::string& text,
+ uint64_t duration_ms)
+ : id(id), text(text), duration_ms(duration_ms) {}
+
+ std::string id;
+ std::string text;
+ uint64_t duration_ms;
+};
+
+} // namespace ash
+
+#endif // ASH_SYSTEM_TOAST_TOAST_DATA_H_
« no previous file with comments | « no previous file | ash/system/toast/toast_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698