зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1803726 (part 2) - regenerate uniffi JS. r=bdk
Differential Revision: https://phabricator.services.mozilla.com/D163673
This commit is contained in:
Родитель
e925353b45
Коммит
2f47e5f65a
|
@ -325,10 +325,10 @@ class TabsBridgedEngine {
|
|||
}
|
||||
lastSync() {
|
||||
const liftResult = (result) => FfiConverterI64.lift(result);
|
||||
const liftError = (data) => FfiConverterTypeTabsError.lift(data);
|
||||
const liftError = (data) => FfiConverterTypeTabsApiError.lift(data);
|
||||
const functionCall = () => {
|
||||
return UniFFIScaffolding.callAsync(
|
||||
7, // tabs:tabs_4d51_TabsBridgedEngine_last_sync
|
||||
7, // tabs:tabs_edc9_TabsBridgedEngine_last_sync
|
||||
FfiConverterTypeTabsBridgedEngine.lower(this),
|
||||
)
|
||||
}
|
||||
|
@ -339,11 +339,11 @@ class TabsBridgedEngine {
|
|||
}}
|
||||
setLastSync(lastSync) {
|
||||
const liftResult = (result) => undefined;
|
||||
const liftError = (data) => FfiConverterTypeTabsError.lift(data);
|
||||
const liftError = (data) => FfiConverterTypeTabsApiError.lift(data);
|
||||
const functionCall = () => {
|
||||
FfiConverterI64.checkType("lastSync", lastSync);
|
||||
return UniFFIScaffolding.callAsync(
|
||||
8, // tabs:tabs_4d51_TabsBridgedEngine_set_last_sync
|
||||
8, // tabs:tabs_edc9_TabsBridgedEngine_set_last_sync
|
||||
FfiConverterTypeTabsBridgedEngine.lower(this),
|
||||
FfiConverterI64.lower(lastSync),
|
||||
)
|
||||
|
@ -355,10 +355,10 @@ class TabsBridgedEngine {
|
|||
}}
|
||||
syncId() {
|
||||
const liftResult = (result) => FfiConverterOptionalstring.lift(result);
|
||||
const liftError = (data) => FfiConverterTypeTabsError.lift(data);
|
||||
const liftError = (data) => FfiConverterTypeTabsApiError.lift(data);
|
||||
const functionCall = () => {
|
||||
return UniFFIScaffolding.callAsync(
|
||||
9, // tabs:tabs_4d51_TabsBridgedEngine_sync_id
|
||||
9, // tabs:tabs_edc9_TabsBridgedEngine_sync_id
|
||||
FfiConverterTypeTabsBridgedEngine.lower(this),
|
||||
)
|
||||
}
|
||||
|
@ -369,10 +369,10 @@ class TabsBridgedEngine {
|
|||
}}
|
||||
resetSyncId() {
|
||||
const liftResult = (result) => FfiConverterString.lift(result);
|
||||
const liftError = (data) => FfiConverterTypeTabsError.lift(data);
|
||||
const liftError = (data) => FfiConverterTypeTabsApiError.lift(data);
|
||||
const functionCall = () => {
|
||||
return UniFFIScaffolding.callAsync(
|
||||
10, // tabs:tabs_4d51_TabsBridgedEngine_reset_sync_id
|
||||
10, // tabs:tabs_edc9_TabsBridgedEngine_reset_sync_id
|
||||
FfiConverterTypeTabsBridgedEngine.lower(this),
|
||||
)
|
||||
}
|
||||
|
@ -383,11 +383,11 @@ class TabsBridgedEngine {
|
|||
}}
|
||||
ensureCurrentSyncId(newSyncId) {
|
||||
const liftResult = (result) => FfiConverterString.lift(result);
|
||||
const liftError = (data) => FfiConverterTypeTabsError.lift(data);
|
||||
const liftError = (data) => FfiConverterTypeTabsApiError.lift(data);
|
||||
const functionCall = () => {
|
||||
FfiConverterString.checkType("newSyncId", newSyncId);
|
||||
return UniFFIScaffolding.callAsync(
|
||||
11, // tabs:tabs_4d51_TabsBridgedEngine_ensure_current_sync_id
|
||||
11, // tabs:tabs_edc9_TabsBridgedEngine_ensure_current_sync_id
|
||||
FfiConverterTypeTabsBridgedEngine.lower(this),
|
||||
FfiConverterString.lower(newSyncId),
|
||||
)
|
||||
|
@ -399,11 +399,11 @@ class TabsBridgedEngine {
|
|||
}}
|
||||
prepareForSync(clientData) {
|
||||
const liftResult = (result) => undefined;
|
||||
const liftError = (data) => FfiConverterTypeTabsError.lift(data);
|
||||
const liftError = (data) => FfiConverterTypeTabsApiError.lift(data);
|
||||
const functionCall = () => {
|
||||
FfiConverterString.checkType("clientData", clientData);
|
||||
return UniFFIScaffolding.callAsync(
|
||||
12, // tabs:tabs_4d51_TabsBridgedEngine_prepare_for_sync
|
||||
12, // tabs:tabs_edc9_TabsBridgedEngine_prepare_for_sync
|
||||
FfiConverterTypeTabsBridgedEngine.lower(this),
|
||||
FfiConverterString.lower(clientData),
|
||||
)
|
||||
|
@ -415,10 +415,10 @@ class TabsBridgedEngine {
|
|||
}}
|
||||
syncStarted() {
|
||||
const liftResult = (result) => undefined;
|
||||
const liftError = (data) => FfiConverterTypeTabsError.lift(data);
|
||||
const liftError = (data) => FfiConverterTypeTabsApiError.lift(data);
|
||||
const functionCall = () => {
|
||||
return UniFFIScaffolding.callAsync(
|
||||
13, // tabs:tabs_4d51_TabsBridgedEngine_sync_started
|
||||
13, // tabs:tabs_edc9_TabsBridgedEngine_sync_started
|
||||
FfiConverterTypeTabsBridgedEngine.lower(this),
|
||||
)
|
||||
}
|
||||
|
@ -429,11 +429,11 @@ class TabsBridgedEngine {
|
|||
}}
|
||||
storeIncoming(incomingEnvelopesAsJson) {
|
||||
const liftResult = (result) => undefined;
|
||||
const liftError = (data) => FfiConverterTypeTabsError.lift(data);
|
||||
const liftError = (data) => FfiConverterTypeTabsApiError.lift(data);
|
||||
const functionCall = () => {
|
||||
FfiConverterSequencestring.checkType("incomingEnvelopesAsJson", incomingEnvelopesAsJson);
|
||||
return UniFFIScaffolding.callAsync(
|
||||
14, // tabs:tabs_4d51_TabsBridgedEngine_store_incoming
|
||||
14, // tabs:tabs_edc9_TabsBridgedEngine_store_incoming
|
||||
FfiConverterTypeTabsBridgedEngine.lower(this),
|
||||
FfiConverterSequencestring.lower(incomingEnvelopesAsJson),
|
||||
)
|
||||
|
@ -445,10 +445,10 @@ class TabsBridgedEngine {
|
|||
}}
|
||||
apply() {
|
||||
const liftResult = (result) => FfiConverterSequencestring.lift(result);
|
||||
const liftError = (data) => FfiConverterTypeTabsError.lift(data);
|
||||
const liftError = (data) => FfiConverterTypeTabsApiError.lift(data);
|
||||
const functionCall = () => {
|
||||
return UniFFIScaffolding.callAsync(
|
||||
15, // tabs:tabs_4d51_TabsBridgedEngine_apply
|
||||
15, // tabs:tabs_edc9_TabsBridgedEngine_apply
|
||||
FfiConverterTypeTabsBridgedEngine.lower(this),
|
||||
)
|
||||
}
|
||||
|
@ -459,12 +459,12 @@ class TabsBridgedEngine {
|
|||
}}
|
||||
setUploaded(newTimestamp,uploadedIds) {
|
||||
const liftResult = (result) => undefined;
|
||||
const liftError = (data) => FfiConverterTypeTabsError.lift(data);
|
||||
const liftError = (data) => FfiConverterTypeTabsApiError.lift(data);
|
||||
const functionCall = () => {
|
||||
FfiConverterI64.checkType("newTimestamp", newTimestamp);
|
||||
FfiConverterSequenceTypeTabsGuid.checkType("uploadedIds", uploadedIds);
|
||||
return UniFFIScaffolding.callAsync(
|
||||
16, // tabs:tabs_4d51_TabsBridgedEngine_set_uploaded
|
||||
16, // tabs:tabs_edc9_TabsBridgedEngine_set_uploaded
|
||||
FfiConverterTypeTabsBridgedEngine.lower(this),
|
||||
FfiConverterI64.lower(newTimestamp),
|
||||
FfiConverterSequenceTypeTabsGuid.lower(uploadedIds),
|
||||
|
@ -477,10 +477,10 @@ class TabsBridgedEngine {
|
|||
}}
|
||||
syncFinished() {
|
||||
const liftResult = (result) => undefined;
|
||||
const liftError = (data) => FfiConverterTypeTabsError.lift(data);
|
||||
const liftError = (data) => FfiConverterTypeTabsApiError.lift(data);
|
||||
const functionCall = () => {
|
||||
return UniFFIScaffolding.callAsync(
|
||||
17, // tabs:tabs_4d51_TabsBridgedEngine_sync_finished
|
||||
17, // tabs:tabs_edc9_TabsBridgedEngine_sync_finished
|
||||
FfiConverterTypeTabsBridgedEngine.lower(this),
|
||||
)
|
||||
}
|
||||
|
@ -491,10 +491,10 @@ class TabsBridgedEngine {
|
|||
}}
|
||||
reset() {
|
||||
const liftResult = (result) => undefined;
|
||||
const liftError = (data) => FfiConverterTypeTabsError.lift(data);
|
||||
const liftError = (data) => FfiConverterTypeTabsApiError.lift(data);
|
||||
const functionCall = () => {
|
||||
return UniFFIScaffolding.callAsync(
|
||||
18, // tabs:tabs_4d51_TabsBridgedEngine_reset
|
||||
18, // tabs:tabs_edc9_TabsBridgedEngine_reset
|
||||
FfiConverterTypeTabsBridgedEngine.lower(this),
|
||||
)
|
||||
}
|
||||
|
@ -505,10 +505,10 @@ class TabsBridgedEngine {
|
|||
}}
|
||||
wipe() {
|
||||
const liftResult = (result) => undefined;
|
||||
const liftError = (data) => FfiConverterTypeTabsError.lift(data);
|
||||
const liftError = (data) => FfiConverterTypeTabsApiError.lift(data);
|
||||
const functionCall = () => {
|
||||
return UniFFIScaffolding.callAsync(
|
||||
19, // tabs:tabs_4d51_TabsBridgedEngine_wipe
|
||||
19, // tabs:tabs_edc9_TabsBridgedEngine_wipe
|
||||
FfiConverterTypeTabsBridgedEngine.lower(this),
|
||||
)
|
||||
}
|
||||
|
@ -574,7 +574,7 @@ class TabsStore {
|
|||
const functionCall = () => {
|
||||
FfiConverterString.checkType("path", path);
|
||||
return UniFFIScaffolding.callAsync(
|
||||
0, // tabs:tabs_4d51_TabsStore_new
|
||||
0, // tabs:tabs_edc9_TabsStore_new
|
||||
FfiConverterString.lower(path),
|
||||
)
|
||||
}
|
||||
|
@ -588,7 +588,7 @@ class TabsStore {
|
|||
const liftError = null;
|
||||
const functionCall = () => {
|
||||
return UniFFIScaffolding.callAsync(
|
||||
1, // tabs:tabs_4d51_TabsStore_get_all
|
||||
1, // tabs:tabs_edc9_TabsStore_get_all
|
||||
FfiConverterTypeTabsStore.lower(this),
|
||||
)
|
||||
}
|
||||
|
@ -603,7 +603,7 @@ class TabsStore {
|
|||
const functionCall = () => {
|
||||
FfiConverterSequenceTypeRemoteTabRecord.checkType("remoteTabs", remoteTabs);
|
||||
return UniFFIScaffolding.callAsync(
|
||||
2, // tabs:tabs_4d51_TabsStore_set_local_tabs
|
||||
2, // tabs:tabs_edc9_TabsStore_set_local_tabs
|
||||
FfiConverterTypeTabsStore.lower(this),
|
||||
FfiConverterSequenceTypeRemoteTabRecord.lower(remoteTabs),
|
||||
)
|
||||
|
@ -618,7 +618,7 @@ class TabsStore {
|
|||
const liftError = null;
|
||||
const functionCall = () => {
|
||||
return UniFFIScaffolding.callAsync(
|
||||
3, // tabs:tabs_4d51_TabsStore_register_with_sync_manager
|
||||
3, // tabs:tabs_edc9_TabsStore_register_with_sync_manager
|
||||
FfiConverterTypeTabsStore.lower(this),
|
||||
)
|
||||
}
|
||||
|
@ -629,10 +629,10 @@ class TabsStore {
|
|||
}}
|
||||
reset() {
|
||||
const liftResult = (result) => undefined;
|
||||
const liftError = (data) => FfiConverterTypeTabsError.lift(data);
|
||||
const liftError = (data) => FfiConverterTypeTabsApiError.lift(data);
|
||||
const functionCall = () => {
|
||||
return UniFFIScaffolding.callAsync(
|
||||
4, // tabs:tabs_4d51_TabsStore_reset
|
||||
4, // tabs:tabs_edc9_TabsStore_reset
|
||||
FfiConverterTypeTabsStore.lower(this),
|
||||
)
|
||||
}
|
||||
|
@ -643,7 +643,7 @@ class TabsStore {
|
|||
}}
|
||||
sync(keyId,accessToken,syncKey,tokenserverUrl,localId) {
|
||||
const liftResult = (result) => FfiConverterString.lift(result);
|
||||
const liftError = (data) => FfiConverterTypeTabsError.lift(data);
|
||||
const liftError = (data) => FfiConverterTypeTabsApiError.lift(data);
|
||||
const functionCall = () => {
|
||||
FfiConverterString.checkType("keyId", keyId);
|
||||
FfiConverterString.checkType("accessToken", accessToken);
|
||||
|
@ -651,7 +651,7 @@ class TabsStore {
|
|||
FfiConverterString.checkType("tokenserverUrl", tokenserverUrl);
|
||||
FfiConverterString.checkType("localId", localId);
|
||||
return UniFFIScaffolding.callAsync(
|
||||
5, // tabs:tabs_4d51_TabsStore_sync
|
||||
5, // tabs:tabs_edc9_TabsStore_sync
|
||||
FfiConverterTypeTabsStore.lower(this),
|
||||
FfiConverterString.lower(keyId),
|
||||
FfiConverterString.lower(accessToken),
|
||||
|
@ -670,7 +670,7 @@ class TabsStore {
|
|||
const liftError = null;
|
||||
const functionCall = () => {
|
||||
return UniFFIScaffolding.callAsync(
|
||||
6, // tabs:tabs_4d51_TabsStore_bridged_engine
|
||||
6, // tabs:tabs_edc9_TabsStore_bridged_engine
|
||||
FfiConverterTypeTabsStore.lower(this),
|
||||
)
|
||||
}
|
||||
|
@ -712,14 +712,16 @@ EXPORTED_SYMBOLS.push("TabsStore");
|
|||
EXPORTED_SYMBOLS.push("FfiConverterTypeTabsStore");
|
||||
|
||||
class ClientRemoteTabs {
|
||||
constructor(clientId,clientName,deviceType,remoteTabs) {
|
||||
constructor(clientId,clientName,deviceType,lastModified,remoteTabs) {
|
||||
FfiConverterString.checkType("clientId", clientId);
|
||||
FfiConverterString.checkType("clientName", clientName);
|
||||
FfiConverterTypeTabsDeviceType.checkType("deviceType", deviceType);
|
||||
FfiConverterI64.checkType("lastModified", lastModified);
|
||||
FfiConverterSequenceTypeRemoteTabRecord.checkType("remoteTabs", remoteTabs);
|
||||
this.clientId = clientId;
|
||||
this.clientName = clientName;
|
||||
this.deviceType = deviceType;
|
||||
this.lastModified = lastModified;
|
||||
this.remoteTabs = remoteTabs;
|
||||
}
|
||||
equals(other) {
|
||||
|
@ -727,6 +729,7 @@ class ClientRemoteTabs {
|
|||
this.clientId == other.clientId &&
|
||||
this.clientName == other.clientName &&
|
||||
this.deviceType == other.deviceType &&
|
||||
this.lastModified == other.lastModified &&
|
||||
this.remoteTabs == other.remoteTabs
|
||||
)
|
||||
}
|
||||
|
@ -747,6 +750,7 @@ class FfiConverterTypeClientRemoteTabs extends FfiConverter {
|
|||
FfiConverterString.read(dataStream),
|
||||
FfiConverterString.read(dataStream),
|
||||
FfiConverterTypeTabsDeviceType.read(dataStream),
|
||||
FfiConverterI64.read(dataStream),
|
||||
FfiConverterSequenceTypeRemoteTabRecord.read(dataStream)
|
||||
);
|
||||
}
|
||||
|
@ -754,6 +758,7 @@ class FfiConverterTypeClientRemoteTabs extends FfiConverter {
|
|||
FfiConverterString.write(dataStream, value.clientId);
|
||||
FfiConverterString.write(dataStream, value.clientName);
|
||||
FfiConverterTypeTabsDeviceType.write(dataStream, value.deviceType);
|
||||
FfiConverterI64.write(dataStream, value.lastModified);
|
||||
FfiConverterSequenceTypeRemoteTabRecord.write(dataStream, value.remoteTabs);
|
||||
}
|
||||
|
||||
|
@ -762,6 +767,7 @@ class FfiConverterTypeClientRemoteTabs extends FfiConverter {
|
|||
totalSize += FfiConverterString.computeSize(value.clientId);
|
||||
totalSize += FfiConverterString.computeSize(value.clientName);
|
||||
totalSize += FfiConverterTypeTabsDeviceType.computeSize(value.deviceType);
|
||||
totalSize += FfiConverterI64.computeSize(value.lastModified);
|
||||
totalSize += FfiConverterSequenceTypeRemoteTabRecord.computeSize(value.remoteTabs);
|
||||
return totalSize
|
||||
}
|
||||
|
@ -903,92 +909,67 @@ EXPORTED_SYMBOLS.push("FfiConverterTypeTabsDeviceType");
|
|||
|
||||
|
||||
|
||||
class TabsError extends Error {}
|
||||
EXPORTED_SYMBOLS.push("TabsError");
|
||||
class TabsApiError extends Error {}
|
||||
EXPORTED_SYMBOLS.push("TabsApiError");
|
||||
|
||||
|
||||
class SyncAdapterError extends TabsError {
|
||||
class SyncError extends TabsApiError {
|
||||
|
||||
constructor(message, ...params) {
|
||||
super(...params);
|
||||
this.message = message;
|
||||
}
|
||||
constructor(
|
||||
reason,
|
||||
...params
|
||||
) {
|
||||
super(...params);
|
||||
this.reason = reason;
|
||||
}
|
||||
}
|
||||
EXPORTED_SYMBOLS.push("SyncAdapterError");
|
||||
class SyncResetError extends TabsError {
|
||||
EXPORTED_SYMBOLS.push("SyncError");
|
||||
class SqlError extends TabsApiError {
|
||||
|
||||
constructor(message, ...params) {
|
||||
super(...params);
|
||||
this.message = message;
|
||||
}
|
||||
}
|
||||
EXPORTED_SYMBOLS.push("SyncResetError");
|
||||
class JsonError extends TabsError {
|
||||
|
||||
constructor(message, ...params) {
|
||||
super(...params);
|
||||
this.message = message;
|
||||
}
|
||||
}
|
||||
EXPORTED_SYMBOLS.push("JsonError");
|
||||
class MissingLocalIdError extends TabsError {
|
||||
|
||||
constructor(message, ...params) {
|
||||
super(...params);
|
||||
this.message = message;
|
||||
}
|
||||
}
|
||||
EXPORTED_SYMBOLS.push("MissingLocalIdError");
|
||||
class UrlParseError extends TabsError {
|
||||
|
||||
constructor(message, ...params) {
|
||||
super(...params);
|
||||
this.message = message;
|
||||
}
|
||||
}
|
||||
EXPORTED_SYMBOLS.push("UrlParseError");
|
||||
class SqlError extends TabsError {
|
||||
|
||||
constructor(message, ...params) {
|
||||
super(...params);
|
||||
this.message = message;
|
||||
}
|
||||
constructor(
|
||||
reason,
|
||||
...params
|
||||
) {
|
||||
super(...params);
|
||||
this.reason = reason;
|
||||
}
|
||||
}
|
||||
EXPORTED_SYMBOLS.push("SqlError");
|
||||
class OpenDatabaseError extends TabsError {
|
||||
class UnexpectedTabsError extends TabsApiError {
|
||||
|
||||
constructor(message, ...params) {
|
||||
super(...params);
|
||||
this.message = message;
|
||||
}
|
||||
constructor(
|
||||
reason,
|
||||
...params
|
||||
) {
|
||||
super(...params);
|
||||
this.reason = reason;
|
||||
}
|
||||
}
|
||||
EXPORTED_SYMBOLS.push("OpenDatabaseError");
|
||||
EXPORTED_SYMBOLS.push("UnexpectedTabsError");
|
||||
|
||||
class FfiConverterTypeTabsError extends FfiConverterArrayBuffer {
|
||||
class FfiConverterTypeTabsApiError extends FfiConverterArrayBuffer {
|
||||
static read(dataStream) {
|
||||
switch (dataStream.readInt32()) {
|
||||
case 1:
|
||||
return new SyncAdapterError(FfiConverterString.read(dataStream));
|
||||
return new SyncError(
|
||||
FfiConverterString.read(dataStream)
|
||||
);
|
||||
case 2:
|
||||
return new SyncResetError(FfiConverterString.read(dataStream));
|
||||
return new SqlError(
|
||||
FfiConverterString.read(dataStream)
|
||||
);
|
||||
case 3:
|
||||
return new JsonError(FfiConverterString.read(dataStream));
|
||||
case 4:
|
||||
return new MissingLocalIdError(FfiConverterString.read(dataStream));
|
||||
case 5:
|
||||
return new UrlParseError(FfiConverterString.read(dataStream));
|
||||
case 6:
|
||||
return new SqlError(FfiConverterString.read(dataStream));
|
||||
case 7:
|
||||
return new OpenDatabaseError(FfiConverterString.read(dataStream));
|
||||
return new UnexpectedTabsError(
|
||||
FfiConverterString.read(dataStream)
|
||||
);
|
||||
default:
|
||||
return new Error("Unknown TabsError variant");
|
||||
return new Error("Unknown TabsApiError variant");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Export the FFIConverter object to make external types work.
|
||||
EXPORTED_SYMBOLS.push("FfiConverterTypeTabsError");
|
||||
EXPORTED_SYMBOLS.push("FfiConverterTypeTabsApiError");
|
||||
|
||||
class FfiConverterOptionalstring extends FfiConverterArrayBuffer {
|
||||
static checkType(name, value) {
|
||||
|
|
|
@ -19,121 +19,121 @@ using dom::UniFFIScaffoldingCallResult;
|
|||
|
||||
// Define scaffolding functions from UniFFI
|
||||
extern "C" {
|
||||
void ffi_tabs_4d51_TabsStore_object_free(void *, RustCallStatus*);
|
||||
void * tabs_4d51_TabsStore_new(RustBuffer, RustCallStatus*);
|
||||
RustBuffer tabs_4d51_TabsStore_get_all(void *, RustCallStatus*);
|
||||
void tabs_4d51_TabsStore_set_local_tabs(void *, RustBuffer, RustCallStatus*);
|
||||
void tabs_4d51_TabsStore_register_with_sync_manager(void *, RustCallStatus*);
|
||||
void tabs_4d51_TabsStore_reset(void *, RustCallStatus*);
|
||||
RustBuffer tabs_4d51_TabsStore_sync(void *, RustBuffer, RustBuffer, RustBuffer, RustBuffer, RustBuffer, RustCallStatus*);
|
||||
void * tabs_4d51_TabsStore_bridged_engine(void *, RustCallStatus*);
|
||||
void ffi_tabs_4d51_TabsBridgedEngine_object_free(void *, RustCallStatus*);
|
||||
int64_t tabs_4d51_TabsBridgedEngine_last_sync(void *, RustCallStatus*);
|
||||
void tabs_4d51_TabsBridgedEngine_set_last_sync(void *, int64_t, RustCallStatus*);
|
||||
RustBuffer tabs_4d51_TabsBridgedEngine_sync_id(void *, RustCallStatus*);
|
||||
RustBuffer tabs_4d51_TabsBridgedEngine_reset_sync_id(void *, RustCallStatus*);
|
||||
RustBuffer tabs_4d51_TabsBridgedEngine_ensure_current_sync_id(void *, RustBuffer, RustCallStatus*);
|
||||
void tabs_4d51_TabsBridgedEngine_prepare_for_sync(void *, RustBuffer, RustCallStatus*);
|
||||
void tabs_4d51_TabsBridgedEngine_sync_started(void *, RustCallStatus*);
|
||||
void tabs_4d51_TabsBridgedEngine_store_incoming(void *, RustBuffer, RustCallStatus*);
|
||||
RustBuffer tabs_4d51_TabsBridgedEngine_apply(void *, RustCallStatus*);
|
||||
void tabs_4d51_TabsBridgedEngine_set_uploaded(void *, int64_t, RustBuffer, RustCallStatus*);
|
||||
void tabs_4d51_TabsBridgedEngine_sync_finished(void *, RustCallStatus*);
|
||||
void tabs_4d51_TabsBridgedEngine_reset(void *, RustCallStatus*);
|
||||
void tabs_4d51_TabsBridgedEngine_wipe(void *, RustCallStatus*);
|
||||
void ffi_tabs_edc9_TabsStore_object_free(void *, RustCallStatus*);
|
||||
void * tabs_edc9_TabsStore_new(RustBuffer, RustCallStatus*);
|
||||
RustBuffer tabs_edc9_TabsStore_get_all(void *, RustCallStatus*);
|
||||
void tabs_edc9_TabsStore_set_local_tabs(void *, RustBuffer, RustCallStatus*);
|
||||
void tabs_edc9_TabsStore_register_with_sync_manager(void *, RustCallStatus*);
|
||||
void tabs_edc9_TabsStore_reset(void *, RustCallStatus*);
|
||||
RustBuffer tabs_edc9_TabsStore_sync(void *, RustBuffer, RustBuffer, RustBuffer, RustBuffer, RustBuffer, RustCallStatus*);
|
||||
void * tabs_edc9_TabsStore_bridged_engine(void *, RustCallStatus*);
|
||||
void ffi_tabs_edc9_TabsBridgedEngine_object_free(void *, RustCallStatus*);
|
||||
int64_t tabs_edc9_TabsBridgedEngine_last_sync(void *, RustCallStatus*);
|
||||
void tabs_edc9_TabsBridgedEngine_set_last_sync(void *, int64_t, RustCallStatus*);
|
||||
RustBuffer tabs_edc9_TabsBridgedEngine_sync_id(void *, RustCallStatus*);
|
||||
RustBuffer tabs_edc9_TabsBridgedEngine_reset_sync_id(void *, RustCallStatus*);
|
||||
RustBuffer tabs_edc9_TabsBridgedEngine_ensure_current_sync_id(void *, RustBuffer, RustCallStatus*);
|
||||
void tabs_edc9_TabsBridgedEngine_prepare_for_sync(void *, RustBuffer, RustCallStatus*);
|
||||
void tabs_edc9_TabsBridgedEngine_sync_started(void *, RustCallStatus*);
|
||||
void tabs_edc9_TabsBridgedEngine_store_incoming(void *, RustBuffer, RustCallStatus*);
|
||||
RustBuffer tabs_edc9_TabsBridgedEngine_apply(void *, RustCallStatus*);
|
||||
void tabs_edc9_TabsBridgedEngine_set_uploaded(void *, int64_t, RustBuffer, RustCallStatus*);
|
||||
void tabs_edc9_TabsBridgedEngine_sync_finished(void *, RustCallStatus*);
|
||||
void tabs_edc9_TabsBridgedEngine_reset(void *, RustCallStatus*);
|
||||
void tabs_edc9_TabsBridgedEngine_wipe(void *, RustCallStatus*);
|
||||
}
|
||||
|
||||
// Define pointer types
|
||||
const static mozilla::uniffi::UniFFIPointerType kTabsTabsStorePointerType {
|
||||
"tabs::TabsStore"_ns,
|
||||
ffi_tabs_4d51_TabsStore_object_free
|
||||
ffi_tabs_edc9_TabsStore_object_free
|
||||
};
|
||||
const static mozilla::uniffi::UniFFIPointerType kTabsTabsBridgedEnginePointerType {
|
||||
"tabs::TabsBridgedEngine"_ns,
|
||||
ffi_tabs_4d51_TabsBridgedEngine_object_free
|
||||
ffi_tabs_edc9_TabsBridgedEngine_object_free
|
||||
};
|
||||
|
||||
Maybe<already_AddRefed<Promise>> UniFFICallAsync(const GlobalObject& aGlobal, uint64_t aId, const Sequence<ScaffoldingType>& aArgs, ErrorResult& aError) {
|
||||
switch (aId) {
|
||||
case 0: { // tabs:tabs_4d51_TabsStore_new
|
||||
case 0: { // tabs:tabs_edc9_TabsStore_new
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingObjectConverter<&kTabsTabsStorePointerType>, ScaffoldingConverter<RustBuffer>>;
|
||||
return Some(CallHandler::CallAsync(tabs_4d51_TabsStore_new, aGlobal, aArgs, "tabs_4d51_TabsStore_new: "_ns, aError));
|
||||
return Some(CallHandler::CallAsync(tabs_edc9_TabsStore_new, aGlobal, aArgs, "tabs_edc9_TabsStore_new: "_ns, aError));
|
||||
}
|
||||
case 1: { // tabs:tabs_4d51_TabsStore_get_all
|
||||
case 1: { // tabs:tabs_edc9_TabsStore_get_all
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<RustBuffer>, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>;
|
||||
return Some(CallHandler::CallAsync(tabs_4d51_TabsStore_get_all, aGlobal, aArgs, "tabs_4d51_TabsStore_get_all: "_ns, aError));
|
||||
return Some(CallHandler::CallAsync(tabs_edc9_TabsStore_get_all, aGlobal, aArgs, "tabs_edc9_TabsStore_get_all: "_ns, aError));
|
||||
}
|
||||
case 2: { // tabs:tabs_4d51_TabsStore_set_local_tabs
|
||||
case 2: { // tabs:tabs_edc9_TabsStore_set_local_tabs
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<void>, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>, ScaffoldingConverter<RustBuffer>>;
|
||||
return Some(CallHandler::CallAsync(tabs_4d51_TabsStore_set_local_tabs, aGlobal, aArgs, "tabs_4d51_TabsStore_set_local_tabs: "_ns, aError));
|
||||
return Some(CallHandler::CallAsync(tabs_edc9_TabsStore_set_local_tabs, aGlobal, aArgs, "tabs_edc9_TabsStore_set_local_tabs: "_ns, aError));
|
||||
}
|
||||
case 3: { // tabs:tabs_4d51_TabsStore_register_with_sync_manager
|
||||
case 3: { // tabs:tabs_edc9_TabsStore_register_with_sync_manager
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<void>, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>;
|
||||
return Some(CallHandler::CallAsync(tabs_4d51_TabsStore_register_with_sync_manager, aGlobal, aArgs, "tabs_4d51_TabsStore_register_with_sync_manager: "_ns, aError));
|
||||
return Some(CallHandler::CallAsync(tabs_edc9_TabsStore_register_with_sync_manager, aGlobal, aArgs, "tabs_edc9_TabsStore_register_with_sync_manager: "_ns, aError));
|
||||
}
|
||||
case 4: { // tabs:tabs_4d51_TabsStore_reset
|
||||
case 4: { // tabs:tabs_edc9_TabsStore_reset
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<void>, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>;
|
||||
return Some(CallHandler::CallAsync(tabs_4d51_TabsStore_reset, aGlobal, aArgs, "tabs_4d51_TabsStore_reset: "_ns, aError));
|
||||
return Some(CallHandler::CallAsync(tabs_edc9_TabsStore_reset, aGlobal, aArgs, "tabs_edc9_TabsStore_reset: "_ns, aError));
|
||||
}
|
||||
case 5: { // tabs:tabs_4d51_TabsStore_sync
|
||||
case 5: { // tabs:tabs_edc9_TabsStore_sync
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<RustBuffer>, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>, ScaffoldingConverter<RustBuffer>, ScaffoldingConverter<RustBuffer>, ScaffoldingConverter<RustBuffer>, ScaffoldingConverter<RustBuffer>, ScaffoldingConverter<RustBuffer>>;
|
||||
return Some(CallHandler::CallAsync(tabs_4d51_TabsStore_sync, aGlobal, aArgs, "tabs_4d51_TabsStore_sync: "_ns, aError));
|
||||
return Some(CallHandler::CallAsync(tabs_edc9_TabsStore_sync, aGlobal, aArgs, "tabs_edc9_TabsStore_sync: "_ns, aError));
|
||||
}
|
||||
case 6: { // tabs:tabs_4d51_TabsStore_bridged_engine
|
||||
case 6: { // tabs:tabs_edc9_TabsStore_bridged_engine
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>;
|
||||
return Some(CallHandler::CallAsync(tabs_4d51_TabsStore_bridged_engine, aGlobal, aArgs, "tabs_4d51_TabsStore_bridged_engine: "_ns, aError));
|
||||
return Some(CallHandler::CallAsync(tabs_edc9_TabsStore_bridged_engine, aGlobal, aArgs, "tabs_edc9_TabsStore_bridged_engine: "_ns, aError));
|
||||
}
|
||||
case 7: { // tabs:tabs_4d51_TabsBridgedEngine_last_sync
|
||||
case 7: { // tabs:tabs_edc9_TabsBridgedEngine_last_sync
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<int64_t>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>;
|
||||
return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_last_sync, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_last_sync: "_ns, aError));
|
||||
return Some(CallHandler::CallAsync(tabs_edc9_TabsBridgedEngine_last_sync, aGlobal, aArgs, "tabs_edc9_TabsBridgedEngine_last_sync: "_ns, aError));
|
||||
}
|
||||
case 8: { // tabs:tabs_4d51_TabsBridgedEngine_set_last_sync
|
||||
case 8: { // tabs:tabs_edc9_TabsBridgedEngine_set_last_sync
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<void>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter<int64_t>>;
|
||||
return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_set_last_sync, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_set_last_sync: "_ns, aError));
|
||||
return Some(CallHandler::CallAsync(tabs_edc9_TabsBridgedEngine_set_last_sync, aGlobal, aArgs, "tabs_edc9_TabsBridgedEngine_set_last_sync: "_ns, aError));
|
||||
}
|
||||
case 9: { // tabs:tabs_4d51_TabsBridgedEngine_sync_id
|
||||
case 9: { // tabs:tabs_edc9_TabsBridgedEngine_sync_id
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<RustBuffer>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>;
|
||||
return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_sync_id, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_sync_id: "_ns, aError));
|
||||
return Some(CallHandler::CallAsync(tabs_edc9_TabsBridgedEngine_sync_id, aGlobal, aArgs, "tabs_edc9_TabsBridgedEngine_sync_id: "_ns, aError));
|
||||
}
|
||||
case 10: { // tabs:tabs_4d51_TabsBridgedEngine_reset_sync_id
|
||||
case 10: { // tabs:tabs_edc9_TabsBridgedEngine_reset_sync_id
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<RustBuffer>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>;
|
||||
return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_reset_sync_id, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_reset_sync_id: "_ns, aError));
|
||||
return Some(CallHandler::CallAsync(tabs_edc9_TabsBridgedEngine_reset_sync_id, aGlobal, aArgs, "tabs_edc9_TabsBridgedEngine_reset_sync_id: "_ns, aError));
|
||||
}
|
||||
case 11: { // tabs:tabs_4d51_TabsBridgedEngine_ensure_current_sync_id
|
||||
case 11: { // tabs:tabs_edc9_TabsBridgedEngine_ensure_current_sync_id
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<RustBuffer>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter<RustBuffer>>;
|
||||
return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_ensure_current_sync_id, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_ensure_current_sync_id: "_ns, aError));
|
||||
return Some(CallHandler::CallAsync(tabs_edc9_TabsBridgedEngine_ensure_current_sync_id, aGlobal, aArgs, "tabs_edc9_TabsBridgedEngine_ensure_current_sync_id: "_ns, aError));
|
||||
}
|
||||
case 12: { // tabs:tabs_4d51_TabsBridgedEngine_prepare_for_sync
|
||||
case 12: { // tabs:tabs_edc9_TabsBridgedEngine_prepare_for_sync
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<void>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter<RustBuffer>>;
|
||||
return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_prepare_for_sync, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_prepare_for_sync: "_ns, aError));
|
||||
return Some(CallHandler::CallAsync(tabs_edc9_TabsBridgedEngine_prepare_for_sync, aGlobal, aArgs, "tabs_edc9_TabsBridgedEngine_prepare_for_sync: "_ns, aError));
|
||||
}
|
||||
case 13: { // tabs:tabs_4d51_TabsBridgedEngine_sync_started
|
||||
case 13: { // tabs:tabs_edc9_TabsBridgedEngine_sync_started
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<void>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>;
|
||||
return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_sync_started, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_sync_started: "_ns, aError));
|
||||
return Some(CallHandler::CallAsync(tabs_edc9_TabsBridgedEngine_sync_started, aGlobal, aArgs, "tabs_edc9_TabsBridgedEngine_sync_started: "_ns, aError));
|
||||
}
|
||||
case 14: { // tabs:tabs_4d51_TabsBridgedEngine_store_incoming
|
||||
case 14: { // tabs:tabs_edc9_TabsBridgedEngine_store_incoming
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<void>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter<RustBuffer>>;
|
||||
return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_store_incoming, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_store_incoming: "_ns, aError));
|
||||
return Some(CallHandler::CallAsync(tabs_edc9_TabsBridgedEngine_store_incoming, aGlobal, aArgs, "tabs_edc9_TabsBridgedEngine_store_incoming: "_ns, aError));
|
||||
}
|
||||
case 15: { // tabs:tabs_4d51_TabsBridgedEngine_apply
|
||||
case 15: { // tabs:tabs_edc9_TabsBridgedEngine_apply
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<RustBuffer>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>;
|
||||
return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_apply, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_apply: "_ns, aError));
|
||||
return Some(CallHandler::CallAsync(tabs_edc9_TabsBridgedEngine_apply, aGlobal, aArgs, "tabs_edc9_TabsBridgedEngine_apply: "_ns, aError));
|
||||
}
|
||||
case 16: { // tabs:tabs_4d51_TabsBridgedEngine_set_uploaded
|
||||
case 16: { // tabs:tabs_edc9_TabsBridgedEngine_set_uploaded
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<void>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter<int64_t>, ScaffoldingConverter<RustBuffer>>;
|
||||
return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_set_uploaded, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_set_uploaded: "_ns, aError));
|
||||
return Some(CallHandler::CallAsync(tabs_edc9_TabsBridgedEngine_set_uploaded, aGlobal, aArgs, "tabs_edc9_TabsBridgedEngine_set_uploaded: "_ns, aError));
|
||||
}
|
||||
case 17: { // tabs:tabs_4d51_TabsBridgedEngine_sync_finished
|
||||
case 17: { // tabs:tabs_edc9_TabsBridgedEngine_sync_finished
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<void>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>;
|
||||
return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_sync_finished, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_sync_finished: "_ns, aError));
|
||||
return Some(CallHandler::CallAsync(tabs_edc9_TabsBridgedEngine_sync_finished, aGlobal, aArgs, "tabs_edc9_TabsBridgedEngine_sync_finished: "_ns, aError));
|
||||
}
|
||||
case 18: { // tabs:tabs_4d51_TabsBridgedEngine_reset
|
||||
case 18: { // tabs:tabs_edc9_TabsBridgedEngine_reset
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<void>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>;
|
||||
return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_reset, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_reset: "_ns, aError));
|
||||
return Some(CallHandler::CallAsync(tabs_edc9_TabsBridgedEngine_reset, aGlobal, aArgs, "tabs_edc9_TabsBridgedEngine_reset: "_ns, aError));
|
||||
}
|
||||
case 19: { // tabs:tabs_4d51_TabsBridgedEngine_wipe
|
||||
case 19: { // tabs:tabs_edc9_TabsBridgedEngine_wipe
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<void>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>;
|
||||
return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_wipe, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_wipe: "_ns, aError));
|
||||
return Some(CallHandler::CallAsync(tabs_edc9_TabsBridgedEngine_wipe, aGlobal, aArgs, "tabs_edc9_TabsBridgedEngine_wipe: "_ns, aError));
|
||||
}
|
||||
}
|
||||
return Nothing();
|
||||
|
@ -141,104 +141,104 @@ Maybe<already_AddRefed<Promise>> UniFFICallAsync(const GlobalObject& aGlobal, ui
|
|||
|
||||
bool UniFFICallSync(const GlobalObject& aGlobal, uint64_t aId, const Sequence<ScaffoldingType>& aArgs, RootedDictionary<UniFFIScaffoldingCallResult>& aReturnValue, ErrorResult& aError) {
|
||||
switch (aId) {
|
||||
case 0: { // tabs:tabs_4d51_TabsStore_new
|
||||
case 0: { // tabs:tabs_edc9_TabsStore_new
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingObjectConverter<&kTabsTabsStorePointerType>, ScaffoldingConverter<RustBuffer>>;
|
||||
CallHandler::CallSync(tabs_4d51_TabsStore_new, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsStore_new: "_ns, aError);
|
||||
CallHandler::CallSync(tabs_edc9_TabsStore_new, aGlobal, aArgs, aReturnValue, "tabs_edc9_TabsStore_new: "_ns, aError);
|
||||
return true;
|
||||
}
|
||||
case 1: { // tabs:tabs_4d51_TabsStore_get_all
|
||||
case 1: { // tabs:tabs_edc9_TabsStore_get_all
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<RustBuffer>, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>;
|
||||
CallHandler::CallSync(tabs_4d51_TabsStore_get_all, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsStore_get_all: "_ns, aError);
|
||||
CallHandler::CallSync(tabs_edc9_TabsStore_get_all, aGlobal, aArgs, aReturnValue, "tabs_edc9_TabsStore_get_all: "_ns, aError);
|
||||
return true;
|
||||
}
|
||||
case 2: { // tabs:tabs_4d51_TabsStore_set_local_tabs
|
||||
case 2: { // tabs:tabs_edc9_TabsStore_set_local_tabs
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<void>, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>, ScaffoldingConverter<RustBuffer>>;
|
||||
CallHandler::CallSync(tabs_4d51_TabsStore_set_local_tabs, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsStore_set_local_tabs: "_ns, aError);
|
||||
CallHandler::CallSync(tabs_edc9_TabsStore_set_local_tabs, aGlobal, aArgs, aReturnValue, "tabs_edc9_TabsStore_set_local_tabs: "_ns, aError);
|
||||
return true;
|
||||
}
|
||||
case 3: { // tabs:tabs_4d51_TabsStore_register_with_sync_manager
|
||||
case 3: { // tabs:tabs_edc9_TabsStore_register_with_sync_manager
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<void>, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>;
|
||||
CallHandler::CallSync(tabs_4d51_TabsStore_register_with_sync_manager, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsStore_register_with_sync_manager: "_ns, aError);
|
||||
CallHandler::CallSync(tabs_edc9_TabsStore_register_with_sync_manager, aGlobal, aArgs, aReturnValue, "tabs_edc9_TabsStore_register_with_sync_manager: "_ns, aError);
|
||||
return true;
|
||||
}
|
||||
case 4: { // tabs:tabs_4d51_TabsStore_reset
|
||||
case 4: { // tabs:tabs_edc9_TabsStore_reset
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<void>, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>;
|
||||
CallHandler::CallSync(tabs_4d51_TabsStore_reset, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsStore_reset: "_ns, aError);
|
||||
CallHandler::CallSync(tabs_edc9_TabsStore_reset, aGlobal, aArgs, aReturnValue, "tabs_edc9_TabsStore_reset: "_ns, aError);
|
||||
return true;
|
||||
}
|
||||
case 5: { // tabs:tabs_4d51_TabsStore_sync
|
||||
case 5: { // tabs:tabs_edc9_TabsStore_sync
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<RustBuffer>, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>, ScaffoldingConverter<RustBuffer>, ScaffoldingConverter<RustBuffer>, ScaffoldingConverter<RustBuffer>, ScaffoldingConverter<RustBuffer>, ScaffoldingConverter<RustBuffer>>;
|
||||
CallHandler::CallSync(tabs_4d51_TabsStore_sync, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsStore_sync: "_ns, aError);
|
||||
CallHandler::CallSync(tabs_edc9_TabsStore_sync, aGlobal, aArgs, aReturnValue, "tabs_edc9_TabsStore_sync: "_ns, aError);
|
||||
return true;
|
||||
}
|
||||
case 6: { // tabs:tabs_4d51_TabsStore_bridged_engine
|
||||
case 6: { // tabs:tabs_edc9_TabsStore_bridged_engine
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>;
|
||||
CallHandler::CallSync(tabs_4d51_TabsStore_bridged_engine, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsStore_bridged_engine: "_ns, aError);
|
||||
CallHandler::CallSync(tabs_edc9_TabsStore_bridged_engine, aGlobal, aArgs, aReturnValue, "tabs_edc9_TabsStore_bridged_engine: "_ns, aError);
|
||||
return true;
|
||||
}
|
||||
case 7: { // tabs:tabs_4d51_TabsBridgedEngine_last_sync
|
||||
case 7: { // tabs:tabs_edc9_TabsBridgedEngine_last_sync
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<int64_t>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>;
|
||||
CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_last_sync, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_last_sync: "_ns, aError);
|
||||
CallHandler::CallSync(tabs_edc9_TabsBridgedEngine_last_sync, aGlobal, aArgs, aReturnValue, "tabs_edc9_TabsBridgedEngine_last_sync: "_ns, aError);
|
||||
return true;
|
||||
}
|
||||
case 8: { // tabs:tabs_4d51_TabsBridgedEngine_set_last_sync
|
||||
case 8: { // tabs:tabs_edc9_TabsBridgedEngine_set_last_sync
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<void>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter<int64_t>>;
|
||||
CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_set_last_sync, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_set_last_sync: "_ns, aError);
|
||||
CallHandler::CallSync(tabs_edc9_TabsBridgedEngine_set_last_sync, aGlobal, aArgs, aReturnValue, "tabs_edc9_TabsBridgedEngine_set_last_sync: "_ns, aError);
|
||||
return true;
|
||||
}
|
||||
case 9: { // tabs:tabs_4d51_TabsBridgedEngine_sync_id
|
||||
case 9: { // tabs:tabs_edc9_TabsBridgedEngine_sync_id
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<RustBuffer>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>;
|
||||
CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_sync_id, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_sync_id: "_ns, aError);
|
||||
CallHandler::CallSync(tabs_edc9_TabsBridgedEngine_sync_id, aGlobal, aArgs, aReturnValue, "tabs_edc9_TabsBridgedEngine_sync_id: "_ns, aError);
|
||||
return true;
|
||||
}
|
||||
case 10: { // tabs:tabs_4d51_TabsBridgedEngine_reset_sync_id
|
||||
case 10: { // tabs:tabs_edc9_TabsBridgedEngine_reset_sync_id
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<RustBuffer>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>;
|
||||
CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_reset_sync_id, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_reset_sync_id: "_ns, aError);
|
||||
CallHandler::CallSync(tabs_edc9_TabsBridgedEngine_reset_sync_id, aGlobal, aArgs, aReturnValue, "tabs_edc9_TabsBridgedEngine_reset_sync_id: "_ns, aError);
|
||||
return true;
|
||||
}
|
||||
case 11: { // tabs:tabs_4d51_TabsBridgedEngine_ensure_current_sync_id
|
||||
case 11: { // tabs:tabs_edc9_TabsBridgedEngine_ensure_current_sync_id
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<RustBuffer>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter<RustBuffer>>;
|
||||
CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_ensure_current_sync_id, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_ensure_current_sync_id: "_ns, aError);
|
||||
CallHandler::CallSync(tabs_edc9_TabsBridgedEngine_ensure_current_sync_id, aGlobal, aArgs, aReturnValue, "tabs_edc9_TabsBridgedEngine_ensure_current_sync_id: "_ns, aError);
|
||||
return true;
|
||||
}
|
||||
case 12: { // tabs:tabs_4d51_TabsBridgedEngine_prepare_for_sync
|
||||
case 12: { // tabs:tabs_edc9_TabsBridgedEngine_prepare_for_sync
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<void>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter<RustBuffer>>;
|
||||
CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_prepare_for_sync, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_prepare_for_sync: "_ns, aError);
|
||||
CallHandler::CallSync(tabs_edc9_TabsBridgedEngine_prepare_for_sync, aGlobal, aArgs, aReturnValue, "tabs_edc9_TabsBridgedEngine_prepare_for_sync: "_ns, aError);
|
||||
return true;
|
||||
}
|
||||
case 13: { // tabs:tabs_4d51_TabsBridgedEngine_sync_started
|
||||
case 13: { // tabs:tabs_edc9_TabsBridgedEngine_sync_started
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<void>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>;
|
||||
CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_sync_started, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_sync_started: "_ns, aError);
|
||||
CallHandler::CallSync(tabs_edc9_TabsBridgedEngine_sync_started, aGlobal, aArgs, aReturnValue, "tabs_edc9_TabsBridgedEngine_sync_started: "_ns, aError);
|
||||
return true;
|
||||
}
|
||||
case 14: { // tabs:tabs_4d51_TabsBridgedEngine_store_incoming
|
||||
case 14: { // tabs:tabs_edc9_TabsBridgedEngine_store_incoming
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<void>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter<RustBuffer>>;
|
||||
CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_store_incoming, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_store_incoming: "_ns, aError);
|
||||
CallHandler::CallSync(tabs_edc9_TabsBridgedEngine_store_incoming, aGlobal, aArgs, aReturnValue, "tabs_edc9_TabsBridgedEngine_store_incoming: "_ns, aError);
|
||||
return true;
|
||||
}
|
||||
case 15: { // tabs:tabs_4d51_TabsBridgedEngine_apply
|
||||
case 15: { // tabs:tabs_edc9_TabsBridgedEngine_apply
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<RustBuffer>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>;
|
||||
CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_apply, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_apply: "_ns, aError);
|
||||
CallHandler::CallSync(tabs_edc9_TabsBridgedEngine_apply, aGlobal, aArgs, aReturnValue, "tabs_edc9_TabsBridgedEngine_apply: "_ns, aError);
|
||||
return true;
|
||||
}
|
||||
case 16: { // tabs:tabs_4d51_TabsBridgedEngine_set_uploaded
|
||||
case 16: { // tabs:tabs_edc9_TabsBridgedEngine_set_uploaded
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<void>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter<int64_t>, ScaffoldingConverter<RustBuffer>>;
|
||||
CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_set_uploaded, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_set_uploaded: "_ns, aError);
|
||||
CallHandler::CallSync(tabs_edc9_TabsBridgedEngine_set_uploaded, aGlobal, aArgs, aReturnValue, "tabs_edc9_TabsBridgedEngine_set_uploaded: "_ns, aError);
|
||||
return true;
|
||||
}
|
||||
case 17: { // tabs:tabs_4d51_TabsBridgedEngine_sync_finished
|
||||
case 17: { // tabs:tabs_edc9_TabsBridgedEngine_sync_finished
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<void>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>;
|
||||
CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_sync_finished, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_sync_finished: "_ns, aError);
|
||||
CallHandler::CallSync(tabs_edc9_TabsBridgedEngine_sync_finished, aGlobal, aArgs, aReturnValue, "tabs_edc9_TabsBridgedEngine_sync_finished: "_ns, aError);
|
||||
return true;
|
||||
}
|
||||
case 18: { // tabs:tabs_4d51_TabsBridgedEngine_reset
|
||||
case 18: { // tabs:tabs_edc9_TabsBridgedEngine_reset
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<void>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>;
|
||||
CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_reset, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_reset: "_ns, aError);
|
||||
CallHandler::CallSync(tabs_edc9_TabsBridgedEngine_reset, aGlobal, aArgs, aReturnValue, "tabs_edc9_TabsBridgedEngine_reset: "_ns, aError);
|
||||
return true;
|
||||
}
|
||||
case 19: { // tabs:tabs_4d51_TabsBridgedEngine_wipe
|
||||
case 19: { // tabs:tabs_edc9_TabsBridgedEngine_wipe
|
||||
using CallHandler = ScaffoldingCallHandler<ScaffoldingConverter<void>, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>;
|
||||
CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_wipe, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_wipe: "_ns, aError);
|
||||
CallHandler::CallSync(tabs_edc9_TabsBridgedEngine_wipe, aGlobal, aArgs, aReturnValue, "tabs_edc9_TabsBridgedEngine_wipe: "_ns, aError);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче