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

Unified Diff: net/ssl/server_bound_cert_service.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 | « net/spdy/spdy_write_queue_unittest.cc ('k') | net/test/base_test_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/server_bound_cert_service.cc
diff --git a/net/ssl/server_bound_cert_service.cc b/net/ssl/server_bound_cert_service.cc
index bed97cfd8bf4d2e7f4115cdc60f7fbfb291ea62c..3a50ed6cb54022f4bb41c5a556eebe4640109b1a 100644
--- a/net/ssl/server_bound_cert_service.cc
+++ b/net/ssl/server_bound_cert_service.cc
@@ -579,8 +579,11 @@ void ServerBoundCertService::GotServerBoundCert(
delete worker;
// TODO(rkn): Log to the NetLog.
LOG(ERROR) << "ServerBoundCertServiceWorker couldn't be started.";
- HandleResult(ERR_INSUFFICIENT_RESOURCES, server_identifier,
- CLIENT_CERT_INVALID_TYPE, "", "");
+ HandleResult(ERR_INSUFFICIENT_RESOURCES,
+ server_identifier,
+ CLIENT_CERT_INVALID_TYPE,
+ std::string(),
+ std::string());
return;
}
}
@@ -610,7 +613,11 @@ void ServerBoundCertService::GeneratedServerBoundCert(
HandleResult(error, server_identifier, cert->type(), cert->private_key(),
cert->cert());
} else {
- HandleResult(error, server_identifier, CLIENT_CERT_INVALID_TYPE, "", "");
+ HandleResult(error,
+ server_identifier,
+ CLIENT_CERT_INVALID_TYPE,
+ std::string(),
+ std::string());
}
}
« no previous file with comments | « net/spdy/spdy_write_queue_unittest.cc ('k') | net/test/base_test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698