Request/Response state simplification. Removing redundant state flags.
This commit is contained in:
parent
e472d11761
commit
a655cca0a1
2 changed files with 24 additions and 35 deletions
|
@ -149,9 +149,7 @@ class URLRequest : public mate::EventEmitter<URLRequest> {
|
|||
kNotStarted = 0x0,
|
||||
kStarted = 0x1,
|
||||
kEnded = 0x2,
|
||||
kCanceled = 0x4,
|
||||
kFailed = 0x8,
|
||||
kClosed = 0x10
|
||||
kFailed = 0x4
|
||||
};
|
||||
|
||||
class ResponseState : public StateBase<ResponseStateFlags> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue