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

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

Issue 2055053003: [BlobAsync] Disk support for blob storage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 2 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 protected: 50 protected:
51 ~BlobMessageFilter() override; 51 ~BlobMessageFilter() override;
52 52
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 OnBlobFinalStatus(const std::string& uuid, storage::BlobStatus code);
61 storage::IPCBlobCreationCancelCode code);
62
63 void OnDoneBuildingBlob(const std::string& uuid);
64 61
65 IPC::Sender* sender_; 62 IPC::Sender* sender_;
66 scoped_refptr<base::TaskRunner> file_runner_; 63 scoped_refptr<base::TaskRunner> file_runner_;
67 64
68 DISALLOW_COPY_AND_ASSIGN(BlobMessageFilter); 65 DISALLOW_COPY_AND_ASSIGN(BlobMessageFilter);
69 }; 66 };
70 67
71 } // namespace content 68 } // namespace content
72 #endif // CONTENT_CHILD_BLOB_STORAGE_BLOB_MESSAGE_FILTER_H_ 69 #endif // CONTENT_CHILD_BLOB_STORAGE_BLOB_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « content/child/blob_storage/blob_consolidation.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