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

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

Issue 8824006: Migrate net/socket/socket.h, net/socket/stream_socket.h to base::Bind(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "net/base/net_export.h" 15 #include "net/base/net_export.h"
16 16
17 namespace base { 17 namespace base {
18 class TimeTicks;
18 class Value; 19 class Value;
19 } 20 }
20 21
21 namespace base {
22 class TimeTicks;
23 }
24
25 namespace net { 22 namespace net {
26 23
27 // NetLog is the destination for log messages generated by the network stack. 24 // NetLog is the destination for log messages generated by the network stack.
28 // Each log message has a "source" field which identifies the specific entity 25 // Each log message has a "source" field which identifies the specific entity
29 // that generated the message (for example, which URLRequest or which 26 // that generated the message (for example, which URLRequest or which
30 // SocketStream). 27 // SocketStream).
31 // 28 //
32 // To avoid needing to pass in the "source id" to the logging functions, NetLog 29 // To avoid needing to pass in the "source id" to the logging functions, NetLog
33 // is usually accessed through a BoundNetLog, which will always pass in a 30 // is usually accessed through a BoundNetLog, which will always pass in a
34 // specific source ID. 31 // specific source ID.
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 357
361 private: 358 private:
362 BoundNetLog net_log_; 359 BoundNetLog net_log_;
363 const NetLog::EventType event_type_; 360 const NetLog::EventType event_type_;
364 scoped_refptr<NetLog::EventParameters> end_event_params_; 361 scoped_refptr<NetLog::EventParameters> end_event_params_;
365 }; 362 };
366 363
367 } // namespace net 364 } // namespace net
368 365
369 #endif // NET_BASE_NET_LOG_H_ 366 #endif // NET_BASE_NET_LOG_H_
OLDNEW
« no previous file with comments | « jingle/notifier/base/proxy_resolving_client_socket_unittest.cc ('k') | net/curvecp/client_packetizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698