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

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

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ugh Created 7 years, 8 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
« no previous file with comments | « chrome/common/extensions/extension_set.cc ('k') | chrome/common/extensions/extension_sync_type_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_set_unittest.cc
diff --git a/chrome/common/extensions/extension_set_unittest.cc b/chrome/common/extensions/extension_set_unittest.cc
index 1703966cfc8c9f324e803b741241ee26db4d6225..c27b0a9cd8e7f478fc4aeed0fe040e088ed00463 100644
--- a/chrome/common/extensions/extension_set_unittest.cc
+++ b/chrome/common/extensions/extension_set_unittest.cc
@@ -59,7 +59,8 @@ TEST(ExtensionSetTest, ExtensionSet) {
scoped_refptr<Extension> ext3(CreateTestExtension(
"b", "http://dev.chromium.org/", "http://dev.chromium.org/"));
- scoped_refptr<Extension> ext4(CreateTestExtension("c", "", ""));
+ scoped_refptr<Extension> ext4(
+ CreateTestExtension("c", std::string(), std::string()));
ASSERT_TRUE(ext1 && ext2 && ext3 && ext4);
@@ -118,8 +119,10 @@ TEST(ExtensionSetTest, ExtensionSet) {
EXPECT_FALSE(extensions.GetByID(ext2->id()));
// Make a union of a set with 3 more extensions (only 2 are new).
- scoped_refptr<Extension> ext5(CreateTestExtension("d", "", ""));
- scoped_refptr<Extension> ext6(CreateTestExtension("e", "", ""));
+ scoped_refptr<Extension> ext5(
+ CreateTestExtension("d", std::string(), std::string()));
+ scoped_refptr<Extension> ext6(
+ CreateTestExtension("e", std::string(), std::string()));
ASSERT_TRUE(ext5 && ext6);
scoped_ptr<ExtensionSet> to_add(new ExtensionSet());
« no previous file with comments | « chrome/common/extensions/extension_set.cc ('k') | chrome/common/extensions/extension_sync_type_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698