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

Unified Diff: chrome/common/extensions/extension_sync_type_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_unittest.cc ('k') | chrome/common/extensions/extension_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_sync_type_unittest.cc
diff --git a/chrome/common/extensions/extension_sync_type_unittest.cc b/chrome/common/extensions/extension_sync_type_unittest.cc
index 3256c8d88f085bf38825ae379416ecfcc48dd86c..b25e197f651e0fcdc90a4d4aeed4d5fae0906858 100644
--- a/chrome/common/extensions/extension_sync_type_unittest.cc
+++ b/chrome/common/extensions/extension_sync_type_unittest.cc
@@ -56,7 +56,7 @@ class ExtensionSyncTypeTest : public ExtensionTest {
ListValue* plugins = new ListValue();
for (int i = 0; i < num_plugins; ++i) {
DictionaryValue* plugin = new DictionaryValue();
- plugin->SetString(keys::kPluginsPath, "");
+ plugin->SetString(keys::kPluginsPath, std::string());
plugins->Set(i, plugin);
}
source.Set(keys::kPlugins, plugins);
@@ -158,7 +158,7 @@ TEST_F(ExtensionSyncTypeTest, DisplayInXManifestProperties) {
manifest.SetString(keys::kName, "TestComponentApp");
manifest.SetString(keys::kVersion, "0.0.0.0");
manifest.SetString(keys::kApp, "true");
- manifest.SetString(keys::kPlatformAppBackgroundPage, "");
+ manifest.SetString(keys::kPlatformAppBackgroundPage, std::string());
std::string error;
scoped_refptr<Extension> app;
« no previous file with comments | « chrome/common/extensions/extension_set_unittest.cc ('k') | chrome/common/extensions/extension_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698