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

Unified Diff: google_apis/gaia/google_service_auth_error.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
Index: google_apis/gaia/google_service_auth_error.cc
diff --git a/google_apis/gaia/google_service_auth_error.cc b/google_apis/gaia/google_service_auth_error.cc
index 8beeb4dbd1c6906f20014cce9fea0100a60e17bd..96fc063cb7eef0c4dae7f51824ea7dd98956969c 100644
--- a/google_apis/gaia/google_service_auth_error.cc
+++ b/google_apis/gaia/google_service_auth_error.cc
@@ -225,7 +225,7 @@ DictionaryValue* GoogleServiceAuthError::ToValue() const {
std::string GoogleServiceAuthError::ToString() const {
switch (state_) {
case NONE:
- return "";
+ return std::string();
case INVALID_GAIA_CREDENTIALS:
return "Invalid credentials.";
case USER_NOT_SIGNED_UP:
« no previous file with comments | « google_apis/gaia/gaia_auth_fetcher_unittest.cc ('k') | google_apis/gaia/google_service_auth_error_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698