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

Unified Diff: net/socket/ssl_client_socket.cc

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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: net/socket/ssl_client_socket.cc
diff --git a/net/socket/ssl_client_socket.cc b/net/socket/ssl_client_socket.cc
index 588ded4ca2ce76c33afab5b67200e9d793f8ff90..caf12f929c081f7e6d4cea6d3b1faf774e827516 100644
--- a/net/socket/ssl_client_socket.cc
+++ b/net/socket/ssl_client_socket.cc
@@ -86,7 +86,7 @@ std::string SSLClientSocket::ServerProtosToString(
const char* protos = server_protos.c_str();
size_t protos_len = server_protos.length();
std::vector<std::string> server_protos_with_commas;
- for (size_t i = 0; i < protos_len; ) {
+ for (size_t i = 0; i < protos_len;) {
const size_t len = protos[i];
std::string proto_str(&protos[i + 1], len);
server_protos_with_commas.push_back(proto_str);
@@ -184,8 +184,8 @@ void SSLClientSocket::RecordChannelIDSupport(
else
supported = CLIENT_ONLY;
}
- UMA_HISTOGRAM_ENUMERATION("DomainBoundCerts.Support", supported,
- DOMAIN_BOUND_CERT_USAGE_MAX);
+ UMA_HISTOGRAM_ENUMERATION(
+ "DomainBoundCerts.Support", supported, DOMAIN_BOUND_CERT_USAGE_MAX);
}
// static

Powered by Google App Engine
This is Rietveld 408576698