FIXME: Fix brightray::DevToolsNetworkTransaction compilation

See
https://chromium-review.googlesource.com/631119
https://chromium-review.googlesource.com/611089
This commit is contained in:
Tomas Rycl 2017-11-20 13:28:24 +00:00 committed by Cheng Zhao
parent a6412d0690
commit 0d83b69fe2

View file

@ -12,6 +12,7 @@
#include "net/base/completion_callback.h"
#include "net/base/load_states.h"
#include "net/base/request_priority.h"
#include "net/http/http_raw_request_headers.h"
#include "net/http/http_transaction.h"
namespace brightray {
@ -66,6 +67,10 @@ class DevToolsNetworkTransaction : public net::HttpTransaction {
int ResumeNetworkStart() override;
void GetConnectionAttempts(net::ConnectionAttempts* out) const override;
// FIXME(torycl) Implement these methods properly
void SetRequestHeadersCallback(net::RequestHeadersCallback callback) {}
void SetResponseHeadersCallback(net::ResponseHeadersCallback callback) {}
private:
void Fail();
bool CheckFailed();