#ifndef ANDROID_WEBVIEW_BROWSER_AW_NET_LOGS_CONNECTION_H_
#define ANDROID_WEBVIEW_BROWSER_AW_NET_LOGS_CONNECTION_H_
#include <stdint.h>
#include <memory>
#include "base/android/scoped_java_ref.h"
#include "net/log/file_net_log_observer.h"
namespace android_webview {
class AwNetLogsConnection {
public:
AwNetLogsConnection();
~AwNetLogsConnection();
void startNetLogBounded(int file_descriptor);
void stopNetLogs();
private:
std::unique_ptr<net::FileNetLogObserver> aw_net_log_observer_;
uint64_t max_file_size = 100000000;
};
}
#endif