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

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

Issue 2031973003: Use int32_t for duration property of toast (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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.cc » ('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
index 1408712e89f6ea29a4ef6567a2c302680869c862..ffa66774e3193efa4549910722892e869d3c3a15 100644
--- a/ash/system/toast/toast_data.h
+++ b/ash/system/toast/toast_data.h
@@ -12,14 +12,12 @@
namespace ash {
struct ASH_EXPORT ToastData {
- ToastData(const std::string& id,
- const std::string& text,
- uint64_t duration_ms)
+ ToastData(const std::string& id, const std::string& text, int32_t duration_ms)
: id(id), text(text), duration_ms(duration_ms) {}
std::string id;
std::string text;
- uint64_t duration_ms;
+ int32_t duration_ms;
};
} // namespace ash
« no previous file with comments | « no previous file | ash/system/toast/toast_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698