| Index: chrome/browser/ui/webui/options/sync_setup_handler_unittest.cc
|
| diff --git a/chrome/browser/ui/webui/options/sync_setup_handler_unittest.cc b/chrome/browser/ui/webui/options/sync_setup_handler_unittest.cc
|
| index f217fca3e52326a8ba2a752cde80d5d368a6fc51..3bd9856d56d711f9eefea6837454373eaf8a8698 100644
|
| --- a/chrome/browser/ui/webui/options/sync_setup_handler_unittest.cc
|
| +++ b/chrome/browser/ui/webui/options/sync_setup_handler_unittest.cc
|
| @@ -276,11 +276,8 @@ class SyncSetupHandlerTest : public testing::Test {
|
| mock_signin_ = static_cast<SigninManagerBase*>(
|
| SigninManagerFactory::GetForProfile(profile_.get()));
|
| std::string username = GetTestUser();
|
| - if (!username.empty()) {
|
| + if (!username.empty())
|
| mock_signin_->SetAuthenticatedUsername(username);
|
| - profile_->GetPrefs()->SetString(prefs::kGoogleServicesUsername,
|
| - username);
|
| - }
|
|
|
| mock_pss_ = static_cast<ProfileSyncServiceMock*>(
|
| ProfileSyncServiceFactory::GetInstance()->SetTestingFactoryAndUse(
|
|
|