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

Unified Diff: mojo/services/terminal/interfaces/terminal.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/terminal/interfaces/terminal.mojom
diff --git a/mojo/services/terminal/interfaces/terminal.mojom b/mojo/services/terminal/interfaces/terminal.mojom
index 363312df40ad0cff7a9bf253d5db2a6a6741a655..847282f3644346b1c61954e0005ba2c17779b02e 100644
--- a/mojo/services/terminal/interfaces/terminal.mojom
+++ b/mojo/services/terminal/interfaces/terminal.mojom
@@ -12,6 +12,7 @@ import "terminal/interfaces/terminal_client.mojom";
// Interface for actual terminal programs, in particular, for a single terminal
// display. For terminals that display output and are embeddable, this will
// typically be a service provided by the |ViewManagerClient| (see |OnEmbed()|).
+[ServiceName="mojo::terminal::Terminal"]
interface Terminal {
// Connects to the terminal. If |force| is true, it will terminate any
// existing connection. The reply is sent when |terminal| is no longer
« no previous file with comments | « mojo/services/surfaces/interfaces/surfaces.mojom ('k') | mojo/services/terminal/interfaces/terminal_client.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698