Chromium Code Reviews| 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 | |
|
Ken Rockot(use gerrit already)
2017/03/21 14:53:09
nitty nit: I know we don't have a mojom style guid
blundell
2017/03/24 09:37:59
Done.
| |
| 14 // Returns the AccountId for the Google account that serves as the user's | |
| 15 // primary account, or null if the user has no primary account (e.g., if they | |
| 16 // are not signed in). | |
| 17 GetPrimaryAccountId() => (signin.mojom.AccountId? account_id); | |
| 18 }; | |
| OLD | NEW |