summaryrefslogtreecommitdiffstats
path: root/net/socket
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-19 19:14:00 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-19 19:14:00 +0000
commit1e43b6816aee7f20d12ec61b69bc05fe1dc0d449 (patch)
tree798aff06960e2f6502b8295de360c7e645d10850 /net/socket
parentda35960ef9fc0bfb80a6ef6306287e6241770239 (diff)
downloadchromium_src-1e43b6816aee7f20d12ec61b69bc05fe1dc0d449.zip
chromium_src-1e43b6816aee7f20d12ec61b69bc05fe1dc0d449.tar.gz
chromium_src-1e43b6816aee7f20d12ec61b69bc05fe1dc0d449.tar.bz2
net: Fix more clang warnings about missing virtual and OVERRIDE annotations.
BUG=115047 R=willchan@chromium.org Review URL: https://chromiumcodereview.appspot.com/10825437 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152296 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket')
-rw-r--r--net/socket/client_socket_factory.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/socket/client_socket_factory.cc b/net/socket/client_socket_factory.cc
index b5b9ca6..f354317 100644
--- a/net/socket/client_socket_factory.cc
+++ b/net/socket/client_socket_factory.cc
@@ -64,11 +64,11 @@ class DefaultClientSocketFactory : public ClientSocketFactory,
CertDatabase::RemoveObserver(this);
}
- virtual void OnUserCertAdded(const X509Certificate* cert) {
+ virtual void OnUserCertAdded(const X509Certificate* cert) OVERRIDE {
ClearSSLSessionCache();
}
- virtual void OnCertTrustChanged(const X509Certificate* cert) {
+ virtual void OnCertTrustChanged(const X509Certificate* cert) OVERRIDE {
// Per wtc, we actually only need to flush when trust is reduced.
// Always flush now because OnCertTrustChanged does not tell us this.
// See comments in ClientSocketPoolManager::OnCertTrustChanged.
@@ -79,14 +79,14 @@ class DefaultClientSocketFactory : public ClientSocketFactory,
DatagramSocket::BindType bind_type,
const RandIntCallback& rand_int_cb,
NetLog* net_log,
- const NetLog::Source& source) {
+ const NetLog::Source& source) OVERRIDE {
return new UDPClientSocket(bind_type, rand_int_cb, net_log, source);
}
virtual StreamSocket* CreateTransportClientSocket(
const AddressList& addresses,
NetLog* net_log,
- const NetLog::Source& source) {
+ const NetLog::Source& source) OVERRIDE {
return new TCPClientSocket(addresses, net_log, source);
}
@@ -94,7 +94,7 @@ class DefaultClientSocketFactory : public ClientSocketFactory,
ClientSocketHandle* transport_socket,
const HostPortPair& host_and_port,
const SSLConfig& ssl_config,
- const SSLClientSocketContext& context) {
+ const SSLClientSocketContext& context) OVERRIDE {
// nss_thread_task_runner_ may be NULL if g_use_dedicated_nss_thread is
// false or if the dedicated NSS thread failed to start. If so, cause NSS
// functions to execute on the current task runner.
@@ -137,7 +137,7 @@ class DefaultClientSocketFactory : public ClientSocketFactory,
#endif
}
- void ClearSSLSessionCache() {
+ virtual void ClearSSLSessionCache() OVERRIDE {
SSLClientSocket::ClearSessionCache();
}