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

Unified Diff: components/arc/common/auth.mojom

Issue 2655873002: Get enrollment token from DMServer when an Active Directory user uses ARC (Closed)
Patch Set: Fix Luis's comments Created 3 years, 10 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 | « components/arc/arc_util_unittest.cc ('k') | components/policy/core/browser/cloud/message_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/common/auth.mojom
diff --git a/components/arc/common/auth.mojom b/components/arc/common/auth.mojom
index 8a6ba3c0cf7aad641dc5ddbdd3d44254327a2ad5..b937c4df25c7f78be22da0b76cb1452558b0be90 100644
--- a/components/arc/common/auth.mojom
+++ b/components/arc/common/auth.mojom
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Next MinVersion: 6
+// Next MinVersion: 7
module arc.mojom;
@@ -66,7 +66,7 @@ enum ArcSignInFailureReason {
// These values describe the type of the Chrome account to provision.
[Extensible]
enum ChromeAccountType {
- // Next value: 3
+ // Next value: 4
UNKNOWN = 0,
// Chrome login account type is a user account.
@@ -74,19 +74,28 @@ enum ChromeAccountType {
// Chrome login account type is a robot (service) account.
ROBOT_ACCOUNT = 2,
+
+ // Chrome login account type is an Active Directory account.
+ ACTIVE_DIRECTORY_ACCOUNT = 3,
};
// The necessary information for Android to sign in and provision itself.
struct AccountInfo {
- // The authorization code that can be used in Android to sign in. If it is
- // null, sign-in will be skipped.
- string? auth_code;
+ // The authorization code that can be used in Android to sign in when
+ // account_type is USER_ACCOUNT or ROBOT_ACCOUNT. If it is null in these
+ // cases, sign-in will be skipped.
+ string? auth_code@0;
+
+ // If account_type is ACTIVE_DIRECTORY_ACCOUNT, this contains an enrollment
+ // token for a Managed Google Play account. If it is null in this case,
+ // sign-in will be skipped.
+ [MinVersion=6] string? enrollment_token@3;
// The type of Chrome account to provision.
- ChromeAccountType account_type;
+ ChromeAccountType account_type@1;
// Whether the account is managed from Chrome OS.
- bool is_managed;
+ bool is_managed@2;
};
// Next Method ID: 7.
« no previous file with comments | « components/arc/arc_util_unittest.cc ('k') | components/policy/core/browser/cloud/message_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698