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

Unified Diff: mojo/services/vanadium/security/interfaces/principal.mojom

Issue 1454113003: Require an explicit ServiceName annotation for interfaces in C++. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 1 month 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: mojo/services/vanadium/security/interfaces/principal.mojom
diff --git a/mojo/services/vanadium/security/interfaces/principal.mojom b/mojo/services/vanadium/security/interfaces/principal.mojom
index d2493a3f406b386bf725ddc1ccae540998bdaae2..c20f8d3049acd7fd2e22cd4464aba63aa9fa407d 100644
--- a/mojo/services/vanadium/security/interfaces/principal.mojom
+++ b/mojo/services/vanadium/security/interfaces/principal.mojom
@@ -35,6 +35,7 @@ struct User {
// A service that binds user identities to an application instance running in
// Mojo. An application instance may have multiple user identities with one of
// them set as the current identity.
+[ServiceName="vanadium::PrincipalService"]
interface PrincipalService {
// Login is called by an application instance (requestor_url/qualifier) that
// wants to get a new user identity. The service may obtain the user identity

Powered by Google App Engine
This is Rietveld 408576698