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

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

Issue 2982009: Revert everything related to the relanding. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 5 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 | « net/base/listen_socket_unittest.h ('k') | net/base/net_log.cc » ('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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_H_ 5 #ifndef NET_BASE_NET_LOG_H_
6 #define NET_BASE_NET_LOG_H_ 6 #define NET_BASE_NET_LOG_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/ref_counted.h" 12 #include "base/ref_counted.h"
13 #include "base/scoped_ptr.h"
14 #include "base/time.h"
13 15
14 class Value; 16 class Value;
15 17
16 namespace base {
17 class TimeTicks;
18 }
19
20 namespace net { 18 namespace net {
21 19
22 // NetLog is the destination for log messages generated by the network stack. 20 // NetLog is the destination for log messages generated by the network stack.
23 // Each log message has a "source" field which identifies the specific entity 21 // Each log message has a "source" field which identifies the specific entity
24 // that generated the message (for example, which URLRequest or which 22 // that generated the message (for example, which URLRequest or which
25 // SocketStream). 23 // SocketStream).
26 // 24 //
27 // To avoid needing to pass in the "source id" to the logging functions, NetLog 25 // To avoid needing to pass in the "source id" to the logging functions, NetLog
28 // is usually accessed through a BoundNetLog, which will always pass in a 26 // is usually accessed through a BoundNetLog, which will always pass in a
29 // specific source ID. 27 // specific source ID.
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 virtual Value* ToValue() const; 222 virtual Value* ToValue() const;
225 223
226 private: 224 private:
227 const char* name_; 225 const char* name_;
228 const NetLog::Source value_; 226 const NetLog::Source value_;
229 }; 227 };
230 228
231 } // namespace net 229 } // namespace net
232 230
233 #endif // NET_BASE_NET_LOG_H_ 231 #endif // NET_BASE_NET_LOG_H_
OLDNEW
« no previous file with comments | « net/base/listen_socket_unittest.h ('k') | net/base/net_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698