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

Unified Diff: net/ssl/server_bound_cert_store.h

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/ssl/server_bound_cert_store.h
diff --git a/net/ssl/server_bound_cert_store.h b/net/ssl/server_bound_cert_store.h
index 0de0f3eebd86e2b7dd2b484ad1bdffb5082c3c48..31226410bde992a299f3eb58070264fbac2114f9 100644
--- a/net/ssl/server_bound_cert_store.h
+++ b/net/ssl/server_bound_cert_store.h
@@ -61,12 +61,11 @@ class NET_EXPORT ServerBoundCertStore
typedef std::list<ServerBoundCert> ServerBoundCertList;
- typedef base::Callback<void(
- int,
- const std::string&,
- base::Time,
- const std::string&,
- const std::string&)> GetCertCallback;
+ typedef base::Callback<void(int,
+ const std::string&,
+ base::Time,
+ const std::string&,
+ const std::string&)> GetCertCallback;
typedef base::Callback<void(const ServerBoundCertList&)> GetCertListCallback;
virtual ~ServerBoundCertStore() {}
@@ -77,20 +76,18 @@ class NET_EXPORT ServerBoundCertStore
// result cannot be returned synchronously, GetServerBoundCert will
// return ERR_IO_PENDING and the callback will be called with the result
// asynchronously.
- virtual int GetServerBoundCert(
- const std::string& server_identifier,
- base::Time* expiration_time,
- std::string* private_key_result,
- std::string* cert_result,
- const GetCertCallback& callback) = 0;
+ virtual int GetServerBoundCert(const std::string& server_identifier,
+ base::Time* expiration_time,
+ std::string* private_key_result,
+ std::string* cert_result,
+ const GetCertCallback& callback) = 0;
// Adds a server bound cert and the corresponding private key to the store.
- virtual void SetServerBoundCert(
- const std::string& server_identifier,
- base::Time creation_time,
- base::Time expiration_time,
- const std::string& private_key,
- const std::string& cert) = 0;
+ virtual void SetServerBoundCert(const std::string& server_identifier,
+ base::Time creation_time,
+ base::Time expiration_time,
+ const std::string& private_key,
+ const std::string& cert) = 0;
// Removes a server bound cert and the corresponding private key from the
// store.

Powered by Google App Engine
This is Rietveld 408576698