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

Unified Diff: chrome/browser/browsing_data/browsing_data_channel_id_helper_unittest.cc

Issue 2334613003: Re-write many calls to WrapUnique() with MakeUnique() (Closed)
Patch Set: Changes from review by sky 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/browser/browser_process_impl.cc ('k') | chrome/browser/browsing_data/browsing_data_remover.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data/browsing_data_channel_id_helper_unittest.cc
diff --git a/chrome/browser/browsing_data/browsing_data_channel_id_helper_unittest.cc b/chrome/browser/browsing_data/browsing_data_channel_id_helper_unittest.cc
index efbdcd3ba1da1e211812ae594070736871f1e912..87dcd904d693bc3b54986b9dd83fd23c3125dbc2 100644
--- a/chrome/browser/browsing_data/browsing_data_channel_id_helper_unittest.cc
+++ b/chrome/browser/browsing_data/browsing_data_channel_id_helper_unittest.cc
@@ -42,13 +42,13 @@ class BrowsingDataChannelIDHelperTest
net::ChannelIDStore* channel_id_store =
context->channel_id_service()->GetChannelIDStore();
channel_id_store->SetChannelID(
- base::WrapUnique(new net::ChannelIDStore::ChannelID(
+ base::MakeUnique<net::ChannelIDStore::ChannelID>(
"https://www.google.com:443", base::Time(),
- crypto::ECPrivateKey::Create())));
+ crypto::ECPrivateKey::Create()));
channel_id_store->SetChannelID(
- base::WrapUnique(new net::ChannelIDStore::ChannelID(
+ base::MakeUnique<net::ChannelIDStore::ChannelID>(
"https://www.youtube.com:443", base::Time(),
- crypto::ECPrivateKey::Create())));
+ crypto::ECPrivateKey::Create()));
}
void FetchCallback(
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/browsing_data/browsing_data_remover.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698