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

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

Issue 679103004: Add function to get network stack state from a URLRequestContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix badProxies Created 6 years, 1 month 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
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_BASE_NET_LOG_UTIL_H_
6 #define NET_BASE_NET_LOG_UTIL_H_
7
8 #include "base/memory/scoped_ptr.h"
9 #include "net/base/net_export.h"
10
11 namespace base {
12 class DictionaryValue;
13 class Value;
14 }
15
16 namespace net {
17
18 class URLRequestContext;
19
20 enum NetInfoSource {
21 #define NET_INFO_SOURCE(label, string, value) NET_INFO_ ## label = value,
22 #include "net/base/net_info_source_list.h"
23 #undef NET_INFO_SOURCE
24 NET_INFO_ALL_SOURCES = -1,
25 };
26
27 // Utility methods for creating NetLog dumps.
28
29 // Create a dictionary containing legend for net/ constants.
30 NET_EXPORT scoped_ptr<base::DictionaryValue> GetNetConstants();
31
32 NET_EXPORT scoped_ptr<base::DictionaryValue> GetNetInfo(
eroman 2014/10/28 21:59:41 Documentation: Please give more details on the typ
mmenke 2014/10/29 15:44:55 Done. I deliberately haven't gone into much detai
33 URLRequestContext* context, int info_sources);
34
35 } // namespace net
36
37 #endif // NET_BASE_NET_LOG_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698