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: components/safe_browsing/csd.proto

Issue 2949243004: Distinguish G Suite accounts from regular gmail/googlemail accounts (Closed)
Patch Set: address lpz's comments Created 3 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
Index: components/safe_browsing/csd.proto
diff --git a/components/safe_browsing/csd.proto b/components/safe_browsing/csd.proto
index 0e3a5aa1da36e6b56f6e6defd9598dd431015f15..8bd4119d63578c4d9fcbd22729166d492c349809 100644
--- a/components/safe_browsing/csd.proto
+++ b/components/safe_browsing/csd.proto
@@ -216,6 +216,22 @@ message LoginReputationClientRequest {
// Whether the reused password is used for Chrome signin.
optional bool is_chrome_signin_password = 3;
+
+ // Sync account type. Only set if |is_chrome_signin_password| is true.
+ enum SyncAccountType {
+ // Not a sign-in user.
+ NOT_SIGNED_IN = 0;
Nathan Parker 2017/06/27 23:06:30 Any idea when/why this could happen? Would we expe
Jialiu Lin 2017/06/28 15:40:30 It covers the case such as we cannot get the sync
+
+ // User signed in with @gmail.com, or @googlemail.com account.
+ GMAIL = 1;
+
+ // User signed in with @google.com account.
+ GOOGLE = 2;
+
+ // User signed in with a G Suite account.
+ GSUITE = 3;
+ }
+ optional SyncAccountType sync_account_type = 4;
}
optional PasswordReuseEvent password_reuse_event = 4;

Powered by Google App Engine
This is Rietveld 408576698