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

Unified Diff: chrome/common/extensions/extension_set_unittest.cc

Issue 12207167: Cleanup: Remove deprecated base::Value methods from chrome/common. Use base::Value too. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 10 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/common/extensions/extension_set_unittest.cc
===================================================================
--- chrome/common/extensions/extension_set_unittest.cc (revision 182296)
+++ chrome/common/extensions/extension_set_unittest.cc (working copy)
@@ -25,7 +25,7 @@
#endif
path = path.AppendASCII(name);
- DictionaryValue manifest;
+ base::DictionaryValue manifest;
manifest.SetString("name", name);
manifest.SetString("version", "1");
@@ -33,9 +33,9 @@
manifest.SetString("app.launch.web_url", launch_url);
if (!extent.empty()) {
- ListValue* urls = new ListValue();
+ base::ListValue* urls = new base::ListValue();
manifest.Set("app.urls", urls);
- urls->Append(Value::CreateStringValue(extent));
+ urls->Append(new base::StringValue(extent));
}
std::string error;
@@ -46,7 +46,7 @@
return extension;
}
-} // namespace
+} // namespace
TEST(ExtensionSetTest, ExtensionSet) {
scoped_refptr<Extension> ext1(CreateTestExtension(

Powered by Google App Engine
This is Rietveld 408576698