chromium/components/account_id/mojom/account_id.mojom

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

module signin.mojom;

// Matches AccountType of AccountId.
enum AccountType {
  UNKNOWN,
  GOOGLE,
  ACTIVE_DIRECTORY,
};

// Mirror of AccountId in Mojo.
struct AccountId {
  AccountType account_type;
  string id;
  string user_email;
};