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

Side by Side Diff: net/http/http_stream_factory_impl_unittest.cc

Issue 27026002: CT: Adding preliminary Certificate Transparency support to Chromium. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Distinguish between SCTs from unknown logs and unverified ones Created 7 years, 1 month 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/http/http_proxy_client_socket_pool_unittest.cc ('k') | net/net.gyp » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "net/http/http_stream_factory_impl.h" 5 #include "net/http/http_stream_factory_impl.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 CapturePreconnectsSSLSocketPool::CapturePreconnectsSocketPool( 416 CapturePreconnectsSSLSocketPool::CapturePreconnectsSocketPool(
417 HostResolver* host_resolver, 417 HostResolver* host_resolver,
418 CertVerifier* cert_verifier) 418 CertVerifier* cert_verifier)
419 : SSLClientSocketPool(0, 419 : SSLClientSocketPool(0,
420 0, 420 0,
421 NULL, 421 NULL,
422 host_resolver, 422 host_resolver,
423 cert_verifier, 423 cert_verifier,
424 NULL, 424 NULL,
425 NULL, 425 NULL,
426 NULL,
426 std::string(), 427 std::string(),
427 NULL, 428 NULL,
428 NULL, 429 NULL,
429 NULL, 430 NULL,
430 NULL, 431 NULL,
431 NULL, 432 NULL,
432 NULL), 433 NULL),
433 last_num_streams_(-1) {} 434 last_num_streams_(-1) {}
434 435
435 class HttpStreamFactoryTest : public ::testing::Test, 436 class HttpStreamFactoryTest : public ::testing::Test,
(...skipping 834 matching lines...) Expand 10 before | Expand all | Expand 10 after
1270 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); 1271 EXPECT_TRUE(waiter.used_proxy_info().is_direct());
1271 1272
1272 // Make sure there is no orphaned job. it is already canceled. 1273 // Make sure there is no orphaned job. it is already canceled.
1273 ASSERT_EQ(0u, static_cast<HttpStreamFactoryImpl*>( 1274 ASSERT_EQ(0u, static_cast<HttpStreamFactoryImpl*>(
1274 session->websocket_handshake_stream_factory())->num_orphaned_jobs()); 1275 session->websocket_handshake_stream_factory())->num_orphaned_jobs());
1275 } 1276 }
1276 1277
1277 } // namespace 1278 } // namespace
1278 1279
1279 } // namespace net 1280 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_proxy_client_socket_pool_unittest.cc ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698