| Index: chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
|
| diff --git a/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc b/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
|
| index 5f1c55e7c9dd49c1a58df9deefe29f2c63f031d8..a18d19d2a600ce5e9a7d5f02bd83ae4ef8367682 100644
|
| --- a/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
|
| +++ b/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
|
| @@ -552,9 +552,9 @@ TEST_F(CloudPrintProxyPolicyStartupTest, StartBrowserWithoutPolicy) {
|
| SetTestingFactory(profile, CloudPrintProxyServiceFactoryForPolicyTest);
|
|
|
| TestingPrefServiceSyncable* prefs = profile->GetTestingPrefService();
|
| - prefs->SetUserPref(prefs::kCloudPrintEmail,
|
| - base::Value::CreateStringValue(
|
| - MockServiceIPCServer::EnabledUserId()));
|
| + prefs->SetUserPref(
|
| + prefs::kCloudPrintEmail,
|
| + new base::StringValue(MockServiceIPCServer::EnabledUserId()));
|
|
|
| CommandLine command_line(CommandLine::NO_PROGRAM);
|
| command_line.AppendSwitch(switches::kCheckCloudPrintConnectorPolicy);
|
| @@ -600,9 +600,9 @@ TEST_F(CloudPrintProxyPolicyStartupTest, StartBrowserWithPolicy) {
|
| SetTestingFactory(profile, CloudPrintProxyServiceFactoryForPolicyTest);
|
|
|
| TestingPrefServiceSyncable* prefs = profile->GetTestingPrefService();
|
| - prefs->SetUserPref(prefs::kCloudPrintEmail,
|
| - base::Value::CreateStringValue(
|
| - MockServiceIPCServer::EnabledUserId()));
|
| + prefs->SetUserPref(
|
| + prefs::kCloudPrintEmail,
|
| + new base::StringValue(MockServiceIPCServer::EnabledUserId()));
|
| prefs->SetManagedPref(prefs::kCloudPrintProxyEnabled,
|
| base::Value::CreateBooleanValue(false));
|
|
|
|
|