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

Unified Diff: mojo/services/asset_bundle/interfaces/asset_bundle.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/asset_bundle/interfaces/asset_bundle.mojom
diff --git a/mojo/services/asset_bundle/interfaces/asset_bundle.mojom b/mojo/services/asset_bundle/interfaces/asset_bundle.mojom
index e9b43cd11e8c248417ae05216b9c6ad0cc13e632..d6ccc3c9dcbd08ae6884c6a7dc97a58f5259a898 100644
--- a/mojo/services/asset_bundle/interfaces/asset_bundle.mojom
+++ b/mojo/services/asset_bundle/interfaces/asset_bundle.mojom
@@ -5,10 +5,12 @@
[DartPackage="mojo_services"]
module mojo.asset_bundle;
+[ServiceName="mojo::asset_bundle::AssetBundle"]
interface AssetBundle {
GetAsStream(string asset_name) => (handle<data_pipe_consumer> asset_data);
};
+[ServiceName="mojo::asset_bundle::AssetUnpacker"]
interface AssetUnpacker {
UnpackZipStream(handle<data_pipe_consumer> zipped_assets, AssetBundle& asset_bundle);
};

Powered by Google App Engine
This is Rietveld 408576698