| Index: chrome/browser/sync/sync_setup_wizard_unittest.cc
|
| diff --git a/chrome/browser/sync/sync_setup_wizard_unittest.cc b/chrome/browser/sync/sync_setup_wizard_unittest.cc
|
| index 9611dc71ef1f3fb498045cc0e46f3706bfe2bd46..adb0fa5639702b84c751a91956d167b90edb7f94 100644
|
| --- a/chrome/browser/sync/sync_setup_wizard_unittest.cc
|
| +++ b/chrome/browser/sync/sync_setup_wizard_unittest.cc
|
| @@ -246,7 +246,7 @@ TEST_F(SyncSetupWizardTest, InitialStepLogin) {
|
| auth += std::string(kTestPassword) + "\",\"captcha\":\"";
|
| auth += std::string(kTestCaptcha) + "\",\"access_code\":\"";
|
| auth += std::string() + "\"}";
|
| - credentials.Append(new StringValue(auth));
|
| + credentials.Append(base::StringValue::New(auth));
|
|
|
| EXPECT_FALSE(wizard_->IsVisible());
|
| EXPECT_EQ(static_cast<SyncSetupFlow*>(NULL), flow_);
|
| @@ -327,7 +327,7 @@ TEST_F(SyncSetupWizardTest, ChooseDataTypesSetsPrefs) {
|
| "\"syncAutofill\":false,\"syncExtensions\":false,\"syncTypedUrls\":true,"
|
| "\"syncApps\":true,\"syncSessions\":false,\"usePassphrase\":false,"
|
| "\"encryptAllData\":false}";
|
| - data_type_choices_value.Append(new StringValue(data_type_choices));
|
| + data_type_choices_value.Append(base::StringValue::New(data_type_choices));
|
|
|
| // Simulate the user choosing data types; bookmarks, prefs, typed URLS, and
|
| // apps are on, the rest are off.
|
| @@ -358,7 +358,7 @@ TEST_F(SyncSetupWizardTest, EnterPassphraseRequired) {
|
| EXPECT_EQ(SyncSetupWizard::ENTER_PASSPHRASE, flow_->current_state_);
|
|
|
| ListValue value;
|
| - value.Append(new StringValue("{\"passphrase\":\"myPassphrase\","
|
| + value.Append(base::StringValue::New("{\"passphrase\":\"myPassphrase\","
|
| "\"mode\":\"gaia\"}"));
|
| handler_.HandlePassphraseEntry(&value);
|
| EXPECT_EQ("myPassphrase", service_->passphrase_);
|
|
|