Unreviewed test gardening, mark fast/text/variations/ipc2.html as slow.
[WebKit-https.git] / Source / WebKit / StorageProcess / IndexedDB / WebIDBConnectionToClient.messages.in
1 # Copyright (C) 2016 Apple Inc. All rights reserved.
2 #
3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions
5 # are met:
6 # 1.  Redistributions of source code must retain the above copyright
7 #     notice, this list of conditions and the following disclaimer.
8 # 2.  Redistributions in binary form must reproduce the above copyright
9 #     notice, this list of conditions and the following disclaimer in the
10 #     documentation and/or other materials provided with the distribution.
11 #
12 # THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND
13 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15 # DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR
16 # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
17 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
18 # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
19 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
20 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
21 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
23 #if ENABLE(INDEXED_DATABASE)
24
25 messages -> WebIDBConnectionToClient {
26     DeleteDatabase(WebCore::IDBRequestData requestData)
27     OpenDatabase(WebCore::IDBRequestData requestData);
28     AbortTransaction(WebCore::IDBResourceIdentifier transactionIdentifier);
29     CommitTransaction(WebCore::IDBResourceIdentifier transactionIdentifier);
30     DidFinishHandlingVersionChangeTransaction(uint64_t databaseConnectionIdentifier, WebCore::IDBResourceIdentifier transactionIdentifier);
31     CreateObjectStore(WebCore::IDBRequestData requestData, WebCore::IDBObjectStoreInfo info);
32     DeleteObjectStore(WebCore::IDBRequestData requestData, String objectStoreName);
33     RenameObjectStore(WebCore::IDBRequestData requestData, uint64_t objectStoreIdentifier, String newName);
34     ClearObjectStore(WebCore::IDBRequestData requestData, uint64_t objectStoreIdentifier);
35     CreateIndex(WebCore::IDBRequestData requestData, WebCore::IDBIndexInfo info);
36     DeleteIndex(WebCore::IDBRequestData requestData, uint64_t objectStoreIdentifier, String indexName);
37     RenameIndex(WebCore::IDBRequestData requestData, uint64_t objectStoreIdentifier, uint64_t indexIdentifier, String newName);
38     PutOrAdd(WebCore::IDBRequestData requestData, WebCore::IDBKeyData key, WebCore::IDBValue value, unsigned overwriteMode);
39     GetRecord(WebCore::IDBRequestData requestData, struct WebCore::IDBGetRecordData getRecordData);
40     GetAllRecords(WebCore::IDBRequestData requestData, struct WebCore::IDBGetAllRecordsData getAllRecordsData);
41     GetCount(WebCore::IDBRequestData requestData, struct WebCore::IDBKeyRangeData range);
42     DeleteRecord(WebCore::IDBRequestData requestData, struct WebCore::IDBKeyRangeData range);
43     OpenCursor(WebCore::IDBRequestData requestData, WebCore::IDBCursorInfo info);
44     IterateCursor(WebCore::IDBRequestData requestData, struct WebCore::IDBIterateCursorData data);
45
46     EstablishTransaction(uint64_t databaseConnectionIdentifier, WebCore::IDBTransactionInfo info);
47     DatabaseConnectionPendingClose(uint64_t databaseConnectionIdentifier);
48     DatabaseConnectionClosed(uint64_t databaseConnectionIdentifier);
49     AbortOpenAndUpgradeNeeded(uint64_t databaseConnectionIdentifier, WebCore::IDBResourceIdentifier transactionIdentifier);
50     DidFireVersionChangeEvent(uint64_t databaseConnectionIdentifier, WebCore::IDBResourceIdentifier requestIdentifier);
51     OpenDBRequestCancelled(WebCore::IDBRequestData requestData);
52     ConfirmDidCloseFromServer(uint64_t databaseConnectionIdentifier);
53
54     GetAllDatabaseNames(uint64_t serverConnectionIdentifier, struct WebCore::SecurityOriginData topOrigin, struct WebCore::SecurityOriginData openingOrigin, uint64_t callbackID);
55 }
56 #endif // ENABLE(INDEXED_DATABASE)