| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_UTIL_H_ | 5 #ifndef NET_BASE_NET_LOG_UTIL_H_ |
| 6 #define NET_BASE_NET_LOG_UTIL_H_ | 6 #define NET_BASE_NET_LOG_UTIL_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 "net/base/net_log.h" | 12 #include "net/base/capturing_net_log.h" |
| 13 | 13 |
| 14 namespace net { | 14 namespace net { |
| 15 | 15 |
| 16 // The NetLogUtil utility class contains methods to analyze and visualize | 16 // The NetLogUtil utility class contains methods to analyze and visualize |
| 17 // NetLog entries. | 17 // NetLog entries. |
| 18 | 18 |
| 19 class NetLogUtil { | 19 class NetLogUtil { |
| 20 public: | 20 public: |
| 21 struct EventDuration { | 21 struct EventDuration { |
| 22 NetLog::EventType event; | 22 NetLog::EventType event; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 const std::vector<CapturingNetLog::Entry>& entries, | 67 const std::vector<CapturingNetLog::Entry>& entries, |
| 68 size_t num_entries_truncated); | 68 size_t num_entries_truncated); |
| 69 | 69 |
| 70 private: | 70 private: |
| 71 DISALLOW_IMPLICIT_CONSTRUCTORS(NetLogUtil); | 71 DISALLOW_IMPLICIT_CONSTRUCTORS(NetLogUtil); |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 } // namespace net | 74 } // namespace net |
| 75 | 75 |
| 76 #endif // NET_BASE_NET_LOG_UTIL_H_ | 76 #endif // NET_BASE_NET_LOG_UTIL_H_ |
| OLD | NEW |