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

Unified Diff: remoting/host/host_change_notification_listener_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/heartbeat_sender_unittest.cc ('k') | remoting/host/host_port_allocator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_change_notification_listener_unittest.cc
diff --git a/remoting/host/host_change_notification_listener_unittest.cc b/remoting/host/host_change_notification_listener_unittest.cc
index 1f9305eb2c917a9133d48a19e0282e2b2a256225..5ec6ff8a40e46d6629bcd4ea6167a5d0973e30e1 100644
--- a/remoting/host/host_change_notification_listener_unittest.cc
+++ b/remoting/host/host_change_notification_listener_unittest.cc
@@ -69,9 +69,9 @@ class HostChangeNotificationListenerTest : public testing::Test {
std::string hostId,
std::string botJid) {
scoped_ptr<XmlElement> stanza(new XmlElement(buzz::QN_IQ));
- stanza->AddAttr(QName("", "type"), "set");
- XmlElement* host_changed = new XmlElement(
- QName(kChromotingXmlNamespace, "host-changed"));
+ stanza->AddAttr(QName(std::string(), "type"), "set");
+ XmlElement* host_changed =
+ new XmlElement(QName(kChromotingXmlNamespace, "host-changed"));
host_changed->AddAttr(QName(kChromotingXmlNamespace, "operation"),
operation);
host_changed->AddAttr(QName(kChromotingXmlNamespace, "hostid"), hostId);
« no previous file with comments | « remoting/host/heartbeat_sender_unittest.cc ('k') | remoting/host/host_port_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698