blob: a052f153e6964154d70d168b2d0fd7c794f3e4c9 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FUCHSIA_ENGINE_BROWSER_WEB_ENGINE_NET_LOG_H_
#define FUCHSIA_ENGINE_BROWSER_WEB_ENGINE_NET_LOG_H_
#include <memory>
#include "base/macros.h"
#include "net/log/net_log.h"
namespace base {
class FilePath;
} // namespace base
namespace net {
class FileNetLogObserver;
} // namespace net
class WebEngineNetLog : public net::NetLog {
public:
explicit WebEngineNetLog(const base::FilePath& log_path);
~WebEngineNetLog() override;
private:
std::unique_ptr<net::FileNetLogObserver> file_net_log_observer_;
DISALLOW_COPY_AND_ASSIGN(WebEngineNetLog);
};
#endif // FUCHSIA_ENGINE_BROWSER_WEB_ENGINE_NET_LOG_H_