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

Side by Side Diff: net/url_request/url_request_unittest.h

Issue 2363003: Rework the logging for sockets/connectjobs.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/tools/fetch/fetch_client.cc ('k') | webkit/tools/test_shell/test_shell_request_context.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) 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 #ifndef NET_URL_REQUEST_URL_REQUEST_UNITTEST_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_UNITTEST_H_
6 #define NET_URL_REQUEST_URL_REQUEST_UNITTEST_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_UNITTEST_H_
7 7
8 #include <stdlib.h> 8 #include <stdlib.h>
9 9
10 #include <sstream> 10 #include <sstream>
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 private: 158 private:
159 void Init() { 159 void Init() {
160 ftp_transaction_factory_ = new net::FtpNetworkLayer(host_resolver_); 160 ftp_transaction_factory_ = new net::FtpNetworkLayer(host_resolver_);
161 ssl_config_service_ = new net::SSLConfigServiceDefaults; 161 ssl_config_service_ = new net::SSLConfigServiceDefaults;
162 http_auth_handler_factory_ = net::HttpAuthHandlerFactory::CreateDefault(); 162 http_auth_handler_factory_ = net::HttpAuthHandlerFactory::CreateDefault();
163 http_transaction_factory_ = 163 http_transaction_factory_ =
164 new net::HttpCache( 164 new net::HttpCache(
165 net::HttpNetworkLayer::CreateFactory(NULL, host_resolver_, 165 net::HttpNetworkLayer::CreateFactory(NULL, host_resolver_,
166 proxy_service_, 166 proxy_service_,
167 ssl_config_service_, 167 ssl_config_service_,
168 http_auth_handler_factory_), 168 http_auth_handler_factory_,
169 NULL),
169 net::HttpCache::DefaultBackend::InMemory(0)); 170 net::HttpCache::DefaultBackend::InMemory(0));
170 // In-memory cookie store. 171 // In-memory cookie store.
171 cookie_store_ = new net::CookieMonster(NULL, NULL); 172 cookie_store_ = new net::CookieMonster(NULL, NULL);
172 accept_language_ = "en-us,fr"; 173 accept_language_ = "en-us,fr";
173 accept_charset_ = "iso-8859-1,*,utf-8"; 174 accept_charset_ = "iso-8859-1,*,utf-8";
174 } 175 }
175 }; 176 };
176 177
177 //----------------------------------------------------------------------------- 178 //-----------------------------------------------------------------------------
178 179
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
750 return false; 751 return false;
751 752
752 return true; 753 return true;
753 } 754 }
754 755
755 private: 756 private:
756 ~FTPTestServer() {} 757 ~FTPTestServer() {}
757 }; 758 };
758 759
759 #endif // NET_URL_REQUEST_URL_REQUEST_UNITTEST_H_ 760 #endif // NET_URL_REQUEST_URL_REQUEST_UNITTEST_H_
OLDNEW
« no previous file with comments | « net/tools/fetch/fetch_client.cc ('k') | webkit/tools/test_shell/test_shell_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698