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

Unified Diff: chrome/browser/chromeos/login/quick_unlock/pin_storage_unittest.cc

Issue 2815733003: cros: Add PinStorageProvider enum which describes pin backend in use. (Closed)
Patch Set: Address comments Created 3 years, 7 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/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_;

Powered by Google App Engine
This is Rietveld 408576698