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 #ifndef SERVICES_IDENTITY_IDENTITY_MANAGER_H_ |
| 6 #define SERVICES_IDENTITY_IDENTITY_MANAGER_H_ |
| 7 |
| 8 #include "services/identity/public/interfaces/identity_manager.mojom.h" |
| 9 |
| 10 class SigninManagerBase; |
| 11 |
| 12 namespace identity { |
| 13 |
| 14 class IdentityManager : public mojom::IdentityManager { |
| 15 public: |
| 16 static void Create(mojom::IdentityManagerRequest request, |
| 17 SigninManagerBase* signin_manager); |
| 18 |
| 19 IdentityManager(SigninManagerBase* signin_manager); |
| 20 ~IdentityManager() override; |
| 21 |
| 22 private: |
| 23 // mojom::IdentityManager: |
| 24 void GetPrimaryAccountId( |
| 25 const GetPrimaryAccountIdCallback& callback) override; |
| 26 |
| 27 SigninManagerBase* signin_manager_; |
| 28 }; |
| 29 |
| 30 } // namespace identity |
| 31 |
| 32 #endif // SERVICES_IDENTITY_IDENTITY_MANAGER_H_ |
OLD | NEW |