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

Unified Diff: chrome/test/chromedriver/net/url_request_context_getter.cc

Issue 2341693002: Re-write many calls to WrapUnique() with MakeUnique() (Closed)
Patch Set: Change std::string() back to "" to fix compile Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/chromedriver/commands.cc ('k') | chrome/utility/importer/edge_database_reader_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/net/url_request_context_getter.cc
diff --git a/chrome/test/chromedriver/net/url_request_context_getter.cc b/chrome/test/chromedriver/net/url_request_context_getter.cc
index d9c809d1ee8bc41f06fdb5abc126a78f2e78c4d6..21b32a397fee3502a42acc639e6f54ddeee83c4d 100644
--- a/chrome/test/chromedriver/net/url_request_context_getter.cc
+++ b/chrome/test/chromedriver/net/url_request_context_getter.cc
@@ -24,8 +24,9 @@ net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() {
// net::HttpServer fails to parse headers if user-agent header is blank.
builder.set_user_agent("chromedriver");
builder.DisableHttpCache();
- builder.set_proxy_config_service(base::WrapUnique(
- new net::ProxyConfigServiceFixed(net::ProxyConfig::CreateDirect())));
+ builder.set_proxy_config_service(
+ base::MakeUnique<net::ProxyConfigServiceFixed>(
+ net::ProxyConfig::CreateDirect()));
url_request_context_ = builder.Build();
}
return url_request_context_.get();
« no previous file with comments | « chrome/test/chromedriver/commands.cc ('k') | chrome/utility/importer/edge_database_reader_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698