Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Side by Side Diff: headless/lib/browser/headless_net_log.h

Issue 2839153002: Revert of headless: Add support for net logging (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 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.
4
5 #ifndef HEADLESS_LIB_BROWSER_HEADLESS_NET_LOG_H_
6 #define HEADLESS_LIB_BROWSER_HEADLESS_NET_LOG_H_
7
8 #include <memory>
9 #include <string>
10
11 #include "base/macros.h"
12 #include "net/log/write_to_file_net_log_observer.h"
13
14 namespace base {
15 class FilePath;
16 }
17
18 namespace headless {
19
20 class HeadlessNetLog : public net::NetLog {
21 public:
22 explicit HeadlessNetLog(const base::FilePath& log_path);
23 ~HeadlessNetLog() override;
24
25 private:
26 std::unique_ptr<net::WriteToFileNetLogObserver> write_to_file_observer_;
27
28 DISALLOW_COPY_AND_ASSIGN(HeadlessNetLog);
29 };
30
31 } // namespace headless
32
33 #endif // HEADLESS_LIB_BROWSER_HEADLESS_NET_LOG_H_
OLDNEW
« no previous file with comments | « headless/lib/browser/headless_browser_main_parts.cc ('k') | headless/lib/browser/headless_net_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698