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

Side by Side Diff: content/child/blob_storage/blob_message_filter.h

Issue 2340133006: [WIP] Hack on Blob mojom (Closed)
Patch Set: Created 4 years, 3 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef CONTENT_CHILD_BLOB_STORAGE_BLOB_MESSAGE_FILTER_H_ 5 #ifndef CONTENT_CHILD_BLOB_STORAGE_BLOB_MESSAGE_FILTER_H_
6 #define CONTENT_CHILD_BLOB_STORAGE_BLOB_MESSAGE_FILTER_H_ 6 #define CONTENT_CHILD_BLOB_STORAGE_BLOB_MESSAGE_FILTER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 private: 53 private:
54 void OnRequestMemoryItem( 54 void OnRequestMemoryItem(
55 const std::string& uuid, 55 const std::string& uuid,
56 const std::vector<storage::BlobItemBytesRequest>& requests, 56 const std::vector<storage::BlobItemBytesRequest>& requests,
57 std::vector<base::SharedMemoryHandle> memory_handles, 57 std::vector<base::SharedMemoryHandle> memory_handles,
58 const std::vector<IPC::PlatformFileForTransit>& file_handles); 58 const std::vector<IPC::PlatformFileForTransit>& file_handles);
59 59
60 void OnCancelBuildingBlob(const std::string& uuid, 60 void OnCancelBuildingBlob(const std::string& uuid,
61 storage::IPCBlobCreationCancelCode code); 61 storage::IPCBlobCreationCancelCode code);
62 62
63 void OnDoneBuildingBlob(const std::string& uuid);
64
65 IPC::Sender* sender_; 63 IPC::Sender* sender_;
66 scoped_refptr<base::TaskRunner> file_runner_; 64 scoped_refptr<base::TaskRunner> file_runner_;
67 65
68 DISALLOW_COPY_AND_ASSIGN(BlobMessageFilter); 66 DISALLOW_COPY_AND_ASSIGN(BlobMessageFilter);
69 }; 67 };
70 68
71 } // namespace content 69 } // namespace content
72 #endif // CONTENT_CHILD_BLOB_STORAGE_BLOB_MESSAGE_FILTER_H_ 70 #endif // CONTENT_CHILD_BLOB_STORAGE_BLOB_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « content/browser/blob_storage/blob_dispatcher_host.cc ('k') | content/child/blob_storage/blob_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698