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

Side by Side Diff: net/cert/cert_database.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/cert/cert_database.h" 5 #include "net/cert/cert_database.h"
6 6
7 #include "base/memory/singleton.h" 7 #include "base/memory/singleton.h"
8 #include "base/observer_list_threadsafe.h" 8 #include "base/observer_list_threadsafe.h"
9 9
10 namespace net { 10 namespace net {
(...skipping 14 matching lines...) Expand all
25 } 25 }
26 26
27 void CertDatabase::NotifyObserversOfCertAdded(const X509Certificate* cert) { 27 void CertDatabase::NotifyObserversOfCertAdded(const X509Certificate* cert) {
28 observer_list_->Notify(&Observer::OnCertAdded, make_scoped_refptr(cert)); 28 observer_list_->Notify(&Observer::OnCertAdded, make_scoped_refptr(cert));
29 } 29 }
30 30
31 void CertDatabase::NotifyObserversOfCertRemoved(const X509Certificate* cert) { 31 void CertDatabase::NotifyObserversOfCertRemoved(const X509Certificate* cert) {
32 observer_list_->Notify(&Observer::OnCertRemoved, make_scoped_refptr(cert)); 32 observer_list_->Notify(&Observer::OnCertRemoved, make_scoped_refptr(cert));
33 } 33 }
34 34
35 void CertDatabase::NotifyObserversOfCACertChanged( 35 void CertDatabase::NotifyObserversOfCACertChanged(const X509Certificate* cert) {
36 const X509Certificate* cert) { 36 observer_list_->Notify(&Observer::OnCACertChanged, make_scoped_refptr(cert));
37 observer_list_->Notify(
38 &Observer::OnCACertChanged, make_scoped_refptr(cert));
39 } 37 }
40 38
41 } // namespace net 39 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698