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

Unified Diff: mojo/services/device_info/interfaces/device_info.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/device_info/interfaces/device_info.mojom
diff --git a/mojo/services/device_info/interfaces/device_info.mojom b/mojo/services/device_info/interfaces/device_info.mojom
index d31118d666326659b3a657dd3989f8797bc7ce0b..8df6e5df8acfaee1beabda973b32191254cc131d 100644
--- a/mojo/services/device_info/interfaces/device_info.mojom
+++ b/mojo/services/device_info/interfaces/device_info.mojom
@@ -7,6 +7,7 @@ module mojo;
// A service to expose device specific information.
// All operations are stateless.
+[ServiceName="mojo::DeviceInfo"]
interface DeviceInfo {
// The device type this service is running on. It can be a function of things
// like whether there's an attached screen and its size, etc.
« no previous file with comments | « mojo/services/content_handler/interfaces/content_handler.mojom ('k') | mojo/services/files/interfaces/files.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698