summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authorericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-03 23:39:05 +0000
committerericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-03 23:39:05 +0000
commit27161fb71d092296d5c779d708095ee7bbef981c (patch)
tree0da7dbee4a3a519459becf43d7ff2732136470e6 /net/base
parenteef576fd62fc6be5a23e276353f8cbae217d87ff (diff)
downloadchromium_src-27161fb71d092296d5c779d708095ee7bbef981c.zip
chromium_src-27161fb71d092296d5c779d708095ee7bbef981c.tar.gz
chromium_src-27161fb71d092296d5c779d708095ee7bbef981c.tar.bz2
More instrumentation.
Review URL: http://codereview.chromium.org/9064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4520 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r--net/base/client_socket.h5
-rw-r--r--net/base/ssl_client_socket.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/net/base/client_socket.h b/net/base/client_socket.h
index 97495dd..f2f39cd 100644
--- a/net/base/client_socket.h
+++ b/net/base/client_socket.h
@@ -43,6 +43,11 @@ class ClientSocket : public Socket {
// connection wasn't established or the connection is dead.
virtual bool IsConnected() const = 0;
+ // TODO(eroman): Temporary for 3772 bug investigation.
+ virtual bool IsSSL() const {
+ return false;
+ }
+
#if defined(OS_LINUX)
// Identical to posix system call getpeername().
// Needed by ssl_client_socket_nss.
diff --git a/net/base/ssl_client_socket.h b/net/base/ssl_client_socket.h
index dca5ef3..53412a5 100644
--- a/net/base/ssl_client_socket.h
+++ b/net/base/ssl_client_socket.h
@@ -22,6 +22,11 @@ class SSLClientSocket : public ClientSocket {
public:
// Gets the SSL connection information of the socket.
virtual void GetSSLInfo(SSLInfo* ssl_info) = 0;
+
+ // TODO(eroman): Temporary for 3772 bug investigation.
+ virtual bool IsSSL() const {
+ return true;
+ }
};
} // namespace net