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

Side by Side Diff: content/common/fileapi/webblob_messages.h

Issue 1842313004: Fix multiple IPC fuzzer compile failures. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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 unified diff | Download patch
« no previous file with comments | « no previous file | tools/ipc_fuzzer/fuzzer/fuzzer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for HTML5 Blob and Stream. 5 // IPC messages for HTML5 Blob and Stream.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 IPC_STRUCT_TRAITS_MEMBER(request_number) 46 IPC_STRUCT_TRAITS_MEMBER(request_number)
47 IPC_STRUCT_TRAITS_MEMBER(inline_data) 47 IPC_STRUCT_TRAITS_MEMBER(inline_data)
48 IPC_STRUCT_TRAITS_MEMBER(time_file_modified) 48 IPC_STRUCT_TRAITS_MEMBER(time_file_modified)
49 IPC_STRUCT_TRAITS_END() 49 IPC_STRUCT_TRAITS_END()
50 50
51 // This message is to tell the browser that we will be building a blob. 51 // This message is to tell the browser that we will be building a blob.
52 IPC_MESSAGE_CONTROL4(BlobStorageMsg_RegisterBlobUUID, 52 IPC_MESSAGE_CONTROL4(BlobStorageMsg_RegisterBlobUUID,
53 std::string /* uuid */, 53 std::string /* uuid */,
54 std::string /* content_type */, 54 std::string /* content_type */,
55 std::string /* content_disposition */, 55 std::string /* content_disposition */,
56 std::set<std::string> /* referenced_blob_uuids */); 56 std::set<std::string> /* referenced_blob_uuids */)
57 57
58 // The DataElements are used to: 58 // The DataElements are used to:
59 // * describe & transport non-memory resources (blobs, files, etc) 59 // * describe & transport non-memory resources (blobs, files, etc)
60 // * describe the size of memory items 60 // * describe the size of memory items
61 // * 'shortcut' transport the memory up to the IPC limit so the browser can use 61 // * 'shortcut' transport the memory up to the IPC limit so the browser can use
62 // it if it's not currently full. 62 // it if it's not currently full.
63 // See https://bit.ly/BlobStorageRefactor 63 // See https://bit.ly/BlobStorageRefactor
64 IPC_MESSAGE_CONTROL2(BlobStorageMsg_StartBuildingBlob, 64 IPC_MESSAGE_CONTROL2(BlobStorageMsg_StartBuildingBlob,
65 std::string /* uuid */, 65 std::string /* uuid */,
66 std::vector<storage::DataElement> /* item_descriptions */); 66 std::vector<storage::DataElement> /* item_descriptions */)
67 67
68 IPC_MESSAGE_CONTROL4( 68 IPC_MESSAGE_CONTROL4(
69 BlobStorageMsg_RequestMemoryItem, 69 BlobStorageMsg_RequestMemoryItem,
70 std::string /* uuid */, 70 std::string /* uuid */,
71 std::vector<storage::BlobItemBytesRequest> /* requests */, 71 std::vector<storage::BlobItemBytesRequest> /* requests */,
72 std::vector<base::SharedMemoryHandle> /* memory_handles */, 72 std::vector<base::SharedMemoryHandle> /* memory_handles */,
73 std::vector<IPC::PlatformFileForTransit> /* file_handles */); 73 std::vector<IPC::PlatformFileForTransit> /* file_handles */)
74 74
75 IPC_MESSAGE_CONTROL2( 75 IPC_MESSAGE_CONTROL2(
76 BlobStorageMsg_MemoryItemResponse, 76 BlobStorageMsg_MemoryItemResponse,
77 std::string /* uuid */, 77 std::string /* uuid */,
78 std::vector<storage::BlobItemBytesResponse> /* responses */); 78 std::vector<storage::BlobItemBytesResponse> /* responses */)
79 79
80 IPC_MESSAGE_CONTROL2(BlobStorageMsg_CancelBuildingBlob, 80 IPC_MESSAGE_CONTROL2(BlobStorageMsg_CancelBuildingBlob,
81 std::string /* uuid */, 81 std::string /* uuid */,
82 storage::IPCBlobCreationCancelCode /* code */); 82 storage::IPCBlobCreationCancelCode /* code */)
83 83
84 IPC_MESSAGE_CONTROL1(BlobStorageMsg_DoneBuildingBlob, std::string /* uuid */); 84 IPC_MESSAGE_CONTROL1(BlobStorageMsg_DoneBuildingBlob, std::string /* uuid */)
85 85
86 IPC_MESSAGE_CONTROL1(BlobHostMsg_IncrementRefCount, 86 IPC_MESSAGE_CONTROL1(BlobHostMsg_IncrementRefCount,
87 std::string /* uuid */) 87 std::string /* uuid */)
88 IPC_MESSAGE_CONTROL1(BlobHostMsg_DecrementRefCount, 88 IPC_MESSAGE_CONTROL1(BlobHostMsg_DecrementRefCount,
89 std::string /* uuid */) 89 std::string /* uuid */)
90 IPC_MESSAGE_CONTROL2(BlobHostMsg_RegisterPublicURL, 90 IPC_MESSAGE_CONTROL2(BlobHostMsg_RegisterPublicURL,
91 GURL, 91 GURL,
92 std::string /* uuid */) 92 std::string /* uuid */)
93 IPC_MESSAGE_CONTROL1(BlobHostMsg_RevokePublicURL, 93 IPC_MESSAGE_CONTROL1(BlobHostMsg_RevokePublicURL,
94 GURL) 94 GURL)
(...skipping 29 matching lines...) Expand all
124 GURL /* url */) 124 GURL /* url */)
125 125
126 // Creates a new stream that's a clone of an existing src stream. 126 // Creates a new stream that's a clone of an existing src stream.
127 IPC_MESSAGE_CONTROL2(StreamHostMsg_Clone, 127 IPC_MESSAGE_CONTROL2(StreamHostMsg_Clone,
128 GURL /* url */, 128 GURL /* url */,
129 GURL /* src_url */) 129 GURL /* src_url */)
130 130
131 // Removes a stream. 131 // Removes a stream.
132 IPC_MESSAGE_CONTROL1(StreamHostMsg_Remove, 132 IPC_MESSAGE_CONTROL1(StreamHostMsg_Remove,
133 GURL /* url */) 133 GURL /* url */)
OLDNEW
« no previous file with comments | « no previous file | tools/ipc_fuzzer/fuzzer/fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698