Index: chrome/test/data/policy/policy_test_cases.json |
diff --git a/chrome/test/data/policy/policy_test_cases.json b/chrome/test/data/policy/policy_test_cases.json |
index 1897ddada4a9fe85455907724c4108dfcdb2721b..1fa55e8871732f8d8b3718f28ed494edffd35a93 100644 |
--- a/chrome/test/data/policy/policy_test_cases.json |
+++ b/chrome/test/data/policy/policy_test_cases.json |
@@ -687,10 +687,15 @@ |
"ShowHomeButton": { |
"os": ["win", "linux", "mac", "chromeos"], |
+ "can_be_recommended": true, |
"test_policy": { "ShowHomeButton": true }, |
"settings_pages": ["chrome://settings-frame"], |
"pref_mappings": [ |
- { "pref": "browser.show_home_button" } |
+ { "pref": "browser.show_home_button", |
+ "indicator_tests": [ |
+ { "policy": { "ShowHomeButton": true } } |
+ ] |
+ } |
] |
}, |
@@ -705,19 +710,34 @@ |
"RestoreOnStartup": { |
"os": ["win", "linux", "mac", "chromeos"], |
+ "can_be_recommended": true, |
"test_policy": { "RestoreOnStartup": 4 }, |
"settings_pages": ["chrome://settings-frame"], |
"pref_mappings": [ |
- { "pref": "session.restore_on_startup" } |
+ { "pref": "session.restore_on_startup", |
+ "indicator_tests": [ |
+ { "policy": { "RestoreOnStartup": 1 }, |
+ "value": "1"}, |
+ { "policy": { "RestoreOnStartup": 4 }, |
+ "value": "4"}, |
+ { "policy": { "RestoreOnStartup": 5 }, |
+ "value": "5"} |
+ ] |
+ } |
] |
}, |
"RestoreOnStartupURLs": { |
"os": ["win", "linux", "mac", "chromeos"], |
+ "can_be_recommended": true, |
"test_policy": { "RestoreOnStartupURLs": ["chromium.org"] }, |
"settings_pages": [], |
"pref_mappings": [ |
- { "pref": "session.urls_to_restore_on_startup" } |
+ { "pref": "session.urls_to_restore_on_startup", |
+ "indicator_tests": [ |
+ { "policy": { "RestoreOnStartupURLs": ["chromium.org"] } } |
+ ] |
+ } |
], |
"note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug.com/97749" |