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

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

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase Created 3 years, 9 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/common/system/toast/OWNERS ('k') | ash/common/system/toast/toast_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/toast/toast_data.h
diff --git a/ash/common/system/toast/toast_data.h b/ash/common/system/toast/toast_data.h
deleted file mode 100644
index a12e073bda9868a7f86dd788924b9ecbc3175603..0000000000000000000000000000000000000000
--- a/ash/common/system/toast/toast_data.h
+++ /dev/null
@@ -1,36 +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_COMMON_SYSTEM_TOAST_TOAST_DATA_H_
-#define ASH_COMMON_SYSTEM_TOAST_TOAST_DATA_H_
-
-#include <string>
-
-#include "ash/ash_export.h"
-#include "base/optional.h"
-#include "base/strings/string16.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,
- const base::string16& text,
- int32_t duration_ms,
- const base::Optional<base::string16>& dismiss_text);
- ToastData(const ToastData& other);
- ~ToastData();
-
- std::string id;
- base::string16 text;
- int32_t duration_ms;
- base::Optional<base::string16> dismiss_text;
-};
-
-} // namespace ash
-
-#endif // ASH_COMMON_SYSTEM_TOAST_TOAST_DATA_H_
« no previous file with comments | « ash/common/system/toast/OWNERS ('k') | ash/common/system/toast/toast_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698