Index: chrome/browser/chromeos/login/quick_unlock/pin_storage_unittest.cc |
diff --git a/chrome/browser/chromeos/login/quick_unlock/pin_storage_unittest.cc b/chrome/browser/chromeos/login/quick_unlock/pin_storage_unittest.cc |
index 039d6d5b190eafd0f7dac8e7ade916ac7ee8f9e4..ee5225c1d61f50c5fb8efc3b62f4ca392ed8e696 100644 |
--- a/chrome/browser/chromeos/login/quick_unlock/pin_storage_unittest.cc |
+++ b/chrome/browser/chromeos/login/quick_unlock/pin_storage_unittest.cc |
@@ -17,11 +17,13 @@ namespace { |
class PinStorageUnitTest : public testing::Test { |
protected: |
- PinStorageUnitTest() : profile_(new TestingProfile()) {} |
+ PinStorageUnitTest() : profile_(base::MakeUnique<TestingProfile>()) {} |
~PinStorageUnitTest() override {} |
// testing::Test: |
- void SetUp() override { quick_unlock::EnableForTesting(); } |
+ void SetUp() override { |
+ quick_unlock::EnableForTesting(quick_unlock::PinStorageType::kPrefs); |
+ } |
content::TestBrowserThreadBundle thread_bundle_; |
std::unique_ptr<TestingProfile> profile_; |