summaryrefslogtreecommitdiffstats
path: root/net/socket/ssl_host_info.h
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-08 20:28:35 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-08 20:28:35 +0000
commit47c190b19c6aee03e7665d4a4e27a65f679fa005 (patch)
treedda079a5daecc2465dfac4473d98a1ca08669670 /net/socket/ssl_host_info.h
parentd700bfda9a1e4f407aecdf501923836184866736 (diff)
downloadchromium_src-47c190b19c6aee03e7665d4a4e27a65f679fa005.zip
chromium_src-47c190b19c6aee03e7665d4a4e27a65f679fa005.tar.gz
chromium_src-47c190b19c6aee03e7665d4a4e27a65f679fa005.tar.bz2
Miscellaneous cleanup: remove unnecessary forward
declarations and friend classes. Fix cpplint.py nits. Cancel() should do nothing if it has been called before. Remove all (rather than just the first) expired elements from the cache. R=agl BUG=none TEST=no compilation errors. Review URL: http://codereview.chromium.org/5611006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68623 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/ssl_host_info.h')
-rw-r--r--net/socket/ssl_host_info.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/socket/ssl_host_info.h b/net/socket/ssl_host_info.h
index 10b8cb6..7f05b5c 100644
--- a/net/socket/ssl_host_info.h
+++ b/net/socket/ssl_host_info.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef NET_SOCKET_SSL_HOST_INFO_H
-#define NET_SOCKET_SSL_HOST_INFO_H
+#ifndef NET_SOCKET_SSL_HOST_INFO_H_
+#define NET_SOCKET_SSL_HOST_INFO_H_
#include <string>
#include <vector>
@@ -85,9 +85,9 @@ class SSLHostInfo {
// WaitForCertVerification returns ERR_IO_PENDING if the certificate chain in
// |state().certs| is still being validated and arranges for the given
- // callback to be called when the verification completes. If the verification has
- // already finished then WaitForCertVerification returns the result of that
- // verification.
+ // callback to be called when the verification completes. If the verification
+ // has already finished then WaitForCertVerification returns the result of
+ // that verification.
int WaitForCertVerification(CompletionCallback* callback);
base::TimeTicks verification_start_time() const {
@@ -134,4 +134,4 @@ class SSLHostInfoFactory {
} // namespace net
-#endif // NET_SOCKET_SSL_HOST_INFO_H
+#endif // NET_SOCKET_SSL_HOST_INFO_H_