OLD | NEW |
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 // Tests for the top plugins to catch regressions in our plugin host code, as | 5 // Tests for the top plugins to catch regressions in our plugin host code, as |
6 // well as in the out of process code. Currently this tests: | 6 // well as in the out of process code. Currently this tests: |
7 // Flash | 7 // Flash |
8 // Real | 8 // Real |
9 // QuickTime | 9 // QuickTime |
10 // Windows Media Player | 10 // Windows Media Player |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 net::HttpNetworkLayer::CreateFactory(host_resolver_, | 296 net::HttpNetworkLayer::CreateFactory(host_resolver_, |
297 cert_verifier_, | 297 cert_verifier_, |
298 NULL /* dnsrr_resolver */, | 298 NULL /* dnsrr_resolver */, |
299 NULL /* dns_cert_checker */, | 299 NULL /* dns_cert_checker */, |
300 NULL /* ssl_host_info_factory */, | 300 NULL /* ssl_host_info_factory */, |
301 proxy_service_, | 301 proxy_service_, |
302 ssl_config_service_, | 302 ssl_config_service_, |
303 http_auth_handler_factory_, | 303 http_auth_handler_factory_, |
304 network_delegate_, | 304 network_delegate_, |
305 NULL), | 305 NULL), |
| 306 NULL /* net_log */, |
306 net::HttpCache::DefaultBackend::InMemory(0)); | 307 net::HttpCache::DefaultBackend::InMemory(0)); |
307 } | 308 } |
308 | 309 |
309 private: | 310 private: |
310 scoped_ptr<net::NetLog> net_log_; | 311 scoped_ptr<net::NetLog> net_log_; |
311 scoped_ptr<net::URLSecurityManager> url_security_manager_; | 312 scoped_ptr<net::URLSecurityManager> url_security_manager_; |
312 }; | 313 }; |
313 | 314 |
314 PluginInstallerDownloadTest() | 315 PluginInstallerDownloadTest() |
315 : success_(false), | 316 : success_(false), |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 TEST_F(PluginInstallerDownloadTest, PluginInstallerDownloadPathTest) { | 361 TEST_F(PluginInstallerDownloadTest, PluginInstallerDownloadPathTest) { |
361 MessageLoop loop(MessageLoop::TYPE_IO); | 362 MessageLoop loop(MessageLoop::TYPE_IO); |
362 Start(); | 363 Start(); |
363 loop.Run(); | 364 loop.Run(); |
364 | 365 |
365 EXPECT_TRUE(success()); | 366 EXPECT_TRUE(success()); |
366 EXPECT_TRUE(initial_download_path().BaseName().value() == | 367 EXPECT_TRUE(initial_download_path().BaseName().value() == |
367 final_download_path().BaseName().value()); | 368 final_download_path().BaseName().value()); |
368 } | 369 } |
369 #endif // defined(OS_WIN) | 370 #endif // defined(OS_WIN) |
OLD | NEW |