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

Unified Diff: chrome/browser/policy/configuration_policy_pref_store_unittest.cc

Issue 13132004: Implement Enterprise Key API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing reviewer comments. Created 7 years, 8 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/policy/configuration_policy_pref_store_unittest.cc
diff --git a/chrome/browser/policy/configuration_policy_pref_store_unittest.cc b/chrome/browser/policy/configuration_policy_pref_store_unittest.cc
index a801f83effc639c706558ab7633b59fb2038b76b..76d7ba7ce2d85e2f31949778e177b5cf1077db58 100644
--- a/chrome/browser/policy/configuration_policy_pref_store_unittest.cc
+++ b/chrome/browser/policy/configuration_policy_pref_store_unittest.cc
@@ -116,6 +116,15 @@ INSTANTIATE_TEST_CASE_P(
PolicyAndPref(key::kURLWhitelist,
prefs::kUrlWhitelist)));
+#if defined(OS_CHROMEOS)
+INSTANTIATE_TEST_CASE_P(
+ CrosConfigurationPolicyPrefStoreListTestInstance,
+ ConfigurationPolicyPrefStoreListTest,
+ testing::Values(
+ PolicyAndPref(key::kAttestationExtensionWhitelist,
+ prefs::kAttestationExtensionWhitelist)));
+#endif // defined(OS_CHROMEOS)
+
// Test cases for string-valued policy settings.
class ConfigurationPolicyPrefStoreStringTest
: public ConfigurationPolicyPrefStoreTest,
@@ -308,7 +317,9 @@ INSTANTIATE_TEST_CASE_P(
PolicyAndPref(key::kAudioOutputAllowed,
prefs::kAudioOutputAllowed),
PolicyAndPref(key::kAudioCaptureAllowed,
- prefs::kAudioCaptureAllowed)));
+ prefs::kAudioCaptureAllowed),
+ PolicyAndPref(key::kAttestationEnabledForUser,
+ prefs::kAttestationEnabled)));
#endif // defined(OS_CHROMEOS)
// Test cases for integer-valued policy settings.

Powered by Google App Engine
This is Rietveld 408576698