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

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

Issue 1556018: Add support for attaching custom parameters to NetLog events. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Address willchan's comments Created 10 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resources/net_internals/sourceentry.js ('k') | net/base/host_resolver_impl.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_HOST_RESOLVER_IMPL_H_ 5 #ifndef NET_BASE_HOST_RESOLVER_IMPL_H_
6 #define NET_BASE_HOST_RESOLVER_IMPL_H_ 6 #define NET_BASE_HOST_RESOLVER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 // Clears the request trace log. 107 // Clears the request trace log.
108 void ClearRequestsTrace(); 108 void ClearRequestsTrace();
109 109
110 // Starts/ends capturing requests to a trace log. 110 // Starts/ends capturing requests to a trace log.
111 void EnableRequestsTracing(bool enable); 111 void EnableRequestsTracing(bool enable);
112 112
113 bool IsRequestsTracingEnabled() const; 113 bool IsRequestsTracingEnabled() const;
114 114
115 // Gets a copy of the requests trace log. 115 // Gets a copy of the requests trace log.
116 bool GetRequestsTrace(std::vector<NetLog::Entry>* entries); 116 bool GetRequestsTrace(CapturingNetLog::EntryList* entries);
117 117
118 // Applies a set of constraints for requests that belong to the specified 118 // Applies a set of constraints for requests that belong to the specified
119 // pool. NOTE: Don't call this after requests have been already been started. 119 // pool. NOTE: Don't call this after requests have been already been started.
120 // 120 //
121 // |pool_index| -- Specifies which pool these constraints should be applied 121 // |pool_index| -- Specifies which pool these constraints should be applied
122 // to. 122 // to.
123 // |max_outstanding_jobs| -- How many concurrent jobs are allowed for this 123 // |max_outstanding_jobs| -- How many concurrent jobs are allowed for this
124 // pool. 124 // pool.
125 // |max_pending_requests| -- How many requests can be enqueued for this pool 125 // |max_pending_requests| -- How many requests can be enqueued for this pool
126 // before we start dropping requests. Dropped 126 // before we start dropping requests. Dropped
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 261
262 // The last un-cancelled IPv6ProbeJob (if any). 262 // The last un-cancelled IPv6ProbeJob (if any).
263 scoped_refptr<IPv6ProbeJob> ipv6_probe_job_; 263 scoped_refptr<IPv6ProbeJob> ipv6_probe_job_;
264 264
265 DISALLOW_COPY_AND_ASSIGN(HostResolverImpl); 265 DISALLOW_COPY_AND_ASSIGN(HostResolverImpl);
266 }; 266 };
267 267
268 } // namespace net 268 } // namespace net
269 269
270 #endif // NET_BASE_HOST_RESOLVER_IMPL_H_ 270 #endif // NET_BASE_HOST_RESOLVER_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/net_internals/sourceentry.js ('k') | net/base/host_resolver_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698