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

Side by Side Diff: net/spdy/spdy_test_util.h

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 | « net/proxy/proxy_script_fetcher_impl_unittest.cc ('k') | net/tools/crash_cache/crash_cache.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_SPDY_SPDY_TEST_UTIL_H_ 5 #ifndef NET_SPDY_SPDY_TEST_UTIL_H_
6 #define NET_SPDY_SPDY_TEST_UTIL_H_ 6 #define NET_SPDY_SPDY_TEST_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "net/base/cert_verifier.h" 10 #include "net/base/cert_verifier.h"
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 cert_verifier_, 412 cert_verifier_,
413 NULL /* dnsrr_resolver */, 413 NULL /* dnsrr_resolver */,
414 NULL /* dns_cert_checker */, 414 NULL /* dns_cert_checker */,
415 NULL /* ssl_host_info_factory */, 415 NULL /* ssl_host_info_factory */,
416 proxy_service_, 416 proxy_service_,
417 ssl_config_service_, 417 ssl_config_service_,
418 new SpdySessionPool(NULL), 418 new SpdySessionPool(NULL),
419 http_auth_handler_factory_, 419 http_auth_handler_factory_,
420 network_delegate_, 420 network_delegate_,
421 NULL), 421 NULL),
422 NULL /* net_log */,
423 net::HttpCache::DefaultBackend::InMemory(0)); 422 net::HttpCache::DefaultBackend::InMemory(0));
424 } 423 }
425 424
426 MockClientSocketFactory& socket_factory() { return socket_factory_; } 425 MockClientSocketFactory& socket_factory() { return socket_factory_; }
427 426
428 protected: 427 protected:
429 virtual ~SpdyURLRequestContext() { 428 virtual ~SpdyURLRequestContext() {
430 delete http_transaction_factory_; 429 delete http_transaction_factory_;
431 delete http_auth_handler_factory_; 430 delete http_auth_handler_factory_;
432 delete cert_verifier_; 431 delete cert_verifier_;
433 delete host_resolver_; 432 delete host_resolver_;
434 } 433 }
435 434
436 private: 435 private:
437 MockClientSocketFactory socket_factory_; 436 MockClientSocketFactory socket_factory_;
438 }; 437 };
439 438
440 const SpdyHeaderInfo make_spdy_header(spdy::SpdyControlType type); 439 const SpdyHeaderInfo make_spdy_header(spdy::SpdyControlType type);
441 } // namespace net 440 } // namespace net
442 441
443 #endif // NET_SPDY_SPDY_TEST_UTIL_H_ 442 #endif // NET_SPDY_SPDY_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « net/proxy/proxy_script_fetcher_impl_unittest.cc ('k') | net/tools/crash_cache/crash_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698