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

Unified Diff: chrome/browser/chromeos/login/profile_auth_data_unittest.cc

Issue 2095523002: Make //crypto factories return std::unique_ptr<>s (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: I'm blind Created 4 years, 6 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
Index: chrome/browser/chromeos/login/profile_auth_data_unittest.cc
diff --git a/chrome/browser/chromeos/login/profile_auth_data_unittest.cc b/chrome/browser/chromeos/login/profile_auth_data_unittest.cc
index 2de25a14d7f34d093f6ab866006ed318dd1bb1d1..e5fb43f60138848f882308daebc74ec4266703e9 100644
--- a/chrome/browser/chromeos/login/profile_auth_data_unittest.cc
+++ b/chrome/browser/chromeos/login/profile_auth_data_unittest.cc
@@ -110,17 +110,15 @@ class ProfileAuthDataTest : public testing::Test {
};
void ProfileAuthDataTest::SetUp() {
- channel_id_key1_.reset(crypto::ECPrivateKey::Create());
- channel_id_key2_.reset(crypto::ECPrivateKey::Create());
+ channel_id_key1_ = crypto::ECPrivateKey::Create();
+ channel_id_key2_ = crypto::ECPrivateKey::Create();
PopulateBrowserContext(&login_browser_context_, kProxyAuthPassword1,
- kCookieValue1,
- base::WrapUnique(channel_id_key1_->Copy()));
+ kCookieValue1, channel_id_key1_->Copy());
}
void ProfileAuthDataTest::PopulateUserBrowserContext() {
PopulateBrowserContext(&user_browser_context_, kProxyAuthPassword2,
- kCookieValue2,
- base::WrapUnique(channel_id_key2_->Copy()));
+ kCookieValue2, channel_id_key2_->Copy());
}
void ProfileAuthDataTest::Transfer(
« no previous file with comments | « chrome/browser/browsing_data/browsing_data_remover_unittest.cc ('k') | chrome/browser/chromeos/settings/token_encryptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698