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

Unified Diff: chrome/browser/chromeos/settings/device_settings_test_helper.cc

Issue 567553002: TPMTokenLoader: Report both the disabled and enabled state of the TPM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nss_util_deadcode
Patch Set: Addressed nit. Created 6 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
Index: chrome/browser/chromeos/settings/device_settings_test_helper.cc
diff --git a/chrome/browser/chromeos/settings/device_settings_test_helper.cc b/chrome/browser/chromeos/settings/device_settings_test_helper.cc
index 06fd21c3abe9cdb2d824ba271091bc00300b7c24..518e82466205638d61111d9626f84e3c9738420a 100644
--- a/chrome/browser/chromeos/settings/device_settings_test_helper.cc
+++ b/chrome/browser/chromeos/settings/device_settings_test_helper.cc
@@ -263,7 +263,7 @@ void DeviceSettingsTestBase::InitOwner(const std::string& user_id,
OwnerSettingsServiceFactory::GetForProfile(profile_.get());
CHECK(service);
if (tpm_is_ready)
- service->OnTPMTokenReady();
+ service->OnTPMTokenReady(true /* token is enabled */);
}
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698