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

Unified Diff: net/cert/nss_profile_filter_chromeos.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/cert/nss_profile_filter_chromeos.cc
diff --git a/net/cert/nss_profile_filter_chromeos.cc b/net/cert/nss_profile_filter_chromeos.cc
index e555750b89c7bd62058dd008577f1bf9c6250655..fb2926c9ae1248460b11f8f51c5960af2a51a04a 100644
--- a/net/cert/nss_profile_filter_chromeos.cc
+++ b/net/cert/nss_profile_filter_chromeos.cc
@@ -33,28 +33,28 @@ std::string CertSlotsString(CERTCertificate* cert) {
} // namespace
-NSSProfileFilterChromeOS::NSSProfileFilterChromeOS() {}
+NSSProfileFilterChromeOS::NSSProfileFilterChromeOS() {
+}
NSSProfileFilterChromeOS::NSSProfileFilterChromeOS(
const NSSProfileFilterChromeOS& other) {
- public_slot_.reset(other.public_slot_ ?
- PK11_ReferenceSlot(other.public_slot_.get()) :
- NULL);
- private_slot_.reset(other.private_slot_ ?
- PK11_ReferenceSlot(other.private_slot_.get()) :
- NULL);
+ public_slot_.reset(
+ other.public_slot_ ? PK11_ReferenceSlot(other.public_slot_.get()) : NULL);
+ private_slot_.reset(other.private_slot_
+ ? PK11_ReferenceSlot(other.private_slot_.get())
+ : NULL);
}
-NSSProfileFilterChromeOS::~NSSProfileFilterChromeOS() {}
+NSSProfileFilterChromeOS::~NSSProfileFilterChromeOS() {
+}
NSSProfileFilterChromeOS& NSSProfileFilterChromeOS::operator=(
const NSSProfileFilterChromeOS& other) {
- public_slot_.reset(other.public_slot_ ?
- PK11_ReferenceSlot(other.public_slot_.get()) :
- NULL);
- private_slot_.reset(other.private_slot_ ?
- PK11_ReferenceSlot(other.private_slot_.get()) :
- NULL);
+ public_slot_.reset(
+ other.public_slot_ ? PK11_ReferenceSlot(other.public_slot_.get()) : NULL);
+ private_slot_.reset(other.private_slot_
+ ? PK11_ReferenceSlot(other.private_slot_.get())
+ : NULL);
return *this;
}
@@ -121,7 +121,8 @@ bool NSSProfileFilterChromeOS::IsCertAllowed(CERTCertificate* cert) const {
NSSProfileFilterChromeOS::CertNotAllowedForProfilePredicate::
CertNotAllowedForProfilePredicate(const NSSProfileFilterChromeOS& filter)
- : filter_(filter) {}
+ : filter_(filter) {
+}
bool NSSProfileFilterChromeOS::CertNotAllowedForProfilePredicate::operator()(
const scoped_refptr<X509Certificate>& cert) const {
@@ -130,7 +131,8 @@ bool NSSProfileFilterChromeOS::CertNotAllowedForProfilePredicate::operator()(
NSSProfileFilterChromeOS::ModuleNotAllowedForProfilePredicate::
ModuleNotAllowedForProfilePredicate(const NSSProfileFilterChromeOS& filter)
- : filter_(filter) {}
+ : filter_(filter) {
+}
bool NSSProfileFilterChromeOS::ModuleNotAllowedForProfilePredicate::operator()(
const scoped_refptr<CryptoModule>& module) const {
@@ -138,4 +140,3 @@ bool NSSProfileFilterChromeOS::ModuleNotAllowedForProfilePredicate::operator()(
}
} // namespace net
-

Powered by Google App Engine
This is Rietveld 408576698