| Index: chrome/browser/supervised_user/supervised_user_service_unittest.cc
|
| diff --git a/chrome/browser/supervised_user/supervised_user_service_unittest.cc b/chrome/browser/supervised_user/supervised_user_service_unittest.cc
|
| index bc68d836c399d1ecf61b0b6d6cd4b9a048587eb8..684efa383abf86cf3930639e2906712c2e7c9717 100644
|
| --- a/chrome/browser/supervised_user/supervised_user_service_unittest.cc
|
| +++ b/chrome/browser/supervised_user/supervised_user_service_unittest.cc
|
| @@ -154,6 +154,13 @@ TEST_F(SupervisedUserServiceTest, GetManualExceptionsForHost) {
|
| supervised_user_service_->GetManualBehaviorForURL(kMooseURL));
|
| }
|
|
|
| +TEST_F(SupervisedUserServiceTest, ChangesIncludedSessionOnChangedSettings) {
|
| + supervised_user_service_->Init();
|
| + EXPECT_TRUE(supervised_user_service_->IncludesSyncSessionsType());
|
| + profile_->GetPrefs()->SetBoolean(prefs::kRecordHistory, false);
|
| + EXPECT_FALSE(supervised_user_service_->IncludesSyncSessionsType());
|
| +}
|
| +
|
| // Ensure that the CustodianProfileDownloaderService shuts down cleanly. If no
|
| // DCHECK is hit when the service is destroyed, this test passed.
|
| TEST_F(SupervisedUserServiceTest, ShutDownCustodianProfileDownloader) {
|
|
|