summaryrefslogtreecommitdiffstats
path: root/net/ocsp
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/ocsp
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/ocsp')
-rw-r--r--net/ocsp/nss_ocsp.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/ocsp/nss_ocsp.cc b/net/ocsp/nss_ocsp.cc
index fca6c3d..273e341 100644
--- a/net/ocsp/nss_ocsp.cc
+++ b/net/ocsp/nss_ocsp.cc
@@ -254,7 +254,7 @@ class OCSPRequestSession
virtual void OnReceivedRedirect(net::URLRequest* request,
const GURL& new_url,
- bool* defer_redirect) {
+ bool* defer_redirect) OVERRIDE {
DCHECK_EQ(request, request_);
DCHECK_EQ(MessageLoopForIO::current(), io_loop_);
@@ -265,7 +265,7 @@ class OCSPRequestSession
}
}
- virtual void OnResponseStarted(net::URLRequest* request) {
+ virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE {
DCHECK_EQ(request, request_);
DCHECK_EQ(MessageLoopForIO::current(), io_loop_);
@@ -279,7 +279,8 @@ class OCSPRequestSession
OnReadCompleted(request_, bytes_read);
}
- virtual void OnReadCompleted(net::URLRequest* request, int bytes_read) {
+ virtual void OnReadCompleted(net::URLRequest* request,
+ int bytes_read) OVERRIDE {
DCHECK_EQ(request, request_);
DCHECK_EQ(MessageLoopForIO::current(), io_loop_);