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

Unified Diff: components/font_service/public/interfaces/font_service.mojom

Issue 2539383002: Replace base::File wrapping with typemapping. (Closed)
Patch Set: Created 4 years 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: components/font_service/public/interfaces/font_service.mojom
diff --git a/components/font_service/public/interfaces/font_service.mojom b/components/font_service/public/interfaces/font_service.mojom
index ea913d48f00eef6466d176edd2f708d52fd5a3c0..e4255f8121a69a858a82c3dd0e8123ec3f7e3121 100644
--- a/components/font_service/public/interfaces/font_service.mojom
+++ b/components/font_service/public/interfaces/font_service.mojom
@@ -4,6 +4,8 @@
module font_service.mojom;
+import "mojo/common/common_custom_types.mojom";
+
enum TypefaceSlant {
ROMAN = 0,
ITALIC = 1,
@@ -39,5 +41,5 @@ interface FontService {
(FontIdentity? identity, string family_name, TypefaceStyle style);
// Returns a handle to the raw font specified by |id_number|.
- OpenStream(uint32 id_number) => (handle font_handle);
+ OpenStream(uint32 id_number) => (mojo.common.mojom.File? font_handle);
};

Powered by Google App Engine
This is Rietveld 408576698