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

Unified Diff: remoting/client/plugin/chromoting_instance.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 | « ppapi/tests/test_x509_certificate_private.cc ('k') | remoting/client/plugin/pepper_port_allocator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/chromoting_instance.cc
diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc
index aff8c10dadf500503dafde5468a319409120b78c..057c4a1efe39e4ea232e748bd7a71f710fb6268e 100644
--- a/remoting/client/plugin/chromoting_instance.cc
+++ b/remoting/client/plugin/chromoting_instance.cc
@@ -81,7 +81,7 @@ std::string ConnectionStateToString(protocol::ConnectionToHost::State state) {
return "FAILED";
}
NOTREACHED();
- return "";
+ return std::string();
}
// TODO(sergeyu): Ideally we should just pass ErrorCode to the webapp
@@ -115,7 +115,7 @@ std::string ConnectionErrorToString(protocol::ErrorCode error) {
return "NETWORK_FAILURE";
}
DLOG(FATAL) << "Unknown error code" << error;
- return "";
+ return std::string();
}
// This flag blocks LOGs to the UI if we're already in the middle of logging
« no previous file with comments | « ppapi/tests/test_x509_certificate_private.cc ('k') | remoting/client/plugin/pepper_port_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698