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

Side by Side Diff: net/log/bounded_file_net_log_observer.h

Issue 2531373002: net: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase on top of master branch Created 4 years 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
« no previous file with comments | « net/http/proxy_client_socket.h ('k') | net/log/net_log.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BOUNDED_FILE_NET_LOG_OBSERVER_H_ 5 #ifndef BOUNDED_FILE_NET_LOG_OBSERVER_H_
6 #define BOUNDED_FILE_NET_LOG_OBSERVER_H_ 6 #define BOUNDED_FILE_NET_LOG_OBSERVER_H_
7 7
8 #include <queue> 8 #include <queue>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/files/scoped_file.h" 11 #include "base/files/scoped_file.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/synchronization/lock.h" 15 #include "base/synchronization/lock.h"
16 #include "base/threading/thread.h" 16 #include "base/threading/thread.h"
17 #include "base/threading/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
18 #include "net/base/net_export.h" 18 #include "net/base/net_export.h"
19 #include "net/log/net_log.h" 19 #include "net/log/net_log.h"
20 #include "net/log/net_log_capture_mode.h" 20 #include "net/log/net_log_capture_mode.h"
21 21
22 namespace base { 22 namespace base {
23 class DictionaryValue;
24 class Value; 23 class Value;
25 } // namespace base 24 } // namespace base
26 25
27 namespace net { 26 namespace net {
28 27
29 class URLRequestContext; 28 class URLRequestContext;
30 29
31 // BoundedFileNetLogObserver watches the NetLog event stream and sends all 30 // BoundedFileNetLogObserver watches the NetLog event stream and sends all
32 // entries to a group of files in the directory specified when observation 31 // entries to a group of files in the directory specified when observation
33 // starts. 32 // starts.
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 // thread is safe because the FileWriter object will be alive until the 126 // thread is safe because the FileWriter object will be alive until the
128 // observer's destruction. 127 // observer's destruction.
129 FileWriter* file_writer_; 128 FileWriter* file_writer_;
130 129
131 DISALLOW_COPY_AND_ASSIGN(BoundedFileNetLogObserver); 130 DISALLOW_COPY_AND_ASSIGN(BoundedFileNetLogObserver);
132 }; 131 };
133 132
134 } // namespace net 133 } // namespace net
135 134
136 #endif // BOUNDED_FILE_NET_LOG_OBSERVER_H_ 135 #endif // BOUNDED_FILE_NET_LOG_OBSERVER_H_
OLDNEW
« no previous file with comments | « net/http/proxy_client_socket.h ('k') | net/log/net_log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698