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

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

Issue 1528233004: [Blob] Blob paging to disk patch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blob-disk1
Patch Set: Created 5 years 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 | « content/browser/fileapi/chrome_blob_storage_context.cc ('k') | content/content_tests.gypi » ('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 "base/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/public/common/common_param_traits.h" 10 #include "content/public/common/common_param_traits.h"
(...skipping 23 matching lines...) Expand all
34 IPC_STRUCT_TRAITS_MEMBER(renderer_item_index) 34 IPC_STRUCT_TRAITS_MEMBER(renderer_item_index)
35 IPC_STRUCT_TRAITS_MEMBER(renderer_item_offset) 35 IPC_STRUCT_TRAITS_MEMBER(renderer_item_offset)
36 IPC_STRUCT_TRAITS_MEMBER(size) 36 IPC_STRUCT_TRAITS_MEMBER(size)
37 IPC_STRUCT_TRAITS_MEMBER(handle_index) 37 IPC_STRUCT_TRAITS_MEMBER(handle_index)
38 IPC_STRUCT_TRAITS_MEMBER(handle_offset) 38 IPC_STRUCT_TRAITS_MEMBER(handle_offset)
39 IPC_STRUCT_TRAITS_END() 39 IPC_STRUCT_TRAITS_END()
40 40
41 IPC_STRUCT_TRAITS_BEGIN(storage::BlobItemBytesResponse) 41 IPC_STRUCT_TRAITS_BEGIN(storage::BlobItemBytesResponse)
42 IPC_STRUCT_TRAITS_MEMBER(request_number) 42 IPC_STRUCT_TRAITS_MEMBER(request_number)
43 IPC_STRUCT_TRAITS_MEMBER(inline_data) 43 IPC_STRUCT_TRAITS_MEMBER(inline_data)
44 IPC_STRUCT_TRAITS_MEMBER(time_modified)
44 IPC_STRUCT_TRAITS_END() 45 IPC_STRUCT_TRAITS_END()
45 46
46 // This message is to tell the browser that we will be building a blob. 47 // This message is to tell the browser that we will be building a blob.
47 IPC_MESSAGE_CONTROL1(BlobStorageMsg_RegisterBlobUUID, std::string /* uuid */); 48 IPC_MESSAGE_CONTROL1(BlobStorageMsg_RegisterBlobUUID, std::string /* uuid */);
48 49
49 // The DataElements are used to: 50 // The DataElements are used to:
50 // * describe & transport non-memory resources (blobs, files, etc) 51 // * describe & transport non-memory resources (blobs, files, etc)
51 // * describe the size of memory items 52 // * describe the size of memory items
52 // * 'shortcut' transport the memory up to the IPC limit so the browser can use 53 // * 'shortcut' transport the memory up to the IPC limit so the browser can use
53 // it if it's not currently full. 54 // it if it's not currently full.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 GURL /* url */) 115 GURL /* url */)
115 116
116 // Creates a new stream that's a clone of an existing src stream. 117 // Creates a new stream that's a clone of an existing src stream.
117 IPC_MESSAGE_CONTROL2(StreamHostMsg_Clone, 118 IPC_MESSAGE_CONTROL2(StreamHostMsg_Clone,
118 GURL /* url */, 119 GURL /* url */,
119 GURL /* src_url */) 120 GURL /* src_url */)
120 121
121 // Removes a stream. 122 // Removes a stream.
122 IPC_MESSAGE_CONTROL1(StreamHostMsg_Remove, 123 IPC_MESSAGE_CONTROL1(StreamHostMsg_Remove,
123 GURL /* url */) 124 GURL /* url */)
OLDNEW
« no previous file with comments | « content/browser/fileapi/chrome_blob_storage_context.cc ('k') | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698