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

Side by Side Diff: chrome/browser/net/connection_tester.cc

Issue 6005015: Revert 70618 - First pass at adding http/backend cache events to the NetLog. ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | « no previous file | chrome/browser/net/passive_log_collector.h » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "chrome/browser/net/connection_tester.h" 5 #include "chrome/browser/net/connection_tester.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 dnsrr_resolver_ = new net::DnsRRResolver; 64 dnsrr_resolver_ = new net::DnsRRResolver;
65 ftp_transaction_factory_ = new net::FtpNetworkLayer(host_resolver_); 65 ftp_transaction_factory_ = new net::FtpNetworkLayer(host_resolver_);
66 ssl_config_service_ = new net::SSLConfigServiceDefaults; 66 ssl_config_service_ = new net::SSLConfigServiceDefaults;
67 http_auth_handler_factory_ = net::HttpAuthHandlerFactory::CreateDefault( 67 http_auth_handler_factory_ = net::HttpAuthHandlerFactory::CreateDefault(
68 host_resolver_); 68 host_resolver_);
69 http_transaction_factory_ = new net::HttpCache( 69 http_transaction_factory_ = new net::HttpCache(
70 net::HttpNetworkLayer::CreateFactory(host_resolver_, cert_verifier_, 70 net::HttpNetworkLayer::CreateFactory(host_resolver_, cert_verifier_,
71 dnsrr_resolver_, NULL /* dns_cert_checker */, 71 dnsrr_resolver_, NULL /* dns_cert_checker */,
72 NULL /* ssl_host_info_factory */, proxy_service_, 72 NULL /* ssl_host_info_factory */, proxy_service_,
73 ssl_config_service_, http_auth_handler_factory_, NULL, NULL), 73 ssl_config_service_, http_auth_handler_factory_, NULL, NULL),
74 NULL /* net_log */,
75 net::HttpCache::DefaultBackend::InMemory(0)); 74 net::HttpCache::DefaultBackend::InMemory(0));
76 // In-memory cookie store. 75 // In-memory cookie store.
77 cookie_store_ = new net::CookieMonster(NULL, NULL); 76 cookie_store_ = new net::CookieMonster(NULL, NULL);
78 77
79 return net::OK; 78 return net::OK;
80 } 79 }
81 80
82 protected: 81 protected:
83 virtual ~ExperimentURLRequestContext() { 82 virtual ~ExperimentURLRequestContext() {
84 delete ftp_transaction_factory_; 83 delete ftp_transaction_factory_;
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 421
423 // Notify the delegate of completion. 422 // Notify the delegate of completion.
424 delegate_->OnCompletedConnectionTestExperiment(current, result); 423 delegate_->OnCompletedConnectionTestExperiment(current, result);
425 424
426 if (remaining_experiments_.empty()) { 425 if (remaining_experiments_.empty()) {
427 delegate_->OnCompletedConnectionTestSuite(); 426 delegate_->OnCompletedConnectionTestSuite();
428 } else { 427 } else {
429 StartNextExperiment(); 428 StartNextExperiment();
430 } 429 }
431 } 430 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/net/passive_log_collector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698