| Index: mojo/dart/packages/mojo_services/lib/mojo/cookie_store.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo_services/lib/mojo/cookie_store.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/cookie_store.mojom.dart
|
| index b207a51c165641ebf3e116a08898a8eb0fbfa0bb..eeaae1f5659a476cf632a68790f2af2b95ea9a38 100644
|
| --- a/mojo/dart/packages/mojo_services/lib/mojo/cookie_store.mojom.dart
|
| +++ b/mojo/dart/packages/mojo_services/lib/mojo/cookie_store.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;
|
|
|
|
|
|
|
| @@ -78,6 +80,8 @@ class _CookieStoreGetParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class CookieStoreGetResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -145,6 +149,8 @@ class CookieStoreGetResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _CookieStoreSetParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -221,6 +227,8 @@ class _CookieStoreSetParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class CookieStoreSetResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -287,9 +295,22 @@ class CookieStoreSetResponseParams extends bindings.Struct {
|
| }
|
| }
|
|
|
| +
|
| +
|
| +
|
| const int _CookieStore_getName = 0;
|
| const int _CookieStore_setName = 1;
|
|
|
| +
|
| +
|
| +class _CookieStoreServiceDescription implements service_describer.ServiceDescription {
|
| + dynamic getTopLevelInterface([Function responseFactory]) => null;
|
| +
|
| + dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null;
|
| +
|
| + dynamic getAllTypeDefinitions([Function responseFactory]) => null;
|
| +}
|
| +
|
| abstract class CookieStore {
|
| static const String serviceName = null;
|
| dynamic get(String url,[Function responseFactory = null]);
|
| @@ -312,6 +333,9 @@ class _CookieStoreProxyImpl extends bindings.Proxy {
|
| return new _CookieStoreProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _CookieStoreServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| case _CookieStore_getName:
|
| @@ -554,6 +578,10 @@ class CookieStoreStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _CookieStoreServiceDescription();
|
| }
|
|
|
|
|
| +
|
|
|