Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / content / shell / browser / shell_net_log.h
blob58edf1f1dff32c75ef39c303b9ba6f7dc06edbaf
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_SHELL_BROWSER_SHELL_NET_LOG_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_NET_LOG_H_
8 #include <string>
10 #include "base/memory/scoped_ptr.h"
11 #include "net/log/write_to_file_net_log_observer.h"
13 namespace content {
15 class ShellNetLog : public net::NetLog {
16 public:
17 explicit ShellNetLog(const std::string& app_name);
18 ~ShellNetLog() override;
20 private:
21 scoped_ptr<net::WriteToFileNetLogObserver> write_to_file_observer_;
23 DISALLOW_COPY_AND_ASSIGN(ShellNetLog);
26 } // namespace content
28 #endif // CONTENT_SHELL_BROWSER_SHELL_NET_LOG_H_