Index: mojo/dart/packages/mojo_services/lib/mojo/camera.mojom.dart |
diff --git a/mojo/dart/packages/mojo_services/lib/mojo/camera.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/camera.mojom.dart |
index ede740b4b3b3cca63524f42688a0a3d1d871c658..e2bd88ae211766f653ca4975e2dfe1c061c5266f 100644 |
--- a/mojo/dart/packages/mojo_services/lib/mojo/camera.mojom.dart |
+++ b/mojo/dart/packages/mojo_services/lib/mojo/camera.mojom.dart |
@@ -8,6 +8,8 @@ import 'dart:async'; |
import 'package:mojo/bindings.dart' as bindings; |
import 'package:mojo/core.dart' as core; |
+import 'package:mojo/mojo/bindings/types/mojom_types.mojom.dart' as mojom_types; |
+import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as service_describer; |
@@ -85,6 +87,8 @@ class Photo extends bindings.Struct { |
} |
+ |
+ |
class _CameraRollServiceUpdateParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(8, 0) |
@@ -143,6 +147,8 @@ class _CameraRollServiceUpdateParams extends bindings.Struct { |
} |
+ |
+ |
class _CameraRollServiceGetCountParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(8, 0) |
@@ -201,6 +207,8 @@ class _CameraRollServiceGetCountParams extends bindings.Struct { |
} |
+ |
+ |
class CameraRollServiceGetCountResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -268,6 +276,8 @@ class CameraRollServiceGetCountResponseParams extends bindings.Struct { |
} |
+ |
+ |
class _CameraRollServiceGetPhotoParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -335,6 +345,8 @@ class _CameraRollServiceGetPhotoParams extends bindings.Struct { |
} |
+ |
+ |
class CameraRollServiceGetPhotoResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -402,6 +414,8 @@ class CameraRollServiceGetPhotoResponseParams extends bindings.Struct { |
} |
+ |
+ |
class _CameraServiceGetLatestFrameParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(8, 0) |
@@ -460,6 +474,8 @@ class _CameraServiceGetLatestFrameParams extends bindings.Struct { |
} |
+ |
+ |
class CameraServiceGetLatestFrameResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -525,10 +541,23 @@ class CameraServiceGetLatestFrameResponseParams extends bindings.Struct { |
} |
} |
+ |
+ |
+ |
const int _CameraRollService_updateName = 0; |
const int _CameraRollService_getCountName = 1; |
const int _CameraRollService_getPhotoName = 2; |
+ |
+ |
+class _CameraRollServiceServiceDescription implements service_describer.ServiceDescription { |
+ dynamic getTopLevelInterface([Function responseFactory]) => null; |
+ |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null; |
+ |
+ dynamic getAllTypeDefinitions([Function responseFactory]) => null; |
+} |
+ |
abstract class CameraRollService { |
static const String serviceName = "mojo::CameraRollService"; |
void update(); |
@@ -552,6 +581,9 @@ class _CameraRollServiceProxyImpl extends bindings.Proxy { |
return new _CameraRollServiceProxyImpl.fromEndpoint(endpoint); |
} |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _CameraRollServiceServiceDescription(); |
+ |
void handleResponse(bindings.ServiceMessage message) { |
switch (message.header.type) { |
case _CameraRollService_getCountName: |
@@ -805,10 +837,23 @@ class CameraRollServiceStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _CameraRollServiceServiceDescription(); |
} |
const int _CameraService_getLatestFrameName = 0; |
+ |
+ |
+class _CameraServiceServiceDescription implements service_describer.ServiceDescription { |
+ dynamic getTopLevelInterface([Function responseFactory]) => null; |
+ |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null; |
+ |
+ dynamic getAllTypeDefinitions([Function responseFactory]) => null; |
+} |
+ |
abstract class CameraService { |
static const String serviceName = "mojo::CameraService"; |
dynamic getLatestFrame([Function responseFactory = null]); |
@@ -830,6 +875,9 @@ class _CameraServiceProxyImpl extends bindings.Proxy { |
return new _CameraServiceProxyImpl.fromEndpoint(endpoint); |
} |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _CameraServiceServiceDescription(); |
+ |
void handleResponse(bindings.ServiceMessage message) { |
switch (message.header.type) { |
case _CameraService_getLatestFrameName: |
@@ -1014,6 +1062,10 @@ class CameraServiceStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _CameraServiceServiceDescription(); |
} |
+ |