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

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

Issue 6125001: Fixed first pass at adding http/backend cache events to the NetLog. ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix 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 | « net/tools/dump_cache/upgrade.cc ('k') | net/url_request/view_cache_helper_unittest.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 #pragma once 7 #pragma once
8 8
9 #include <stdlib.h> 9 #include <stdlib.h>
10 10
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 net::HttpNetworkLayer::CreateFactory(host_resolver_, 166 net::HttpNetworkLayer::CreateFactory(host_resolver_,
167 cert_verifier_, 167 cert_verifier_,
168 NULL /* dnsrr_resolver */, 168 NULL /* dnsrr_resolver */,
169 NULL /* dns_cert_checker */, 169 NULL /* dns_cert_checker */,
170 NULL /* ssl_host_info_factory */, 170 NULL /* ssl_host_info_factory */,
171 proxy_service_, 171 proxy_service_,
172 ssl_config_service_, 172 ssl_config_service_,
173 http_auth_handler_factory_, 173 http_auth_handler_factory_,
174 network_delegate_, 174 network_delegate_,
175 NULL), 175 NULL),
176 NULL /* net_log */,
176 net::HttpCache::DefaultBackend::InMemory(0)); 177 net::HttpCache::DefaultBackend::InMemory(0));
177 // In-memory cookie store. 178 // In-memory cookie store.
178 cookie_store_ = new net::CookieMonster(NULL, NULL); 179 cookie_store_ = new net::CookieMonster(NULL, NULL);
179 accept_language_ = "en-us,fr"; 180 accept_language_ = "en-us,fr";
180 accept_charset_ = "iso-8859-1,*,utf-8"; 181 accept_charset_ = "iso-8859-1,*,utf-8";
181 } 182 }
182 }; 183 };
183 184
184 //----------------------------------------------------------------------------- 185 //-----------------------------------------------------------------------------
185 186
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 bool received_data_before_response_; 396 bool received_data_before_response_;
396 bool request_failed_; 397 bool request_failed_;
397 bool have_certificate_errors_; 398 bool have_certificate_errors_;
398 std::string data_received_; 399 std::string data_received_;
399 400
400 // our read buffer 401 // our read buffer
401 scoped_refptr<net::IOBuffer> buf_; 402 scoped_refptr<net::IOBuffer> buf_;
402 }; 403 };
403 404
404 #endif // NET_URL_REQUEST_URL_REQUEST_UNITTEST_H_ 405 #endif // NET_URL_REQUEST_URL_REQUEST_UNITTEST_H_
OLDNEW
« no previous file with comments | « net/tools/dump_cache/upgrade.cc ('k') | net/url_request/view_cache_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698