summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-23 21:03:42 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-23 21:03:42 +0000
commitbd0b74374adf2bdcc7edf528e54b9ee96e2bcf35 (patch)
treeec0c0a5ee11c27a29f8a2a743f869fc75d988909 /net/base
parent4b59ae60479a8766e4d0d8a9a8ddd9e32aa84e41 (diff)
downloadchromium_src-bd0b74374adf2bdcc7edf528e54b9ee96e2bcf35.zip
chromium_src-bd0b74374adf2bdcc7edf528e54b9ee96e2bcf35.tar.gz
chromium_src-bd0b74374adf2bdcc7edf528e54b9ee96e2bcf35.tar.bz2
Following the style guide, replace the overloaded operator==
with the Equals method. R=eroman BUG=http://crbug.com/318 TEST=none Review URL: http://codereview.chromium.org/146040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19056 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r--net/base/x509_certificate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/base/x509_certificate.h b/net/base/x509_certificate.h
index b50a406..5956826 100644
--- a/net/base/x509_certificate.h
+++ b/net/base/x509_certificate.h
@@ -38,7 +38,7 @@ class X509Certificate : public base::RefCountedThreadSafe<X509Certificate> {
public:
// SHA-1 fingerprint (160 bits) of a certificate.
struct Fingerprint {
- bool operator==(const Fingerprint& other) const {
+ bool Equals(const Fingerprint& other) const {
return memcmp(data, other.data, sizeof(data)) == 0;
}