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

Unified Diff: mojo/services/network/interfaces/network_service.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
« no previous file with comments | « mojo/services/navigation/interfaces/navigation.mojom ('k') | mojo/services/nfc/interfaces/nfc.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/network/interfaces/network_service.mojom
diff --git a/mojo/services/network/interfaces/network_service.mojom b/mojo/services/network/interfaces/network_service.mojom
index c1f957cc376ef070684098cd4bcdba06fffd48c1..8ab0d1a4f7d14e6d8626f202fd1696f83f69c476 100644
--- a/mojo/services/network/interfaces/network_service.mojom
+++ b/mojo/services/network/interfaces/network_service.mojom
@@ -20,6 +20,7 @@ import "network/interfaces/web_socket.mojom";
// TODO Darin suggests that this should probably be two classes. One for
// high-level origin-build requests like WebSockets and HTTP, and the other for
// non-origin-bound low-level stuff like DNS, UDP, and TCP.
+[ServiceName="mojo::NetworkService"]
interface NetworkService {
CreateURLLoader(URLLoader& loader);
« no previous file with comments | « mojo/services/navigation/interfaces/navigation.mojom ('k') | mojo/services/nfc/interfaces/nfc.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698