summaryrefslogtreecommitdiff
path: root/chromium/webrunner/browser/webrunner_net_log.h
blob: ae6ac926420f6a7c4707176f1955174deeece5df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// 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 WEBRUNNER_BROWSER_WEBRUNNER_NET_LOG_H_
#define WEBRUNNER_BROWSER_WEBRUNNER_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

namespace webrunner {

class WebRunnerNetLog : public net::NetLog {
 public:
  explicit WebRunnerNetLog(const base::FilePath& log_path);
  ~WebRunnerNetLog() override;

 private:
  std::unique_ptr<net::FileNetLogObserver> file_net_log_observer_;

  DISALLOW_COPY_AND_ASSIGN(WebRunnerNetLog);
};

}  // namespace webrunner

#endif  // WEBRUNNER_BROWSER_WEBRUNNER_NET_LOG_H_