Don't specify URLRequestContext when starting logging

Related CL: https://codereview.chromium.org/2698143004
This commit is contained in:
Tony Ganch 2017-08-24 15:08:05 +02:00 committed by Cheng Zhao
parent 4412836e77
commit 0ad967c9a5
3 changed files with 10 additions and 25 deletions

View file

@ -5,10 +5,7 @@
#ifndef BRIGHTRAY_BROWSER_NET_LOG_H_
#define BRIGHTRAY_BROWSER_NET_LOG_H_
#include "base/files/scoped_file.h"
#include "net/log/net_log.h"
#include "net/log/file_net_log_observer.h"
#include "net/url_request/url_request_context.h"
namespace brightray {
@ -17,12 +14,9 @@ class NetLog : public net::NetLog {
NetLog();
~NetLog() override;
void StartLogging(net::URLRequestContext* url_request_context);
void StartLogging();
private:
base::ScopedFILE log_file_;
net::FileNetLogObserver write_to_file_observer_;
DISALLOW_COPY_AND_ASSIGN(NetLog);
};