Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3518)

Unified Diff: chrome/browser/extensions/extension_special_storage_policy_unittest.cc

Issue 7649006: more changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another typo Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_special_storage_policy_unittest.cc
diff --git a/chrome/browser/extensions/extension_special_storage_policy_unittest.cc b/chrome/browser/extensions/extension_special_storage_policy_unittest.cc
index cbaf6edaf8c4f59688e3aacf73ee0937f8f3690b..9fa6e7e1fde0397abf7824685eff082f13c9f7c1 100644
--- a/chrome/browser/extensions/extension_special_storage_policy_unittest.cc
+++ b/chrome/browser/extensions/extension_special_storage_policy_unittest.cc
@@ -23,8 +23,8 @@ class ExtensionSpecialStoragePolicyTest : public testing::Test {
manifest.SetString(keys::kVersion, "1");
manifest.SetString(keys::kLaunchWebURL, "http://explicit/protected/start");
ListValue* list = new ListValue();
- list->Append(Value::CreateStringValue("http://explicit/protected"));
- list->Append(Value::CreateStringValue("*://*.wildcards/protected"));
+ list->Append(base::StringValue::New("http://explicit/protected"));
+ list->Append(base::StringValue::New("*://*.wildcards/protected"));
manifest.Set(keys::kWebURLs, list);
std::string error;
scoped_refptr<Extension> protected_app = Extension::Create(
@@ -45,11 +45,11 @@ class ExtensionSpecialStoragePolicyTest : public testing::Test {
manifest.SetString(keys::kVersion, "1");
manifest.SetString(keys::kLaunchWebURL, "http://explicit/unlimited/start");
ListValue* list = new ListValue();
- list->Append(Value::CreateStringValue("unlimitedStorage"));
+ list->Append(base::StringValue::New("unlimitedStorage"));
manifest.Set(keys::kPermissions, list);
list = new ListValue();
- list->Append(Value::CreateStringValue("http://explicit/unlimited"));
- list->Append(Value::CreateStringValue("*://*.wildcards/unlimited"));
+ list->Append(base::StringValue::New("http://explicit/unlimited"));
+ list->Append(base::StringValue::New("*://*.wildcards/unlimited"));
manifest.Set(keys::kWebURLs, list);
std::string error;
scoped_refptr<Extension> unlimited_app = Extension::Create(
@@ -74,9 +74,9 @@ class ExtensionSpecialStoragePolicyTest : public testing::Test {
"7HJASXV8hm0tab5I70oJmRLfFJyVAMCeWlFaOGq05v2i6EbifZM0qO5xALKNGQt+yjXi" \
"5INM5wIBIw==");
ListValue* list = new ListValue();
- list->Append(Value::CreateStringValue("unlimitedStorage"));
- list->Append(Value::CreateStringValue("fileSystem"));
- list->Append(Value::CreateStringValue("fileBrowserPrivate"));
+ list->Append(base::StringValue::New("unlimitedStorage"));
+ list->Append(base::StringValue::New("fileSystem"));
+ list->Append(base::StringValue::New("fileBrowserPrivate"));
manifest.Set(keys::kPermissions, list);
std::string error;
scoped_refptr<Extension> component_app = Extension::Create(
@@ -101,8 +101,8 @@ class ExtensionSpecialStoragePolicyTest : public testing::Test {
"jsjuBfdEL5a5cWeRTSxf75AcqndQsmpwMBdrMTCZ8jQNusUI+XlrihLNNJuI5TM4vNIN" \
"I5bYFQIBIw==");
ListValue* list = new ListValue();
- list->Append(Value::CreateStringValue("unlimitedStorage"));
- list->Append(Value::CreateStringValue("fileSystem"));
+ list->Append(base::StringValue::New("unlimitedStorage"));
+ list->Append(base::StringValue::New("fileSystem"));
manifest.Set(keys::kPermissions, list);
std::string error;
scoped_refptr<Extension> handler_app = Extension::Create(
« no previous file with comments | « chrome/browser/extensions/extension_sidebar_api.cc ('k') | chrome/browser/extensions/extension_tabs_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698