Fixing code review issues: refactoring emit methods using CustomEmit.
This commit is contained in:
parent
e9db926b48
commit
6d92457095
4 changed files with 53 additions and 60 deletions
|
@ -183,6 +183,10 @@ class URLRequest : public mate::EventEmitter<URLRequest> {
|
|||
void Close();
|
||||
void Pin();
|
||||
void Unpin();
|
||||
template <typename... Args>
|
||||
void EmitRequestEvent(Args... args);
|
||||
template <typename... Args>
|
||||
void EmitResponseEvent(Args... args);
|
||||
|
||||
scoped_refptr<AtomURLRequest> atom_request_;
|
||||
RequestState request_state_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue