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

Unified Diff: services/authentication/authentication_impl_db.mojom

Issue 1163483004: Make the authentication service remember selected usernames. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Follow review Created 5 years, 6 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
Index: services/authentication/authentication_impl_db.mojom
diff --git a/services/authentication/authentication_impl_db.mojom b/services/authentication/authentication_impl_db.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..72b217d170afb082e1c78b50b6d8f38dc85975af
--- /dev/null
+++ b/services/authentication/authentication_impl_db.mojom
@@ -0,0 +1,16 @@
+// Copyright 2015 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.
+
+[JavaPackage="org.chromium.mojo.authentication"]
+module authentication;
+
+// Database for the authentication implementation.
+// This struct is used to persist state for the authentication service and is
+// not passed between services.
+struct Db {
+ // Version of the database.
+ uint32 version;
+ // Map from application to last selected account.
+ map<string, string> last_selected_accounts;
+};

Powered by Google App Engine
This is Rietveld 408576698