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

Side by Side Diff: net/base/net_log_logger.h

Issue 574433002: Make the net logging code more compact. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More compact net logger. Created 6 years, 3 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
« no previous file with comments | « no previous file | net/base/net_log_logger.cc » ('j') | net/base/net_log_logger.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 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 NET_BASE_NET_LOG_LOGGER_H_ 5 #ifndef NET_BASE_NET_LOG_LOGGER_H_
6 #define NET_BASE_NET_LOG_LOGGER_H_ 6 #define NET_BASE_NET_LOG_LOGGER_H_
7 7
8 #include <stdio.h> 8 #include <stdio.h>
9 9
10 #include "base/files/scoped_file.h" 10 #include "base/files/scoped_file.h"
11 #include "base/macros.h"
11 #include "net/base/net_log.h" 12 #include "net/base/net_log.h"
12 13
13 namespace base { 14 namespace base {
14 class FilePath; 15 class FilePath;
15 class Value; 16 class Value;
16 } 17 }
17 18
18 namespace net { 19 namespace net {
19 20
20 // NetLogLogger watches the NetLog event stream, and sends all entries to 21 // NetLogLogger watches the NetLog event stream, and sends all entries to
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 55
55 // True if OnAddEntry() has been called at least once. 56 // True if OnAddEntry() has been called at least once.
56 bool added_events_; 57 bool added_events_;
57 58
58 DISALLOW_COPY_AND_ASSIGN(NetLogLogger); 59 DISALLOW_COPY_AND_ASSIGN(NetLogLogger);
59 }; 60 };
60 61
61 } // namespace net 62 } // namespace net
62 63
63 #endif // NET_BASE_NET_LOG_LOGGER_H_ 64 #endif // NET_BASE_NET_LOG_LOGGER_H_
OLDNEW
« no previous file with comments | « no previous file | net/base/net_log_logger.cc » ('j') | net/base/net_log_logger.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698