summaryrefslogtreecommitdiffstats
path: root/content/shell/browser/shell_net_log.h
blob: 8a74e3dae838baf0493d703f2bd6600ce81860c3 (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
// Copyright 2013 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 CONTENT_SHELL_BROWSER_SHELL_NET_LOG_H_
#define CONTENT_SHELL_BROWSER_SHELL_NET_LOG_H_

#include <string>

#include "base/memory/scoped_ptr.h"
#include "net/log/write_to_file_net_log_observer.h"

namespace content {

class ShellNetLog : public net::NetLog {
 public:
  explicit ShellNetLog(const std::string& app_name);
  ~ShellNetLog() override;

 private:
  scoped_ptr<net::WriteToFileNetLogObserver> net_log_logger_;

  DISALLOW_COPY_AND_ASSIGN(ShellNetLog);
};

}  // namespace content

#endif  // CONTENT_SHELL_BROWSER_SHELL_NET_LOG_H_