refactor: make util::Promise type safe when chaining in native (#19809)
* refactor: make util::Promise type safe when chaining in native * fixup! refactor: make util::Promise type safe when chaining in native * chore: remove spare brackets
This commit is contained in:
parent
f7e3e1f97a
commit
6a3922d330
39 changed files with 275 additions and 343 deletions
|
@ -39,7 +39,8 @@ class AtomBlobReader {
|
|||
explicit AtomBlobReader(content::ChromeBlobStorageContext* blob_context);
|
||||
~AtomBlobReader();
|
||||
|
||||
void StartReading(const std::string& uuid, electron::util::Promise promise);
|
||||
void StartReading(const std::string& uuid,
|
||||
electron::util::Promise<v8::Local<v8::Value>> promise);
|
||||
|
||||
private:
|
||||
// A self-destroyed helper class to read the blob data.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue