OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 module identity.mojom; |
| 6 |
| 7 // TODO(blundell): Move account_id.mojom to |
| 8 // //services/identity/public/interfaces. |
| 9 import "components/signin/public/interfaces/account_id.mojom"; |
| 10 |
| 11 // Gives access to information about the user's Google accounts. |
| 12 interface IdentityManager { |
| 13 // Returns the AccountId for the Google account that serves as the user's |
| 14 // primary account, or null if the user has no primary account (e.g., if they |
| 15 // are not signed in). |
| 16 GetPrimaryAccountId() => (signin.mojom.AccountId? account_id); |
| 17 }; |
OLD | NEW |