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

Unified Diff: ash/common/session/session_types.h

Issue 2538113005: mash: Move session_types.h to ash/public (Closed)
Patch Set: fix gn deps Created 4 years 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/session/session_state_delegate.h ('k') | ash/common/system/user/tray_user.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/session/session_types.h
diff --git a/ash/common/session/session_types.h b/ash/common/session/session_types.h
deleted file mode 100644
index 6c7b079b499a24634b770bd1e14fb6acbbde967c..0000000000000000000000000000000000000000
--- a/ash/common/session/session_types.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2015 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_SESSION_SESSION_TYPES_H_
-#define ASH_COMMON_SESSION_SESSION_TYPES_H_
-
-namespace ash {
-
-// The index of the user profile to use. The list is always LRU sorted so that
-// index 0 is the currently active user.
-using UserIndex = int;
-
-// Represents possible user adding scenarios.
-enum class AddUserSessionPolicy {
- // Adding a user is allowed.
- ALLOWED,
- // Disallowed due to primary user's policy.
- ERROR_NOT_ALLOWED_PRIMARY_USER,
- // Disallowed due to no eligible users.
- ERROR_NO_ELIGIBLE_USERS,
- // Disallowed due to reaching maximum supported user.
- ERROR_MAXIMUM_USERS_REACHED,
-};
-
-} // namespace ash
-
-#endif // ASH_COMMON_SESSION_SESSION_TYPES_H_
« no previous file with comments | « ash/common/session/session_state_delegate.h ('k') | ash/common/system/user/tray_user.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698