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

Unified Diff: remoting/host/register_support_host_request_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 | « remoting/host/policy_hack/policy_watcher_unittest.cc ('k') | remoting/host/server_log_entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/register_support_host_request_unittest.cc
diff --git a/remoting/host/register_support_host_request_unittest.cc b/remoting/host/register_support_host_request_unittest.cc
index cd5da6e7bbaf35e87c40581a51ac76c51b58dcde..60803040f042eb02a903680a0c639cae6e5ee95f 100644
--- a/remoting/host/register_support_host_request_unittest.cc
+++ b/remoting/host/register_support_host_request_unittest.cc
@@ -99,9 +99,9 @@ TEST_F(RegisterSupportHostRequestTest, Send) {
scoped_ptr<XmlElement> stanza(sent_iq);
ASSERT_TRUE(stanza != NULL);
- EXPECT_EQ(stanza->Attr(buzz::QName("", "to")),
+ EXPECT_EQ(stanza->Attr(buzz::QName(std::string(), "to")),
std::string(kTestBotJid));
- EXPECT_EQ(stanza->Attr(buzz::QName("", "type")), "set");
+ EXPECT_EQ(stanza->Attr(buzz::QName(std::string(), "type")), "set");
EXPECT_EQ(QName(kChromotingXmlNamespace, "register-support-host"),
stanza->FirstElement()->Name());
@@ -131,9 +131,9 @@ TEST_F(RegisterSupportHostRequestTest, Send) {
base::TimeDelta::FromSeconds(300)));
scoped_ptr<XmlElement> response(new XmlElement(buzz::QN_IQ));
- response->AddAttr(QName("", "from"), kTestBotJid);
- response->AddAttr(QName("", "type"), "result");
- response->AddAttr(QName("", "id"), kStanzaId);
+ response->AddAttr(QName(std::string(), "from"), kTestBotJid);
+ response->AddAttr(QName(std::string(), "type"), "result");
+ response->AddAttr(QName(std::string(), "id"), kStanzaId);
XmlElement* result = new XmlElement(
QName(kChromotingXmlNamespace, "register-support-host-result"));
« no previous file with comments | « remoting/host/policy_hack/policy_watcher_unittest.cc ('k') | remoting/host/server_log_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698