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

Unified Diff: services/identity/identity_manager.h

Issue 2753753007: Introduce Identity Service and its initial usage (Closed)
Patch Set: Response to reviews 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/identity/README.md ('k') | services/identity/identity_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/identity/identity_manager.h
diff --git a/services/identity/identity_manager.h b/services/identity/identity_manager.h
new file mode 100644
index 0000000000000000000000000000000000000000..f024bf5b1a160d3953fea7237d79d385ed450c4f
--- /dev/null
+++ b/services/identity/identity_manager.h
@@ -0,0 +1,32 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef SERVICES_IDENTITY_IDENTITY_MANAGER_H_
+#define SERVICES_IDENTITY_IDENTITY_MANAGER_H_
+
+#include "services/identity/public/interfaces/identity_manager.mojom.h"
+
+class SigninManagerBase;
+
+namespace identity {
+
+class IdentityManager : public mojom::IdentityManager {
+ public:
+ static void Create(mojom::IdentityManagerRequest request,
+ SigninManagerBase* signin_manager);
+
+ IdentityManager(SigninManagerBase* signin_manager);
+ ~IdentityManager() override;
+
+ private:
+ // mojom::IdentityManager:
+ void GetPrimaryAccountId(
+ const GetPrimaryAccountIdCallback& callback) override;
+
+ SigninManagerBase* signin_manager_;
+};
+
+} // namespace identity
+
+#endif // SERVICES_IDENTITY_IDENTITY_MANAGER_H_
« no previous file with comments | « services/identity/README.md ('k') | services/identity/identity_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698