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

Unified Diff: net/proxy/proxy_resolver_js_bindings_unittest.cc

Issue 10546071: CapturingNetLog - remove maximum entries constructor argument. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/proxy/multi_threaded_proxy_resolver_unittest.cc ('k') | net/proxy/proxy_resolver_v8_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_resolver_js_bindings_unittest.cc
===================================================================
--- net/proxy/proxy_resolver_js_bindings_unittest.cc (revision 141266)
+++ net/proxy/proxy_resolver_js_bindings_unittest.cc (working copy)
@@ -33,7 +33,7 @@
// HostResolver methods:
virtual int Resolve(const HostResolver::RequestInfo& info,
AddressList* addresses,
- const net::BoundNetLog& bound_net_log) OVERRIDE {
+ const BoundNetLog& bound_net_log) OVERRIDE {
return ParseAddressList("192.168.1.1,172.22.34.1,200.100.1.2", "",
addresses);
}
@@ -51,7 +51,7 @@
// HostResolver methods:
virtual int Resolve(const HostResolver::RequestInfo& info,
AddressList* addresses,
- const net::BoundNetLog& bound_net_log) OVERRIDE {
+ const BoundNetLog& bound_net_log) OVERRIDE {
count_++;
return ERR_NAME_NOT_RESOLVED;
}
@@ -74,7 +74,7 @@
virtual int Resolve(const HostResolver::RequestInfo& info,
AddressList* addresses,
- const net::BoundNetLog& bound_net_log) OVERRIDE {
+ const BoundNetLog& bound_net_log) OVERRIDE {
return resolver_.Resolve(info, addresses, CompletionCallback(), NULL,
bound_net_log);
}
@@ -267,7 +267,7 @@
TEST(ProxyResolverJSBindingsTest, NetLog) {
MockFailingHostResolver* host_resolver = new MockFailingHostResolver;
- CapturingNetLog global_log(CapturingNetLog::kUnbounded);
+ CapturingNetLog global_log;
// Get a hold of a DefaultJSBindings* (it is a hidden impl class).
scoped_ptr<ProxyResolverJSBindings> bindings(
@@ -275,7 +275,7 @@
host_resolver, &global_log, NULL));
// Attach a capturing NetLog as the current request's log stream.
- CapturingNetLog log(CapturingNetLog::kUnbounded);
+ CapturingNetLog log;
BoundNetLog bound_log(BoundNetLog::Make(&log, NetLog::SOURCE_NONE));
ProxyResolverRequestContext context(&bound_log, NULL);
bindings->set_current_request_context(&context);
« no previous file with comments | « net/proxy/multi_threaded_proxy_resolver_unittest.cc ('k') | net/proxy/proxy_resolver_v8_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698