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

Side by Side Diff: chrome/test/plugin/plugin_test.cpp

Issue 4208002: Revert 64202 - Initial support for built-in DNS resolver/cache.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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 | « chrome/service/net/service_url_request_context.cc ('k') | chrome_frame/metrics_service.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 // 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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 256
257 ~UploadRequestContext() { 257 ~UploadRequestContext() {
258 DVLOG(1) << __FUNCTION__; 258 DVLOG(1) << __FUNCTION__;
259 delete http_transaction_factory_; 259 delete http_transaction_factory_;
260 delete http_auth_handler_factory_; 260 delete http_auth_handler_factory_;
261 } 261 }
262 262
263 void Initialize() { 263 void Initialize() {
264 host_resolver_ = 264 host_resolver_ =
265 net::CreateSystemHostResolver(net::HostResolver::kDefaultParallelism, 265 net::CreateSystemHostResolver(net::HostResolver::kDefaultParallelism,
266 NULL, NULL); 266 NULL);
267 net::ProxyConfigService* proxy_config_service = 267 net::ProxyConfigService* proxy_config_service =
268 net::ProxyService::CreateSystemProxyConfigService(NULL, NULL); 268 net::ProxyService::CreateSystemProxyConfigService(NULL, NULL);
269 DCHECK(proxy_config_service); 269 DCHECK(proxy_config_service);
270 270
271 const size_t kNetLogBound = 50u; 271 const size_t kNetLogBound = 50u;
272 net_log_.reset(new net::CapturingNetLog(kNetLogBound)); 272 net_log_.reset(new net::CapturingNetLog(kNetLogBound));
273 273
274 proxy_service_ = net::ProxyService::CreateUsingSystemProxyResolver( 274 proxy_service_ = net::ProxyService::CreateUsingSystemProxyResolver(
275 proxy_config_service, 0, net_log_.get()); 275 proxy_config_service, 0, net_log_.get());
276 DCHECK(proxy_service_); 276 DCHECK(proxy_service_);
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 TEST_F(PluginInstallerDownloadTest, PluginInstallerDownloadPathTest) { 344 TEST_F(PluginInstallerDownloadTest, PluginInstallerDownloadPathTest) {
345 MessageLoop loop(MessageLoop::TYPE_IO); 345 MessageLoop loop(MessageLoop::TYPE_IO);
346 Start(); 346 Start();
347 loop.Run(); 347 loop.Run();
348 348
349 EXPECT_TRUE(success()); 349 EXPECT_TRUE(success());
350 EXPECT_TRUE(initial_download_path().BaseName().value() == 350 EXPECT_TRUE(initial_download_path().BaseName().value() ==
351 final_download_path().BaseName().value()); 351 final_download_path().BaseName().value());
352 } 352 }
353 #endif // defined(OS_WIN) 353 #endif // defined(OS_WIN)
OLDNEW
« no previous file with comments | « chrome/service/net/service_url_request_context.cc ('k') | chrome_frame/metrics_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698