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

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

Issue 2139183003: mash: Migrate //ash/system/toast to WM common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move test back Created 4 years, 5 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 | « ash/system/toast/OWNERS ('k') | ash/system/toast/toast_data.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
deleted file mode 100644
index 0389abc9f592d820d59f0c9966dcc46c4d31df65..0000000000000000000000000000000000000000
--- a/ash/system/toast/toast_data.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// 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 {
- // "|duration_ms| == -1" means the toast view should be displayed until the
- // dismiss button is clicked.
- static const int32_t kInfiniteDuration = -1;
-
- ToastData(std::string id,
- std::string text,
- int32_t duration_ms,
- std::string dismiss_text);
- ToastData(const ToastData& other);
-
- std::string id;
- std::string text;
- int32_t duration_ms;
- std::string dismiss_text;
-};
-
-} // namespace ash
-
-#endif // ASH_SYSTEM_TOAST_TOAST_DATA_H_
« no previous file with comments | « ash/system/toast/OWNERS ('k') | ash/system/toast/toast_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698