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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 net::HttpNetworkLayer::CreateFactory(host_resolver_, | 281 net::HttpNetworkLayer::CreateFactory(host_resolver_, |
282 cert_verifier_, | 282 cert_verifier_, |
283 NULL /* dnsrr_resolver */, | 283 NULL /* dnsrr_resolver */, |
284 NULL /* dns_cert_checker */, | 284 NULL /* dns_cert_checker */, |
285 NULL /* ssl_host_info_factory */, | 285 NULL /* ssl_host_info_factory */, |
286 proxy_service_, | 286 proxy_service_, |
287 ssl_config_service_, | 287 ssl_config_service_, |
288 http_auth_handler_factory_, | 288 http_auth_handler_factory_, |
289 network_delegate_, | 289 network_delegate_, |
290 NULL), | 290 NULL), |
| 291 NULL /* net_log */, |
291 net::HttpCache::DefaultBackend::InMemory(0)); | 292 net::HttpCache::DefaultBackend::InMemory(0)); |
292 } | 293 } |
293 | 294 |
294 private: | 295 private: |
295 scoped_ptr<net::NetLog> net_log_; | 296 scoped_ptr<net::NetLog> net_log_; |
296 scoped_ptr<net::URLSecurityManager> url_security_manager_; | 297 scoped_ptr<net::URLSecurityManager> url_security_manager_; |
297 }; | 298 }; |
298 | 299 |
299 PluginInstallerDownloadTest() | 300 PluginInstallerDownloadTest() |
300 : success_(false), | 301 : success_(false), |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 TEST_F(PluginInstallerDownloadTest, PluginInstallerDownloadPathTest) { | 346 TEST_F(PluginInstallerDownloadTest, PluginInstallerDownloadPathTest) { |
346 MessageLoop loop(MessageLoop::TYPE_IO); | 347 MessageLoop loop(MessageLoop::TYPE_IO); |
347 Start(); | 348 Start(); |
348 loop.Run(); | 349 loop.Run(); |
349 | 350 |
350 EXPECT_TRUE(success()); | 351 EXPECT_TRUE(success()); |
351 EXPECT_TRUE(initial_download_path().BaseName().value() == | 352 EXPECT_TRUE(initial_download_path().BaseName().value() == |
352 final_download_path().BaseName().value()); | 353 final_download_path().BaseName().value()); |
353 } | 354 } |
354 #endif // defined(OS_WIN) | 355 #endif // defined(OS_WIN) |
OLD | NEW |