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

Unified Diff: mojo/services/surfaces/interfaces/display.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/surfaces/interfaces/display.mojom
diff --git a/mojo/services/surfaces/interfaces/display.mojom b/mojo/services/surfaces/interfaces/display.mojom
index bb9478794686539a954a95154e4fa5d09f89d85a..2a380d24e74aa9d3705cebf5cf3be2280558b950 100644
--- a/mojo/services/surfaces/interfaces/display.mojom
+++ b/mojo/services/surfaces/interfaces/display.mojom
@@ -23,6 +23,7 @@ interface Display {
};
// DisplayFactory creates new Display instances.
+[ServiceName="mojo::DisplayFactory"]
interface DisplayFactory {
// Create associates a Display that will draw to contexts produced by
// |context_provider|. Any resources submitted to the display will be
« no previous file with comments | « mojo/services/prediction/interfaces/prediction.mojom ('k') | mojo/services/surfaces/interfaces/surfaces.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698