Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Side by Side Diff: services/identity/identity_manager.h

Issue 2753753007: Introduce Identity Service and its initial usage (Closed)
Patch Set: Self-review Created 3 years, 9 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698