| Index: chrome/browser/chromeos/login/quick_unlock/fingerprint_storage_unittest.cc
|
| diff --git a/chrome/browser/chromeos/login/quick_unlock/fingerprint_storage_unittest.cc b/chrome/browser/chromeos/login/quick_unlock/fingerprint_storage_unittest.cc
|
| index 600dd230907cf4fc0d73927a162a1059924a1dcc..0c521f8e8dbfdc74db7514a992f408d7438e6a99 100644
|
| --- a/chrome/browser/chromeos/login/quick_unlock/fingerprint_storage_unittest.cc
|
| +++ b/chrome/browser/chromeos/login/quick_unlock/fingerprint_storage_unittest.cc
|
| @@ -2,6 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "chrome/browser/chromeos/login/quick_unlock/fingerprint_storage.h"
|
| #include "chrome/browser/chromeos/login/quick_unlock/quick_unlock_factory.h"
|
| #include "chrome/browser/chromeos/login/quick_unlock/quick_unlock_storage.h"
|
| #include "chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.h"
|
| @@ -16,11 +17,13 @@ namespace {
|
|
|
| class FingerprintStorageUnitTest : public testing::Test {
|
| protected:
|
| - FingerprintStorageUnitTest() : profile_(new TestingProfile()) {}
|
| + FingerprintStorageUnitTest() : profile_(base::MakeUnique<TestingProfile>()) {}
|
| ~FingerprintStorageUnitTest() override {}
|
|
|
| // testing::Test:
|
| - void SetUp() override { quick_unlock::EnableForTesting(); }
|
| + void SetUp() override {
|
| + quick_unlock::EnableForTesting(quick_unlock::PinStorageType::kPrefs);
|
| + }
|
|
|
| void SetRecords(int records_number) {
|
| profile_->GetPrefs()->SetInteger(prefs::kQuickUnlockFingerprintRecord,
|
|
|