| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <string> | 5 #include <string> |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/prefs/pref_service.h" | 10 #include "base/prefs/pref_service.h" |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 EXPECT_TRUE( | 282 EXPECT_TRUE( |
| 283 default_homepage_is_ntp_value->GetAsBoolean(&default_homepage_is_ntp)); | 283 default_homepage_is_ntp_value->GetAsBoolean(&default_homepage_is_ntp)); |
| 284 EXPECT_TRUE(default_homepage_is_ntp); | 284 EXPECT_TRUE(default_homepage_is_ntp); |
| 285 } | 285 } |
| 286 | 286 |
| 287 INSTANTIATE_TEST_CASE_P( | 287 INSTANTIATE_TEST_CASE_P( |
| 288 FirstRunMasterPrefsWithTrackedPreferencesInstance, | 288 FirstRunMasterPrefsWithTrackedPreferencesInstance, |
| 289 FirstRunMasterPrefsWithTrackedPreferences, | 289 FirstRunMasterPrefsWithTrackedPreferences, |
| 290 testing::Values( | 290 testing::Values( |
| 291 chrome_prefs::internals::kSettingsEnforcementGroupNoEnforcement, | 291 chrome_prefs::internals::kSettingsEnforcementGroupNoEnforcement, |
| 292 chrome_prefs::internals::kSettingsEnforcementGroupEnforceOnload, | |
| 293 chrome_prefs::internals::kSettingsEnforcementGroupEnforceAlways, | 292 chrome_prefs::internals::kSettingsEnforcementGroupEnforceAlways, |
| 294 chrome_prefs::internals:: | 293 chrome_prefs::internals:: |
| 295 kSettingsEnforcementGroupEnforceAlwaysWithExtensions, | 294 kSettingsEnforcementGroupEnforceAlwaysWithExtensions, |
| 296 chrome_prefs::internals:: | 295 chrome_prefs::internals:: |
| 297 kSettingsEnforcementGroupEnforceAlwaysWithExtensionsAndDSE)); | 296 kSettingsEnforcementGroupEnforceAlwaysWithExtensionsAndDSE)); |
| 298 | 297 |
| 299 #endif // !defined(OS_CHROMEOS) | 298 #endif // !defined(OS_CHROMEOS) |
| OLD | NEW |