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

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

Issue 2448353002: [BlobAsync] Moving async handling into BlobStorageContext & quota out. (Closed)
Patch Set: comments Created 4 years, 1 month 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 protected: 49 protected:
50 ~BlobMessageFilter() override; 50 ~BlobMessageFilter() override;
51 51
52 private: 52 private:
53 void OnRequestMemoryItem( 53 void OnRequestMemoryItem(
54 const std::string& uuid, 54 const std::string& uuid,
55 const std::vector<storage::BlobItemBytesRequest>& requests, 55 const std::vector<storage::BlobItemBytesRequest>& requests,
56 std::vector<base::SharedMemoryHandle> memory_handles, 56 std::vector<base::SharedMemoryHandle> memory_handles,
57 const std::vector<IPC::PlatformFileForTransit>& file_handles); 57 const std::vector<IPC::PlatformFileForTransit>& file_handles);
58 58
59 void OnCancelBuildingBlob(const std::string& uuid, 59 void OnBlobFinalStatus(const std::string& uuid, storage::BlobStatus code);
60 storage::IPCBlobCreationCancelCode code);
61
62 void OnDoneBuildingBlob(const std::string& uuid);
63 60
64 IPC::Sender* sender_; 61 IPC::Sender* sender_;
65 scoped_refptr<base::TaskRunner> file_runner_; 62 scoped_refptr<base::TaskRunner> file_runner_;
66 63
67 DISALLOW_COPY_AND_ASSIGN(BlobMessageFilter); 64 DISALLOW_COPY_AND_ASSIGN(BlobMessageFilter);
68 }; 65 };
69 66
70 } // namespace content 67 } // namespace content
71 #endif // CONTENT_CHILD_BLOB_STORAGE_BLOB_MESSAGE_FILTER_H_ 68 #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